|
|
本帖最后由 xbsummer 于 2022-9-10 21:25 编辑
- config interface 'loopback'
- option device 'lo'
- option proto 'static'
- option ipaddr '127.0.0.1'
- option netmask '255.0.0.0'
- config globals 'globals'
- option ula_prefix 'xxxxxxxxxxxxxxxxxxxxxx'
- config device
- option name 'br-lan'
- option type 'bridge'
- list ports 'lan1'
- list ports 'lan2'
- list ports 'lan3'
- config interface 'lan'
- option device 'br-lan'
- option proto 'static'
- option netmask '255.255.255.0'
- option ip6assign '60'
- option ipaddr '192.168.31.1'
- config device
- option name 'wan'
- option macaddr 'xxxxxxxxxxxxxxxxxxxxxxx'
- config interface 'wan'
- option device 'wan'
- option proto 'pppoe'
- option username 'xxxxxxxxxxxxxxxxx'
- option password 'xxxxxxxxxxxxxxx'
- option ipv6 'auto'
- config device
- option type '8021q'
- option ifname 'br-lan'
- option vid '20'
- option name 'br-lan.20'
- option ipv6 '0'
- config interface 'iptv'
- option proto 'dhcp'
- option device 'br-lan.20'
- option metric '20'
- config bridge-vlan
- option device 'br-lan'
- option vlan '20'
- list ports 'lan3'
复制代码
以前的提问: https://www.right.com.cn/FORUM/thread-8251608-1-1.html
由于我使用路由器只需要用wifi,机顶盒需要有线连接路由器LAN3, 所以根据我的问题我弄出来了以上的配置。
但是我配置好后,如果重启路由器,或则把线去掉重接。 就会导致我的路由器连接不上。
表现现象为: 网络连接中以太网显示**未识别的网络**
ping 192.168.31.1时显示**Destination host unreachable**
还有个显现, 如果我再定义一个br-lan.10, config interface 'lan'的设备改成option device 'br-lan.10',结果也会连接不上路由器了。
请大佬指点一下为啥。
|
|