本帖最后由 mtyzaq 于 2017-12-3 21:38 编辑
一,
不破解光猫,交换机vlan1 (3 4 5 6 7 8t),vlan20 (1 8t),vlan30 (2 8t);端口1 pvid 20,端口2 pvid 30,其他端口pvid 1
路由器:robocfg vlans reset vlan 1 ports "1 2 3 4t 8t" vlan 20 ports "4t 8u" vlan 30 ports "0 4t"
不破解光猫,交换机vlan1 (3 4 5 6 7 8t),vlan20 (1 8t),vlan30 (2 8t);端口1 pvid 20,端口2 pvid 30,其他端口pvid 1
路由器:WAN和LAN在一块物理卡上,按照梅林划分VLAN;WAN和LAN不在一块物理卡则如下
config interface 'wan'
option ifname 'eth1.20'
option _orig_ifname 'eth1.20'
option _orig_bridge 'false'
option proto 'pppoe'
option username 'xxxxxxx'
option password 'xxxxxx'
option ipv6 'auto'
config interface 'iptv'
option proto 'dhcp'
option type 'bridge'
option ifname 'eth1.30 eth0.2'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
option enable_vlan4k '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 1 2 5'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '3 5t'
二,
破解光猫,添加VLAN绑定
交换机vlan1 (2 3 4 5 6 7 8t),vlan20 (1t 8t),vlan30 (1t 8t);所有端口pvid 1
路由器:robocfg vlans reset vlan 1 ports "1 2 3 4t 8t" vlan 20 ports "4t 8u" vlan 30 ports "0 4t"
交换机vlan1 (2 3 4 5 6 7 8t),vlan20 (1t 8t),vlan30 (1t 8t);所有端口pvid 1
路由器:参照方案一
三,
破解光猫,添加VLAN绑定
路由器:robocfg vlans reset vlan 1 ports "1 2 3 8t" vlan 20 ports "4 8u" vlan 30 ports "0 4t"
路由器:参照方案一
四,未成功,请教各位大神
破解光猫,添加VLAN绑定
路由器:config interface 'wan'
option ifname 'eth1.20'
option _orig_ifname 'eth1.20'
option _orig_bridge 'false'
option proto 'pppoe'
option username 'xxxxxxx'
option password 'xxxxxx'
option ipv6 'auto'
config interface 'iptv'
option proto 'dhcp'
option type 'bridge'
option ifname 'eth1.30'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
option enable_vlan4k '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 1 2 3 5'
设置MWAN3,一直未能成功。
https://www.right.com.cn/forum/thread-219584-1-1.html此贴设置成功,但是写简洁,希望有大神能出个详细的教程
https://www.right.com.cn/forum/f ... 674&ordertype=1此贴是另外一种实现方案,也未能成功
发帖注意事项
请勿胡乱发帖:https://www.right.com.cn/forum/thread-8307840-1-1.html
账户手机验证:https://www.right.com.cn/forum/home.php?mod=spacecp&ac=plugin&id=jzsjiale_sms:home
|