首页 > 百科 > 综合百科

openwrt的lan可以设置不同的ip地址吗 openwrt设置固定ip上网

来源: 更新时间:2022-09-26 00:16:46
The Beginning

1、若实现LAN1口192.168.1.1,LAN2口192.168.2.1,LAN3口192.168.3.1等等可用命令实现。

2、config interface 'lan'

option type 'bridge'

option _orig_ifname 'eth1 ath0 ath1'

option _orig_bridge 'true'

option proto 'static'

option ipaddr '192.168.1.1'

option netmask '255.255.255.0'

option ieee1905managed '1'

option ifname 'eth1'

3、以此类推,分别通过不同的LAN口指定不同的IP域名。

THE END

TAG:openwrt的lan可以设置不同的ip地址吗  

猜你喜欢

相关文章