UDP multicast client does not see UDP multicast traffic generated by tcpreplay

前端 未结 5 682
不思量自难忘°
不思量自难忘° 2021-02-06 01:20

I have two programs:

  • server ... it generates UDP traffic on a chosen multicast
  • listener ... it prints UDP traffic on a chosen multicast (it sub
5条回答
  •  青春惊慌失措
    2021-02-06 02:02

    We had the same problem. With tcpdump we saw the data; however, the multicast client/listener was not picking up the data. Then we realized that the Reverse Path Filter (rp_filter) was rejecting the packets.

    After disabling the rp-filter, the client/listener application started picking up the packets. Use the below command to disable rp_filter:

    echo 0 > /proc/sys/net/ipv4/conf/eth0/rp_filter

    In the above, replace 'eth0' with the interface receiving the multicast if other than eth0

提交回复
热议问题