找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2289|回复: 1

求大神ar9331 openwrt lan改wan后不能连接问题

[复制链接]
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'

上个交换机接口设置

接口

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
大神、来吧……
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-27 14:10

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表