Vmxnet3 is a paravirtualized device. I could be wrong, it does not appear it supports adding virtual mac address. This error returns from dpdk indicates just that.
Jun 8 12:32:43 bfs-dl360g10-14-vm17 vnet[29645]: vrrp_vr_transition_vmac:120: Adding virtual MAC address 00:00:5e:00:01:01 on hardware interface 1 Jun 8 12:32:43 bfs-dl360g10-14-vm17 vnet[29645]: dpdk_add_del_mac_address: mac address add/del failed: -95 #define EOPNOTSUPP 95 /* Operation not supported on transport endpoint */ I suggest you try it on the physical NIC to see if that works. Steven From: <vpp-dev@lists.fd.io> on behalf of Amit Mehra <amito...@gmail.com> Date: Monday, June 8, 2020 at 5:57 AM To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> Subject: [vpp-dev] Unable to ping vpp interface from outside after configuring vrrp on vpp interface and making it as Master Hi, I am trying to test VRRP functionality using VRRP plugin available in VPP-20.05 and after running VRRP functionality on one of the VPP nodes and configuring it as a master, i am not able to ping the vpp interface from outside. I am using the following configuration modprobe -r vfio_pci modprobe -r vfio ./bin/dpdk-devbind.py -s // bind to vfio-pci driver Network devices using DPDK-compatible driver ============================================ 0000:13:00.0 'VMXNET3 Ethernet Controller' drv=vfio-pci unused=vmxnet3 0000:1b:00.0 'VMXNET3 Ethernet Controller' drv=vfio-pci unused=vmxnet3 ./bin/vppctl create interface vmxnet3 0000:13:00.0 ./bin/vppctl set interface ip address vmxnet3-0/13/0/0 10.20.53.143/24 ./bin/vppctl set int state vmxnet3-0/13/0/0 up ./bin/vppctl vrrp vr add GigabitEthernet13/0/0 vr_id 1 priority 255 interval 1 accept_mode 10.20.53.143 ./bin/vppctl vrrp proto start GigabitEthernet13/0/0 vr_id 1 Also, when i am trying to ping this vpp interface ip(10.20.53.143) from outside machine(which is having same subnet as 10.20.53.xx), I could see that ARP request was received by vpp and responded with a MAC address as 00:00:5E:00:01:01 in ARP Reply. However, the icmp packets were not entering the vpp. Verified the same using "trace" functionality available in vpp i.e. trace add vmxnet3-input 200 Moreover, i could see that vrrp packets(Announcement) continuously being transmitted by the vpp interface. Can someone confirm whether i am following correct steps and what could be the reason why icmp packets are not being received by vpp? I tried by enabling promiscuous mode on vpp interface using "set interface promiscuous on vmxnet3-0/13/0/0" but still icmp packets were not entering the vpp. Also, is there any CLI by which i can see that virtual MAC has been assigned on the vpp interface? I also tried testing with dpdk plugin, but observing the following log in vpp.log while executing ./bin/vppctl vrrp proto start GigabitEthernet13/0/0 vr_id 1 CLI Jun 8 12:32:43 bfs-dl360g10-14-vm17 vnet[29645]: vrrp_vr_transition_vmac:120: Adding virtual MAC address 00:00:5e:00:01:01 on hardware interface 1 Jun 8 12:32:43 bfs-dl360g10-14-vm17 vnet[29645]: dpdk_add_del_mac_address: mac address add/del failed: -95
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16691): https://lists.fd.io/g/vpp-dev/message/16691 Mute This Topic: https://lists.fd.io/mt/74750885/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-