[vpp-dev] tap-inject - router plugin and vlans
Hi I need to route vlans using the router plugin and tap-inject. somebody know if this is supported ? When I assign ip address in the quagga sample, I can’t see the IP in vpp if I use vlans. And the traffic is not going anywhere. Any idea how to use vlans and tap-inject ? Thanks -- Demian Pecile Siete Capas S.R.L. Periodistas Neuquinos 136 Piso 4 - Dpto. A - 8300 Neuquen Argentina Tel +54-299-4479172 Cel. +549-299-5833500
Re: [vpp-dev] router_plugin
I was able to solve copying the libs to linux lib folder. But not working fine yet, unable to route traffic (when load tap-inject, traffic stop passing), and now only see cpp0, cpp1, and vpp2 for local0. Deleteing all the folders and compiling again. Thanks Demian > El 17 may. 2018, a las 10:45, Wang <imflin...@gmail.com> escribió: > > I will take a look at it. Thanks > > 2018-05-17 0:12 GMT-04:00 Demian Pecile <dpec...@sietecapas.com.ar > <mailto:dpec...@sietecapas.com.ar>>: > Hi Wang trying last version. > I have cannot find -lrtnl error. > > Any idea ? > > its working with last versions ? > > Arch for platform 'vpp' is native > Finding source for router > Makefile fragment found in /vpp/build-data/packages/router.mk > <http://router.mk/> > Source found in /vpp/router > Configuring router: nothing to do > Building router in /vpp/build-root/build-vpp-native/router > make[1]: Entering directory '/vpp/build-root/build-vpp-native/router' > CC router/tap_inject_netlink.lo > CCLD router.la <http://router.la/> > /usr/bin/ld: cannot find -lrtnl > collect2: error: ld returned 1 exit status > Makefile:444: recipe for target 'router.la <http://router.la/>' failed > make[1]: *** [router.la <http://router.la/>] Error 1 > make[1]: Leaving directory '/vpp/build-root/build-vpp-native/router' > Makefile:691: recipe for target 'router-build' failed > make: *** [router-build] Error 2 > > > >> El 4 mar. 2018, a las 23:38, Wang <imflin...@gmail.com >> <mailto:imflin...@gmail.com>> escribió: >> >> HI Gulakh, >> >> From my experience, VPP and VPPSB are compatible with the latest versions. >> What sequence of command lines did you use? >> >> 2018-03-04 4:58 GMT-05:00 Gulakh <holoogul...@gmail.com >> <mailto:holoogul...@gmail.com>>: >> Hi, >> I am using vppsb router plugin with vpp. there is a problem when I use >> tap-inject. >> The problem is that after I enable tap-inject and set interfaces' and taps' >> IP address, I want to make taps' state up but at this point vpp crashes and >> everything rolls back to its first state (No tap, No IP address, ...) >> >> Q1) What is the problem?? >> >> Q2) I have heard that VPP and VPPSB are not compatible in some versions ... >> To which versions Should checkout both source code so that they can work >> correctly?? >> >> Thanks in advance >> >> >> >> > > -- > Demian Pecile > Siete Capas S.R.L. > Periodistas Neuquinos 136 > <https://maps.google.com/?q=Periodistas+Neuquinos+136=gmail=g> > Piso 4 - Dpto. A - 8300 Neuquen > Argentina > Tel +54-299-4479172 > Cel. +549-299-5833500 > > > -- Demian Pecile Siete Capas S.R.L. Periodistas Neuquinos 136 Piso 4 - Dpto. A - 8300 Neuquen Argentina Tel +54-299-4479172 Cel. +549-299-5833500
Re: [vpp-dev] router_plugin
Hi Wang trying last version. I have cannot find -lrtnl error. Any idea ? its working with last versions ? Arch for platform 'vpp' is native Finding source for router Makefile fragment found in /vpp/build-data/packages/router.mk Source found in /vpp/router Configuring router: nothing to do Building router in /vpp/build-root/build-vpp-native/router make[1]: Entering directory '/vpp/build-root/build-vpp-native/router' CC router/tap_inject_netlink.lo CCLD router.la /usr/bin/ld: cannot find -lrtnl collect2: error: ld returned 1 exit status Makefile:444: recipe for target 'router.la' failed make[1]: *** [router.la] Error 1 make[1]: Leaving directory '/vpp/build-root/build-vpp-native/router' Makefile:691: recipe for target 'router-build' failed make: *** [router-build] Error 2 > El 4 mar. 2018, a las 23:38, Wang <imflin...@gmail.com> escribió: > > HI Gulakh, > > From my experience, VPP and VPPSB are compatible with the latest versions. > What sequence of command lines did you use? > > 2018-03-04 4:58 GMT-05:00 Gulakh <holoogul...@gmail.com > <mailto:holoogul...@gmail.com>>: > Hi, > I am using vppsb router plugin with vpp. there is a problem when I use > tap-inject. > The problem is that after I enable tap-inject and set interfaces' and taps' > IP address, I want to make taps' state up but at this point vpp crashes and > everything rolls back to its first state (No tap, No IP address, ...) > > Q1) What is the problem?? > > Q2) I have heard that VPP and VPPSB are not compatible in some versions ... > To which versions Should checkout both source code so that they can work > correctly?? > > Thanks in advance > > > > > -- Demian Pecile Siete Capas S.R.L. Periodistas Neuquinos 136 Piso 4 - Dpto. A - 8300 Neuquen Argentina Tel +54-299-4479172 Cel. +549-299-5833500
[vpp-dev] tap-inject for BGP Kill traffic
Hi I am running VPP jut to route traffic between vlans, no routing protocol involved. I compiled the tap-inject plugin. When I enable the plugin, I see I receive packets, but no packets go out. RX packets go up, nut no TX packets. So 2 questions, is this behavior normal ? Its possible to restrict tap0inject just to 1 interface ? Thanks -- Demian Pecile Siete Capas S.R.L. Periodistas Neuquinos 136 Piso 4 - Dpto. A - 8300 Neuquen Argentina Tel +54-299-4479172 Cel. +549-299-5833500
[vpp-dev] VPP automatic restart
Hi It’s possible to configure VPP to restart if the process hang ? Thanks -- Demian Pecile Siete Capas S.R.L. Periodistas Neuquinos 136 Piso 4 - Dpto. A - 8300 Neuquen Argentina Tel +54-299-4479172 Cel. +549-299-5833500
Re: [vpp-dev] gerrit.fd.io froblem access
Its working fine from here. Chrome 67.0.3396.40 (Build oficial) beta (64 bits) mac os x, and Safari Versión 11.1 (13605.1.33.1.4) Regards. Demian > El 15 may. 2018, a las 18:16, Alexey <devel-net-ne-vleza...@yandex.ru> > escribió: > > The source code repositaries is problem access. > > > Your connection is not secure > > The owner of gerrit.fd.io has configured their website improperly. To protect > your information from being stolen, Firefox has not connected to this website. > > This site uses HTTP Strict Transport Security (HSTS) to specify that Firefox > may only connect to it securely. As a result, it is not possible to add an > exception for this certificate. > > > > gerrit.fd.io uses an invalid security certificate. > > The certificate is only valid for docs.fd.io > > Error code: SSL_ERROR_BAD_CERT_DOMAIN > > The bypass error is returned blank page. > > > -- Demian Pecile Siete Capas S.R.L. Periodistas Neuquinos 136 Piso 4 - Dpto. A - 8300 Neuquen Argentina Tel +54-299-4479172 Cel. +549-299-5833500
[vpp-dev] how to move from development to production
Hi I need to have the tap-inject plugin running to run BGP in the VPP router. I was able to compile inside the vagrant machine, and there is working fine. I then moved the deb files, and the router.so.0.0.0 lib to /usr/lib/vpp_plugins/router.so But still say "enable: unknown input `tap-inject’” There is something that I am missing ? Any way to build inside the router instead the vagrant machine ? Thanks -- Demian Pecile Siete Capas S.R.L. Periodistas Neuquinos 136 Piso 4 - Dpto. A - 8300 Neuquen Argentina Tel +54-299-4479172 Cel. +549-299-5833500
Re: [vpp-dev] vpp-config fail to complete
Sure Thanks ! The error: root@vpp:/home/user# vpp-config Welcome to the VPP system configuration utility These are the files we will modify: /etc/vpp/startup.conf /etc/sysctl.d/80-vpp.conf /etc/default/grub Before we change them, we'll create working copies in /usr/local/vpp/vpp-config/dryrun Please inspect them carefully before applying the actual configuration (option 3)! What would you like to do? 1) Show basic system information 2) Dry Run (Will save the configuration files in /usr/local/vpp/vpp-config/dryrun for inspection) and user input in /usr/local/vpp/vpp-config/configs/auto-config.yaml 3) Full configuration (WARNING: This will change the system configuration) 4) List/Install/Uninstall VPP. 5) Execute some basic tests. 9 or q) Quit Command: 2 These devices have kernel interfaces, but appear to be safe to use with VPP. PCI ID Kernel Interface(s) Description -- :02:00.1eno2 NetXtreme BCM5720 Gigabit Ethernet PCIe Would you like to use any of these device(s) for VPP [y/N]? These device(s) will be used by VPP. PCI ID Description :03:00.1Ethernet Controller 10-Gigabit X540-AT2 :03:00.0Ethernet Controller 10-Gigabit X540-AT2 Would you like to remove any of these device(s) [y/N]? These device(s) will be used by VPP, please rerun this option if this is incorrect. PCI ID Description :03:00.1Ethernet Controller 10-Gigabit X540-AT2 :03:00.0Ethernet Controller 10-Gigabit X540-AT2 Traceback (most recent call last): File "/usr/local/bin/vpp-config", line 22, in vpp.config_main() File "/usr/local/lib/python2.7/dist-packages/vpp_config.py", line 706, in config_main autoconfig_main() File "/usr/local/lib/python2.7/dist-packages/vpp_config.py", line 597, in autoconfig_main autoconfig_dryrun() File "/usr/local/lib/python2.7/dist-packages/vpp_config.py", line 370, in autoconfig_dryrun acfg.calculate_cpu_parameters() File "/usr/local/lib/python2.7/dist-packages/vpplib/AutoConfig.py", line 555, in calculate_cpu_parameters total_rx_queues = node['cpu']['total_rx_queues'] KeyError: 'total_rx_queues' The output root@vpp:/home/user# pip search vpp dhcpkit-vpp (1.0.1) - DHCPKit extension to use it from VPP vpp-papi (1.4.1) - VPP Python binding INSTALLED: 1.4 LATEST:1.4.1 csvpp (0.2.0) - CSV reformatter to align columns vpp-config (18.1.10) - VPP Configuration Utility INSTALLED: 18.1.10 (latest) You are using pip version 8.1.1, however version 9.0.3 is available. You should consider upgrading via the 'pip install --upgrade pip' command. > El 28 mar. 2018, a las 09:23, John DeNisco (jdenisco) <jdeni...@cisco.com> > escribió: > > > Can you show the error? > > Also, show the output from > > # pip search vpp > > > From: <vpp-dev@lists.fd.io> on behalf of Demian Pecile > <dpec...@sietecapas.com.ar> > Date: Wednesday, March 28, 2018 at 5:55 AM > To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> > Subject: [vpp-dev] vpp-config fail to complete > > Hi <> > When I run vpp-config, the script end with an error, and never end. > Do you know if its working with current version ? > Thanks > -- > Demian Pecile > Siete Capas S.R.L. > Periodistas Neuquinos 136 > Piso 4 - Dpto. A - 8300 Neuquen > Argentina > Tel +54-299-4479172 > Cel. +549-299-5833500 > > -- Demian Pecile Siete Capas S.R.L. Periodistas Neuquinos 136 Piso 4 - Dpto. A - 8300 Neuquen Argentina Tel +54-299-4479172 Cel. +549-299-5833500
[vpp-dev] vpp-config fail to complete
Hi When I run vpp-config, the script end with an error, and never end. Do you know if its working with current version ? Thanks -- Demian Pecile Siete Capas S.R.L. Periodistas Neuquinos 136 Piso 4 - Dpto. A - 8300 Neuquen Argentina Tel +54-299-4479172 Cel. +549-299-5833500