0

树莓派1(wlano:192.168.2.146)-----路由器(192.168.2.1/24)----raspi2作为路由器(wlan0:192.168.2.227,ap0:172.24.1.1)---raspi3(172.24.1.82)

raspi2 和 3 都在发送 igmp 请求,我尝试通过 igmp 代理和 pimd,但没有任何效果。raspi2 路由 0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 wlan0 172.24.0.0 0.0.0.0 255.255.0.0 U 0 0 0 ap0 192.168.2.0 0.0.0.0 255.255.252.0 U 0.0.0 wlan0 0.0.0 255.255.252.0 U 0.0.0.0.2 1.1 240.0.0.0 UG 0 0 0 ap0

pi@raspberrypi:~ $ sudo iptables -t nat --list Chain PREROUTING (policy ACCEPT) target prot opt source destination DNAT udp -- 任何地方 udp dpt:3610 to:172.24.1.75:3610 DNAT udp -- 224.0.23.0 任何地方udp dpt:3610 到:172.24.1.75:3610 DNAT udp -- 任何地方 224.0.23.0 udp dpt:3610 到:172.24.1.75:3610

Chain INPUT (policy ACCEPT) target prot opt source destination

Chain OUTPUT (policy ACCEPT) target prot opt source destination

Chain POSTROUTING (policy ACCEPT) target prot opt source destination MASQUERADE all -- 172.24.0.0/16 任何地方 MASQUERADE all -- 192.168.2.0/24 任何我需要将 UDP 数据包从 raspi1 多播到 raspi3 的地方(由 raspberrypi 2 转发) 可以是什么完毕?

4

0 回答 0