直接上配置
- 修改network
#vi /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 globals 'globals'
option ula_prefix 'fdcc:342d:036b::/48'
#删除option type 'bridge'
config interface 'lan'
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.8.1'
option netmask '255.255.255.0'
option ip6assign '60'
#wan口proto改为static
config interface 'wan'
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.81.185'
option netmask '255.255.255.0'
option dns '192.168.81.1'
option gateway '192.168.81.1'
- 修改dhcp
vi /etc/config/dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option