I am running vpp v20.01-release on Ubuntu 18.04 on an Azure VM. I had been
forwarding traffic with VPP for about 5 days and today I noticed that my 2 main
interfaces FailsafeEthernet2 and FailsafeEthernet4) had gone down and I could
not find a reason. I looked at the journalctl logs (which only
vpp show log only showed a bunch of dhcp/client timeouts, I believe. I don't
know if there was a VM migration, but how could I know for sure? The VM has
been powered on the entire time, but perhaps there was a hot-swap of NICs?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this
Does VPP have a way to detect if an interface goes down? Or automatically
restart an interface if that happens?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15901): https://lists.fd.io/g/vpp-dev/message/15901
Mute This Topic: https://lists.fd.io/
As the subject indicates, I am having difficulty getting my VPP interfaces
activating properly. I am trying to use DPDK-enabled netvsc devices with VPP in
Ubuntu 18.04 in Azure.
I am trying to follow this guide:
https://wiki.fd.io/view/VPP/How_To_Connect_A_PCI_Interface_To_VPP
Here is some bas
[Edited Message Follows]
As the subject indicates, I am having difficulty getting my VPP interfaces
activating properly. I am trying to use DPDK-enabled netvsc devices with VPP in
Ubuntu 18.04 in Azure.
I am trying to follow this guide:
https://wiki.fd.io/view/VPP/How_To_Connect_A_PCI_Interfac
Update: I had forgotten to modprobe (i.e. load) the ib_uverbs and mlx4_ib
drivers which are required for my NICs on Azure. I noticed that something was
wrong when looking at the output of 'sudo vppctl show log'. I then went back
and tried to get DPDK's testpmd application to work and from the ou
Thanks for your reply and for looping in Damjan.
I have had a fair bit of success initializing DPDK directly on this same box on
the same adapters. Both of the following testpmd commands work for me and the
interfaces are attached to properly:
sudo ./testpmd -l 0-3 -n 4 --vdev='net_failsafe0,dev
Damjan (and group),
Any pointers as to exactly how I would configure VPP to use the RDMA drivers?
What would I put in the vdev line in the VPP startup.conf?
Also, do you know if this is expected to work on Azure?
Thanks,
Chris
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to thi
Ben,
I'm glad you got it to work - thanks for the info!
Interestingly, I had already modified those 4 lines in dpdk.mk from 'n' to 'y'
and I still get the "EAL: Driver cannot attach the device" errors when starting
VPP.
I noticed in your config file above that it says DPDK_VERSION ?= 19.08. My
[Edited Message Follows]
[Reason: Renaming 10dtap.link to 10-dtap.link]
Ben,
I'm glad you got it to work - thanks for the info!
Interestingly, I had already modified those 4 lines in dpdk.mk from 'n' to 'y'
and I still get the "EAL: Driver cannot attach the device" errors when starting
VPP.
I
Ben,
I tried what you suggested but it didn't work for me (yet) :-(. In order to
get the *glue* libraries to build I had to go into vpp/build/external/packages
and run 'make dpdk-install'. Then I set LD_LIBRARY_PATH (was previously unset)
and I issued the following commands:
echo $LD_LIBRARY_
[Edited Message Follows]
[Reason: Fix minor typo]
Ben,
I tried what you suggested but it didn't work for me (yet) :-(. In order to
get the *glue* libraries to build I had to go into vpp/build/external/packages
and run 'make dpdk-install'. Then I set LD_LIBRARY_PATH (was previously unset)
and
Ben,
Here is the output you requested - I haven't really tested things yet, but the
devices seem to attach and the hardware says it's up! I think you were right
about running with LD_LIBRARY_PATH in the same runtime environment! There are
still some concerning error messages, but not sure that
Ben,
I've done some testing and am now happy to report that my interfaces are
receiving and forwarding traffic! This is a great milestone - thanks!
I did, however, run into the ARP issues you mentioned. The first time I try to
hit a destination IP I notice the following:
1) first attempt fails,
Ben,
Yes, for instance, if I ping a new destination from a new source 10 times, I
will get 8 responses because the first 2 packets are dropped. Once the ARP
entries are in, the pings start going through:
ping -c 10 10.4.2.7
PING 10.4.2.7 (10.4.2.7) 56(84) bytes of data.
64 bytes from 10.4.2.7: i
Ben,
I am still seeing some odd behaviour when trying to route traffic to the
Internet though (again from Azure). I've added a default route through
FailsafeEthernet2 and this is what I get when trying to connect to
www.google.ca on port 80 with netcat on a box on my 10.4.2.0/24 subnet:
vpp# s
I managed to get my internet traffic routed properly using Azure firewall.
However, I'm looking for a VPP/NAT alternative way to do this and the
documentation I've read didn't help me much. Does anyone have experience
setting up VPP/NAT in Azure?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all me
Ben,
Yes, thanks, I can now connect to google.ca through VPP in Azure!
Ok, in that case, do you recommend I open a separate thread for the VPP/NAT
discussion?
Thanks,
Chris
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15363): https://lists.fd
Hello,
I currently have VPP 19.08.1 running on Azure. I am using the Azure Firewall in
order to route (and NAT) my IPv4 internet traffic to/from my Azure virtual
network.
I would prefer to be able to use the VPP/NAT plugin to handle NAT'ing of my
IPv4 internet traffic and not rely on the Azure
Hello,
I currently have VPP 19.08.1 running on Azure.
I would like to be able to specify a virtual device - in this case, net_pcap0,
when starting VPP. I would then like to be able to configure a VPP SPAN port to
mirror the traffic from one or more interfaces to my PCAP virtual device. Under
t
20 matches
Mail list logo