Root/target/linux/ar71xx/base-files/etc/defconfig/routerstation-pro/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 eth1
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 eth0
16    option proto dhcp
17
18config switch
19    option name eth1
20    option reset 1
21    option enable_vlan 1
22
23config switch_vlan
24    option device eth1
25    option vlan 1
26    option ports "0 1 2 3 4"
27

Archive Download this file



interactive