Thanks a lot. This helps. Wei ________________________________ From: Petr Boltík <petr.bol...@gmail.com> Sent: Wednesday, November 17, 2021 2:14 AM To: Wei Huang <wei.hu.hu...@oracle.com> Cc: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> Subject: [External] : Re: [vpp-dev] VPP linux-cp plugin with multicast packets
Hi, there is no multicast route to the local Forward ... solution: https://lists.fd.io/g/vpp-dev/topic/83103366#19478<https://urldefense.com/v3/__https://lists.fd.io/g/vpp-dev/topic/83103366*19478__;Iw!!ACWV5N9M2RV99hQ!e3U_BcD_Wp0teVJfF3sG1OxtJajakKeGMdFy_i7Y8w3_p3iQdOABlV9uoWvFHfCsrg$> PetrB. st 17. 11. 2021 v 4:08 odesílatel Wei Huang <wei.hu.hu...@oracle.com<mailto:wei.hu.hu...@oracle.com>> napsal: I am using the linux-cp plugin in VPP (v21.06) and run into issues with multicast packet from OSPF. I try to make FRR work with VPP. I created a lcp pair (ETH2-VPP2), ETH2 directly connect to router using OSPF. FRR------VPP (192.168.100.5)----------Router (192.168.100.20) VPP2 ETH2 ETH1 vppctl lcp create tn-eth2 host-if vpp2 netns t3-tap-ns ip netns exec t3-tap-ns ip addr add 192.168.100.5/24<https://urldefense.com/v3/__http://192.168.100.5/24__;!!ACWV5N9M2RV99hQ!e3U_BcD_Wp0teVJfF3sG1OxtJajakKeGMdFy_i7Y8w3_p3iQdOABlV9uoWsb1DRDyg$> dev vpp2 ip netns exec t3-tap-ns ip link set dev vpp2 up When I do tshark on Router ETH1, I can see hello packets from both sides, i.e. 192.168.100.5->224.0.0.5 and 192.168.100.20->224.0.0.5. But when do tshark on VPP2, I can only see hello packets from 192.168.100.5->224.0.0.5. Seems VPP didn't forward multicast packets to VPP2. When I do packet trace, this is what I got: 01:21:34:796763: dpdk-input tn-eth2 rx queue 0 buffer 0x93b1f: current data 0, length 82, buffer-pool 0, ref-count 1, totlen-nifb 0, trace handle 0x0 ext-hdr-valid l4-cksum-computed l4-cksum-correct PKT MBUF: port 2, nb_segs 1, pkt_len 82 buf_len 2176, data_len 82, ol_flags 0x0, data_off 128, phys_addr 0xb20ec840 packet_type 0x0 l2_len 0 l3_len 0 outer_l2_len 0 outer_l3_len 0 rss 0x0 fdir.hi 0x0 fdir.lo 0x0 IP4: fa:16:3f:a9:2c:cc -> 01:00:5e:00:00:05 OSPF: 192.168.100.20 -> 224.0.0.5 tos 0xc0, ttl 1, length 68, checksum 0xf102 dscp CS6 ecn NON_ECN fragment id 0xc2dc 01:21:34:796805: ethernet-input frame: flags 0x1, hw-if-index 3, sw-if-index 3 IP4: fa:16:3f:a9:2c:cc -> 01:00:5e:00:00:05 01:21:34:796836: ip4-input OSPF: 192.168.100.20 -> 224.0.0.5 tos 0xc0, ttl 1, length 68, checksum 0xf102 dscp CS6 ecn NON_ECN fragment id 0xc2dc 01:21:34:796842: ip4-mfib-forward-lookup fib 0 entry 0 01:21:34:796846: ip4-mfib-forward-rpf entry 0 itf -1 flags 01:21:34:796847: ip4-drop OSPF: 192.168.100.20 -> 224.0.0.5 tos 0xc0, ttl 1, length 68, checksum 0xf102 dscp CS6 ecn NON_ECN fragment id 0xc2dc 01:21:34:796849: error-drop rx:tn-eth2 01:21:34:796853: drop ip4-input: Multicast RPF check failed Do I need to do anything special for multicast packets to be directed to the TAP interface? Regards, Wei
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20508): https://lists.fd.io/g/vpp-dev/message/20508 Mute This Topic: https://lists.fd.io/mt/87121477/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-