add a defconfig for wrt160nl which contains switch settings
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / defconfig / wrt160nl / network
1 config 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
7 config interface lan
8 option ifname eth0
9 option type bridge
10 option proto static
11 option ipaddr 192.168.1.1
12 option netmask 255.255.255.0
13
14 config interface wan
15 option ifname eth1
16 option proto dhcp
17
18 config switch eth1
19 option reset 1
20 option enable_vlan 1
21
22 config switch_vlan
23 option device eth1
24 option vlan 1
25 option ports "0 1 2 3 4 5"