Hi Petr, Responses are inline...
On Wed, May 26, 2021 at 10:23 AM <[email protected]> wrote: > Hello, > > I'm sorry for the beginner question, but I was unable to find the answer. > I tested the linux-cp feature in VPP 21.10-rc0. Nice job, but I cannot get > to work ospf multicast, probably I'm doing something wrong, or should it > work? > Multicast should work without any special configuration. What is the output of 'vppctl show ip mfib 224.0.0.0/24' after you apply your linux-cp and interface configurations? > > BGP communication works fine (tcp), OSPF NBMA works fine. > Communication from host to physical interface already passes (224.0.0.5). > Communication from the physical interface to the host did not pass > (224.0.0.5). > > What did you observe while determining that inbound multicast was not being passed to the host? Did you run a packet trace and confirm that the packets are arriving on the VPP hardware interface? If so, can you please send trace output for 1 or 2 of the inbound multicast packets? If not, you can run a trace via a sequence of commands like: vppctl clear trace vppctl trace filter include ip4-mfib-forward-lookup 100 vppctl trace add dpdk-input 100 sleep 10 vppctl show trace Several possible outcomes based on the trace output: 1. No multicast packets arrive on the hardware interface. That would obviously be a problem with the external network rather than VPP or linux-cp. 2. Multicast packets arrive on the hardware interface and the trace shows them being dropped during some phase of processing. Hopefully there would be some indication of why they are being dropped in the trace output or in the output of 'vppctl show errors'. 3. Multicast packets arrive on the hardware interface and the trace shows them being transmitted on the host tap interface. If that is the case, does 'tcpdump -i ge300' on the host show any packets arriving? Are you running any kernel-based packet filter like iptables or nftables on the host? Thanks, -Matt Is there any way how to configure multicast redirect? A have tried a lot of > configurations (ip mroute, ....) with no success. > Many thanks for your answers. Regards Petr > > example configuration (enable linux-cp plugin) > # vpp > set int ip address GigabitEthernet3/0/0 10.10.50.1/24 > set int state GigabitEthernet3/0/0 up > lcp create GigabitEthernet3/0/0 host-if ge300 > # linux host > ip addr add 10.10.50.1/24 dev ge300 > ip link set dev ge300 mtu 1500 > ip link set dev ge300 up > > > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19474): https://lists.fd.io/g/vpp-dev/message/19474 Mute This Topic: https://lists.fd.io/mt/83103366/21656 Mute #vpp:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp Mute #plugin:https://lists.fd.io/g/vpp-dev/mutehashtag/plugin Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
