|
lan改wan后,原来的wan口变成lan,电脑连接lan(原来wan)端口正常,但wan(原来4个lan)口连接上个路由拼不通。无线桥接可以正常使用
看下我的设置是哪里出了问提请求大神帮忙指点
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option _orig_ifname 'eth0 wlan0'
option _orig_bridge 'true'
option ifname 'eth1'
option ipaddr '192.168.10.1'
config interface 'wan'
option _orig_ifname 'eth1'
option _orig_bridge 'false'
option ifname 'eth0.2'
option proto 'dhcp'
config switch
option name 'eth0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'eth0'
option vlan '1'
option vid '1'
option ports '0t 1'
config switch_vlan
option device 'eth0'
option vlan '2'
option vid '2'
option ports '0t 2'
config switch_vlan
option device 'eth0'
option vlan '3'
option vid '3'
option ports '0t 3'
config switch_vlan
option device 'eth0'
option vlan '4'
option vid '4'
option ports '0t 4'
config interface 'wan100'
option proto 'dhcp'
option defaultroute '0'
option peerdns '1'
option ifname 'eth0.3'
config interface 'wan200'
option proto 'dhcp'
option defaultroute '0'
option peerdns '1'
option ifname 'eth0.4'
config interface 'wan300'
option proto 'dhcp'
option defaultroute '0'
option peerdns '1'
option ifname 'eth0.5'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0t 5'
config switch_vlan
option device 'switch0'
option vlan '5'
option ports '0t 4'
config switch_vlan
option device 'switch0'
option vlan '4'
option ports '0t 3'
config switch_vlan
option device 'switch0'
option vlan '3'
option ports '0t 2'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0t 1'
config interface 'wwan'
option proto 'dhcp'
上个交换机接口设置
接口
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|