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]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to