linux内核收不到组播包,linux接收不到组播信息?

linux接收不到组播信息,已经修改了内核参数的filter,内核参数修改如下:

net.ipv4.ip_forward = 1

net.ipv4.conf.default.rp_filter=0

net.ipv4.conf.all.rp_filter=0

net.ipv4.conf.em4.rp_filter=0

net.ipv4.icmp_echo_ignore_broadcasts=0

net.ipv4.conf.em4.force_igmp_version = 2

net.ipv4.igmp_max_msf = 60

抓包信息如下:

13:34:38.422610 IP 10.56.129.189 > 239.1.1.11: igmp v2 report 239.1.1.11

13:34:39.180592 IP 10.56.129.189 > 239.1.127.5: igmp v2 report 239.1.127.5

13:34:40.034562 IP 10.56.129.189 > 239.1.1.16: igmp v2 report 239.1.1.16

13:34:40.182581 IP 10.56.129.189 > 239.1.1.6: igmp v2 report 239.1.1.6

13:34:40.250570 IP 10.56.129.189 > 239.1.1.1: igmp v2 report 239.1.1.1

13:34:40.298567 IP 10.56.129.189 > 239.1.127.12: igmp v2 report 239.1.127.12

13:34:40.805600 IP 10.56.129.189 > 239.1.1.5: igmp v2 report 239.1.1.5

13:34:40.829564 IP 10.56.129.189 > 239.1.127.19: igmp v2 report 239.1.127.19

13:34:41.501655 IP 10.56.129.189 > 239.1.1.2: igmp v2 report 239.1.1.2

13:34:42.260593 IP 10.56.129.189 > 239.1.1.12: igmp v2 report 239.1.1.12

13:34:43.931659 IP 10.56.129.189 > 239.1.1.15: igmp v2 report 239.1.1.15

13:34:44.141576 IP 10.56.129.189 > 239.1.127.11: igmp v2 report 239.1.127.11

^C

11393 packets captured

11462 packets received by filter

69 packets dropped by kernel

[root@TradeServer1 ~]# tcpdump -i em4 dst net 239.0.0.0/8

一直不能成功加入该组播

    原文作者:weixin_39889597
    原文地址: https://blog.csdn.net/weixin_39889597/article/details/116610461
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞