ar71xx: create generic network config from an uci-defaults script
[openwrt.git] / target / linux / ar71xx / base-files / etc / defconfig / tl-wr1043nd / 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.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' 'eth0.2'
16 option 'proto' 'dhcp'
17
18 config 'switch'
19 option 'name' 'rtl8366rb'
20 option 'reset' '1'
21 option 'enable_vlan' '1'
22
23 config 'switch_vlan'
24 option 'device' 'rtl8366rb'
25 option 'vlan' '1'
26 option 'ports' '1 2 3 4 5t'
27
28 config 'switch_vlan'
29 option 'device' 'rtl8366rb'
30 option 'vlan' '2'
31 option 'ports' '0 5t'
This page took 0.054662 seconds and 5 git commands to generate.