linux: ar71xx: add support for Mikrotik Routerboard RB493G
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / defconfig / rb-493g / 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 eth1.1"
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.2
16 option proto dhcp
17
18 config switch
19 option name switch0
20 option reset 1
21 option enable_vlan 1
22
23 config switch_vlan
24 option device switch0
25 option vlan 1
26 option ports "0 1 2 3 4"
27
28 config switch
29 option name switch1
30 option reset 1
31 option enable_vlan 1
32
33 config switch_vlan
34 option device switch1
35 option vlan 1
36 option ports "0t 1 2 3 4"
37
38 config switch_vlan
39 option device switch1
40 option vlan 2
41 option ports "0t 5"