Root/target/linux/ar71xx/base-files/etc/defconfig/wzr-hp-g300nh/network

1config interface loopback
2    option ifname lo
3    option proto static
4    option ipaddr 127.0.0.1
5    option netmask 255.0.0.0
6
7config interface lan
8    option ifname eth0.1
9    option type bridge
10    option proto static
11    option ipaddr 192.168.1.1
12    option netmask 255.255.255.0
13
14config interface wan
15    option ifname eth1
16    option proto dhcp
17
18config switch
19    option name switch0
20    option reset 1
21    option enable_vlan 1
22
23config switch_vlan
24    option device switch0
25    option vlan 1
26    option ports "0 1 2 3 5t"
27

Archive Download this file



interactive