@
fan88 具体是哪里出问题这里肯定说不清楚,但可以先参考和对比一下下面的
dnsmasq.conf 里增加的:
dhcp-option:
dhcp-option-force=lan,125,00:00:00:00:1b:02:06:48:47:57:2d:43:54:03:05:53:44:4e:48:47:0a:02:20:00:0b:02:00:55:0d:02:20:00
dhcp-option=lan,60,00:00:01:0a:66:69:62:65:72:68:6f:6d:65:00:02:04:48:47:57:00:03:10:48:47:32:38:32:31:54:2d:55:00:08:31:30:30:37:2e:38:67:00:05:04:00:00:01:02:34:00:00:00:00:00:00
dhcp-option=lan,15
dhcp-option=lan,28
wan 设定的脚本:
#!/bin/sh
robocfg vlan 51 ports "0t 2t"
robocfg vlan 85 ports "0t 2t"
ifconfig eth0:1 192.168.1.200 netmask 255.255.255.0
iptables -t nat -I POSTROUTING -o eth0 -d 192.168.1.0/24 -j MASQUERADE
这里是,光猫桥接后,IPTV 接自己后面拨号的路由的 2t 口