落絮飞雁

顺流而下,把梦做完

设置Openwrt为二级路由

手头的WR703n只有一个网口。刷过Openwrt之后通过修改配置来连接上级路由的简单方法。网口为WAN口,LAN只能通过wifi连接。

/etc/config/network:


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

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

config interface 'lan'
	option type 'bridge'
	option proto 'static'
	option ipaddr '10.76.1.1'
	option netmask '255.255.255.0'


 


原文标题:设置Openwrt为二级路由|落絮飞雁的个人网站
原文链接:https://www.luoxufeiyan.com/2015/01/24/set-openwrt-as-the-second-router/
授权协议:创作共用 署名-非商业性使用 2.5 中国大陆
除注明外,本站文章均为原创;转载时请保留上述链接。
  1. 站长工具说道:

    2个路由 要点技术嘀

  2. 落絮飞雁说道:

    不用,这个设置只是来协调WAN和上级路由用的