Hi, there is no multicast route to the local Forward ... solution: https://lists.fd.io/g/vpp-dev/topic/83103366#19478
Petr Dne st 17. 11. 2021 14:41 uživatel Wei Huang <wei.hu.hu...@oracle.com> napsal: > Thanks for reply. I'm new to VPP, can you give more details on how I add > multicast routes to VPP? Change in code to register for multicast packets > or using CLI to configure it? > > Wei > ------------------------------ > *From:* Neale Ranns <ne...@graphiant.com> > *Sent:* Wednesday, November 17, 2021 6:08 AM > *To:* Wei Huang <wei.hu.hu...@oracle.com>; vpp-dev@lists.fd.io < > vpp-dev@lists.fd.io> > *Subject:* [External] : Re: VPP Linux-cp plugin with multicast packets > > > [Adding the public mailer so we all benefit] > > > > Hi Wei, > > > > You need to add the multicast routes to VPP too. > > > > /neale > > > > *From: *Wei Huang <wei.hu.hu...@oracle.com> > *Date: *Wednesday, 17 November 2021 at 03:57 > *To: *nra...@cisco.com <nra...@cisco.com>, Neale Ranns < > ne...@graphiant.com> > *Subject: *VPP Linux-cp plugin with multicast packets > > Hi Neale > > > > I am using the linux-cp plugin you created 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 to an interface > used to connect to other router using OSPF. > > > > FRR------VPP (192.168.100.5)----------Router (192.168.100.20) > > VPP2 ETH2 ETH1 > > 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? > > > > Regards, > > > > Wei > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20507): https://lists.fd.io/g/vpp-dev/message/20507 Mute This Topic: https://lists.fd.io/mt/87116971/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-