现在网络拓扑是这样的
光猫---(lan2)--iptv机顶盒
\
(lan1)
\___软路由__无线路由
现在把光猫的pppoe取消接口绑定,然后lan1绑定vlan41(pppoe接口)和vlan48
在软路由上eth1网卡上增加eth1.41,eth1.48两个接口,ip地址能正确获取
33: eth1.41@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UP group default qlen 1000
link/ether 00:e0:4c:6c:01:4b brd ff:ff:ff:ff:ff:ff
inet 192.168.1.3/24 brd 192.168.1.255 scope global eth1.41
valid_lft forever preferred_lft forever
inet6 fe80::2e0:4cff:fe6c:14b/64 scope link
valid_lft forever preferred_lft forever
34: eth1.48@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UP group default qlen 1000
link/ether 00:e0:4c:6c:01:4b brd ff:ff:ff:ff:ff:ff
inet 10.233.185.105/22 brd 10.233.187.255 scope global eth1.48
valid_lft forever preferred_lft forever
pppoe拨号也能成功
用udpxy映射
/usr/bin/udpxy -T -v -S -a br-lan -p 8888 -m br-vlan48 -c 5 -l
/var/log/udpxy.log
vlc无法打开对应的rtp端口。
tcpdump抓包,发现发出去的join group包,没有回来的包
04:02:42.720952 IP 10.233.185.105 > 224.0.0.22: igmp v3 report, 1 group
record(s)
0x0000: 46c0 0028 0000 4000 0102 3fa7 0ae9 b969 F..(..@...?....i
0x0010: e000 0016 9404 0000 2200 ea87 0000 0001 ........".......
0x0020: 0400 0000 ef0a 006c .......l
04:02:43.152954 IP 10.233.185.105 > 224.0.0.22: igmp v3 report, 1 group
record(s)
0x0000: 46c0 0028 0000 4000 0102 3fa7 0ae9 b969 F..(..@...?....i
0x0010: e000 0016 9404 0000 2200 ea87 0000 0001 ........".......
0x0020: 0400 0000 ef0a 006c .......l
04:02:47.868948 IP 10.233.185.105 > 224.0.0.22: igmp v3 report, 1 group
record(s)
0x0000: 46c0 0028 0000 4000 0102 3fa7 0ae9 b969 F..(..@...?....i
0x0010: e000 0016 9404 0000 2200 eb87 0000 0001 ........".......
0x0020: 0300 0000 ef0a 006c .......l
04:02:47.908941 IP 10.233.185.105 > 224.0.0.22: igmp v3 report, 1 group
record(s)
0x0000: 46c0 0028 0000 4000 0102 3fa7 0ae9 b969 F..(..@...?....i
0x0010: e000 0016 9404 0000 2200 eb87 0000 0001 ........".......
0x0020: 0300 0000 ef0a 006c .......l
还有哪里需要设置呢?igmpproxy也开启了,eth1.48的igmp嗅探也开启了
--
FROM 120.229.14.*