Re: [vpp-dev] Ping reply packets reaching vnet interface with correct vlan tags are not seen in VPP for VLAN interface.
Hi, We have an observation that if we change the device type of our interface from virtio to e1000 or we keep device type virtio as is and set promiscuous on for the parent interface of vlan interface, we could get our end to end packet flow working with VLAN interfaces configured, for both the variants. Is there any additional configuration that is required to be done for getting virtio working for us without setting promiscuous on? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20630): https://lists.fd.io/g/vpp-dev/message/20630 Mute This Topic: https://lists.fd.io/mt/87590032/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] Ping reply packets reaching vnet interface with correct vlan tags are not seen in VPP for VLAN interface.
Hi, We are trying to debug this issue and we have a question regarding this that If the packet is seen on the vnet interface of the VM hosting VPP, and not seen in VPP packet trace, can we debug something at VPP level? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20621): https://lists.fd.io/g/vpp-dev/message/20621 Mute This Topic: https://lists.fd.io/mt/87590032/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] Ping reply packets reaching vnet interface with correct vlan tags are not seen in VPP for VLAN interface.
Hi, We found another similar kind of an issue https://lists.fd.io/g/vpp-dev/topic/74220020#16397 But there is no resolution for it as of now. Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20608): https://lists.fd.io/g/vpp-dev/message/20608 Mute This Topic: https://lists.fd.io/mt/87590032/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] Ping reply packets reaching vnet interface with correct vlan tags are not seen in VPP for VLAN interface.
Hi, After applying IP and link state from linux (as per my previous post), we actually see IP and state being copied to VPP as well. vpp# show interface address GigabitEthernet0/8/0 (up): GigabitEthernet0/8/0.1400 (up): L3 24.24.10.101/24 L3 2001:24:10:a111::101/64 local0 (dn): tap1 (up): tap1.1400 (up): vpp# Also, even if we apply the IP and link state both in Linux and in VPP by hand, we see the same behaviour that the ping reply packets with correct VLAN tag are received on the vnet interface corresponding to GigabitEthernet0/8/0. But on taking packet trace on VPP using command: - pcap dispatch trace on max 1000 file vppcapture_ping_from_router.pcapng buffer-trace dpdk-input 1000 We don't see reply packet reaching VPP. What could be the reason behind this? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20604): https://lists.fd.io/g/vpp-dev/message/20604 Mute This Topic: https://lists.fd.io/mt/87590032/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] Ping reply packets reaching vnet interface with correct vlan tags are not seen in VPP for VLAN interface.
Hoi, You have to (for now) apply the IP and link state both in Linux and in VPP by hand - they will not copy back and forth until Linux CP is fully committed. if you type 'show interface address' in VPP, you are not likely to see the addresses show up there, right? So add a bit of vppctl set interface ip address 24.24.10.101/24 GigabitEthernet0/8/0.1400 vppctl set interface state GigabitEthernet0/8/0.1400 up vppctl set interface mtu packet 1500 GigabitEthernet0/8/0.1400 sudo ip netns exec dataplane ip link set 1500 dev vpp1.1400 See https://ipng.ch/s/articles/2021/08/12/vpp-1.html and other articles for an in-depth breakdown of how LinuxCP works (and will work, when all the code is committed). groet, Pim On Wed, Dec 8, 2021 at 4:13 PM Chinmaya Aggarwal wrote: > Hi, > > We have two VMs running on Centos 8.4 and base server running on Centos > 7.8. VM1 is running VPP(v21.06) and VM2 is a normal linux machine. VM1 is > connected to VM2 on GigabitEthernet0/8/0 interface. We created a VLAN > interface (with VLAN id 1400) on both the VMs and we are trying to ping > from VM1's VLAN interface to VM2's VLAN interface. The setup is show in > vlan_test_setup.png > > Below are the VPP commands executed on VM1 for configuring VLAN interface:- > > lcp create GigabitEthernet0/8/0 host-if vpp1 netns dataplane > create sub GigabitEthernet0/8/0 1400 > lcp create GigabitEthernet0/8/0.1400 host-if vpp1.1400 netns dataplane > sudo ip netns exec dataplane ip link set up dev vpp1 > sudo ip netns exec dataplane ip link set up dev vpp1.1400 > sudo ip netns exec dataplane ip addr add 24.24.10.101/24 dev vpp1.1400 > sudo ip netns exec dataplane ip -6 addr add 2001:24:10:a111::101/64 dev > vpp1.1400 > > When we execute ping command: - > sudo ip netns exec dataplane ping 24.24.10.102 > > We can see ping reply packets with correct VLAN tag on the vnet interface > corresponding to GigabitEthernet0/8/0. But on taking packet trace on VPP > using command: - > > pcap dispatch trace on max 1000 file vppcapture_ping_from_router.pcapng > buffer-trace dpdk-input 1000 > > We don't see reply packet reaching VPP. > > What could be the reason behind this? > > > Thanks and Regards, > Chinmaya Agarwal. > > > > -- Pim van Pelt PBVP1-RIPE - http://www.ipng.nl/ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20602): https://lists.fd.io/g/vpp-dev/message/20602 Mute This Topic: https://lists.fd.io/mt/87590032/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] Ping reply packets reaching vnet interface with correct vlan tags are not seen in VPP for VLAN interface.
Hi, We have two VMs running on Centos 8.4 and base server running on Centos 7.8. VM1 is running VPP(v21.06) and VM2 is a normal linux machine. VM1 is connected to VM2 on GigabitEthernet0/8/0 interface. We created a VLAN interface (with VLAN id 1400) on both the VMs and we are trying to ping from VM1's VLAN interface to VM2's VLAN interface. The setup is show in vlan_test_setup.png Below are the VPP commands executed on VM1 for configuring VLAN interface:- lcp create GigabitEthernet0/8/0 host-if vpp1 netns dataplane create sub GigabitEthernet0/8/0 1400 lcp create GigabitEthernet0/8/0.1400 host-if vpp1.1400 netns dataplane sudo ip netns exec dataplane ip link set up dev vpp1 sudo ip netns exec dataplane ip link set up dev vpp1.1400 sudo ip netns exec dataplane ip addr add 24.24.10.101/24 dev vpp1.1400 sudo ip netns exec dataplane ip -6 addr add 2001:24:10:a111::101/64 dev vpp1.1400 When we execute ping command: - sudo ip netns exec dataplane ping 24.24.10.102 We can see ping reply packets with correct VLAN tag on the vnet interface corresponding to GigabitEthernet0/8/0. But on taking packet trace on VPP using command: - pcap dispatch trace on max 1000 file vppcapture_ping_from_router.pcapng buffer-trace dpdk-input 1000 We don't see reply packet reaching VPP. What could be the reason behind this? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20601): https://lists.fd.io/g/vpp-dev/message/20601 Mute This Topic: https://lists.fd.io/mt/87590032/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-