找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 1162|回复: 7

求助,竞斗云想把其中一个lan改成wan,出问题了

[复制链接]
本帖最后由 bsddt56 于 2020-12-25 16:51 编辑

想把其中一个lan改成wan,接双线用,配置如图,出现以下问题:lan口不能获取IP,无法访问路由器,但是Wi-Fi可以访问路由器,原来的wan口不能获取上级IP,但是修改的wan口可以获取IP,但是无法上网!
配置如下

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd8b:0938:b644::/48'

config interface 'lan'
        option type 'bridge'
        option proto 'static'
        option ipaddr '192.168.1.254'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option ifname 'eth0.1'

config device 'lan_eth0_dev'
        option name 'eth0'
        option macaddr '1c:40:e8:10:a0:65'

config interface 'wan'
        option ifname 'eth1'
        option proto 'dhcp'

config device 'wan_eth1_dev'
        option name 'eth1'
        option macaddr '1c:40:e8:10:a0:64'

config interface 'wan6'
        option ifname 'eth1'
        option proto 'dhcpv6'

config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option vid '1'
        option ports '0t 2 3 4'

config switch_vlan
        option device 'switch0'
        option vlan '2'
        option vid '2'
        option ports '0t 1'

config interface 'Wan2'
        option proto 'dhcp'
        option ifname 'eth0.2'


本帖子中包含更多资源

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

×
我的恩山、我的无线 The best wifi forum is right here.
你这照片吓人,挺群友说潘多拉固件的交换机动不了一动就炸,不知道你是不是潘多拉

点评

上传了配置,我刷的是这个openwrt:https://www.right.com.cn/forum/thread-4062480-1-1.html  详情 回复 发表于 2020-12-25 16:55
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
xiao9jun 发表于 2020-12-25 16:52
你这照片吓人,挺群友说潘多拉固件的交换机动不了一动就炸,不知道你是不是潘多拉

上传了配置,我刷的是这个openwrt:https://www.right.com.cn/forum/thread-4062480-1-1.html
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

bsddt56 发表于 2020-12-25 16:55
上传了配置,我刷的是这个openwrt:https://www.right.com.cn/forum/thread-4062480-1-1.html

517内核啊...刚出来的时候一堆问题,我就没用

点评

内核问题会影响改wan口吗  详情 回复 发表于 2020-12-25 17:07
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 来自手机 | 显示全部楼层
xiao9jun 发表于 2020-12-25 16:57
517内核啊...刚出来的时候一堆问题,我就没用

内核问题会影响改wan口吗
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

bsddt56 发表于 2020-12-25 17:07
内核问题会影响改wan口吗

我没有可靠依据,竞斗云的群友普遍反应潘多拉的交换机设置有问题,基本不能动,而Openwrt可以,你这个又不行,一看内核也是比较新的,所以我这么猜测而已

点评

看来是这路由器的问题  详情 回复 发表于 2020-12-25 17:13
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 来自手机 | 显示全部楼层
xiao9jun 发表于 2020-12-25 17:11
我没有可靠依据,竞斗云的群友普遍反应潘多拉的交换机设置有问题,基本不能动,而Openwrt可以,你这个又 ...

看来是这路由器的问题
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

新内核问题,一直存在。  

用R20.7.1 吧
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

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

GMT+8, 2024-4-28 18:30

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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