1. 修改/etc/config/network文件lan域
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option hostname 'GL-X1200-a98'
option ipaddr '192.168.3.100'
option dns '8.8.8.8'
将ipaddr修改为上级的一个IP地址,wan口IP为192.168.3.110,需要增加dns,否则下级无法上网
2.重启network和dnsmasq
/etc/init.d/network restart
/etc/init.d/dnsmasq restart
3.电脑重新获取ip,如下所示: