Hello ! Great that you managed to answer your prior questions. Did you see this little doc: https://docs.fd.io/vpp/16.12/lb_plugin_doc.html (Not very thorough, but it should help).
LB does not require specific NIC. The fact that the lb plugin is loaded does not interfere with the NICs. You should look at DPDK's configuration in startup.conf file (uncomment and fill the dpdk section). Also make sure that the DPDK plugin is loaded (I wild guess based on your previous question might be that you moved the lb plugin into a different folder, and the dpdk plugin is not loaded by VPP). "lb conf <ip4-src-address>" is required to tell VPP which IPv4 source address to use when sending tunnelled packets. Since there is no return traffic with Maglev, this address does not need to be one of VPP's addresses. But it should be properly routable toward VPP to not cause drops due to ingress-filtering. Cheers, - Pierre Le 19 oct. 2017 à 04:34, John Wei <johnt...@gmail.com<mailto:johnt...@gmail.com>> a écrit : Hi Pierre, Sorry for the spam, I made further progress and don't want to waste your time answering questions that I already found answer. - Once I got lb pluging loaded properly, I was able to configure it using vppctl Remaining questions: - why I am got just "local0" device from "vppctl show int"? Does VPP LB require special NIC? How about DPDK? - Do I need to set "vppctl lb conf <ip4-src-address>"? Should that be the IP of the host where VPP LB is run? John On Wed, Oct 18, 2017 at 6:08 PM, John Wei <johnt...@gmail.com<mailto:johnt...@gmail.com>> wrote: Hi Pierre, I made further progress. I did the "rpm -i vpp-plugins-17.07.01-release.x86_64.rpm", and got plugin installed. I updated the /etc/vpp/startup.conf file, and how I can see plugins using "vppctl show plugins". My questions remains are: - how to configure lb and what is the syntax - instead of load all the plugins in /usr/lib/vpp_plugins/, how to configure and load just one plugin? John On Wed, Oct 18, 2017 at 5:35 PM, John Wei <johnt...@gmail.com<mailto:johnt...@gmail.com>> wrote: Hi Pierre, I was using "yum install vpp and vpp-lib" and there was no plugins. Now I build the whole vpp source, including plugins, and added plugin_path /<home_dir>/vpp/extras/rpm/vpp-17.07.01/build-root/build-vpp-native/vpp/plugins to /etc/vpp/startup.conf file. Then restarted vpp.service. Now - how to do know that VPP lb plugin is loaded - I still cant find the "lb" command. I guess it is really not a command. But, where I need to add these "lb" configuration and what is the syntax? - In the monitoring section, it mentioned "show lb, show lv vips, .." Are they subcommands for vppctl? I tried and it does not work. John On Tue, Oct 3, 2017 at 11:19 PM, Pierre Pfister (ppfister) <ppfis...@cisco.com<mailto:ppfis...@cisco.com>> wrote: Do you start VPP with the 'make run' command ? It looks like the way you start VPP, it doesn't specify the righ plugins directory. I'd suggest your try with adding "plugin_path </path/to/plugin/directory>" to VPP's command-line arguments. - Pierre Le 3 oct. 2017 à 20:40, John Wei <johnt...@gmail.com<mailto:johnt...@gmail.com>> a écrit : Pierre, Thanks for the response. I follow instructions to install VPP: https://wiki.fd.io/view/VPP/Installing_VPP_binaries_from_packages That gives me vpp utility. There is no lb command. I did a build of vpp by follow the instructions below to build vpp on linux https://wiki.fd.io/view/VPP/Pulling,_Building,_Running,_Hacking_and_Pushing_VPP_Code#Linux I found "lb" in the plugins directory. But, how to bring up vpp with lb plugin? I hoping to see some instructions that I can follow to try this VPP lb. John On Sun, Oct 1, 2017 at 11:55 PM, Pierre Pfister (ppfister) <ppfis...@cisco.com<mailto:ppfis...@cisco.com>> wrote: Hello John, The LB plugin comes with VPP by default (no need for additional download, sources are in src/plugins/lb). As far as instructions are concerned, I am afraid the link you pointed to is all there is for now. But please ask if you feel like something in particular is missing. - Pierre Le 30 sept. 2017 à 00:07, John Wei <johnt...@gmail.com<mailto:johnt...@gmail.com>> a écrit : I saw a VPP Load Balancer mentioned in this document: https://docs.fd.io/vpp/17.07/lb_plugin_doc.html But, I did not see installation information. Can someone point me to where I can get download and setup instructions? Thanks John _______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> https://lists.fd.io/mailman/listinfo/vpp-dev
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev