Ticket #18261: network.bad

File network.bad, 835 bytes (added by anonymous, 3 years ago)

/etc/config/network - broken config

Line 
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 vl3
8    option ifname eth0.3
9    option force_link 1
10    option proto static
11    option ipaddr 172.18.3.2
12    option netmask 255.255.255.0
13    option ip6addr fd46:c2cb:3b27:3::2/64
14    option type bridge
15
16config interface vl4
17    option ifname eth0.4
18    option force_link 1
19    option proto static
20    option ipaddr 172.18.4.2
21    option netmask 255.255.255.0
22    option ip6addr fd46:c2cb:3b27:4::2/64
23
24config switch
25    option name switch0
26    option reset 1
27    option enable_vlan 1
28
29# lan
30config switch_vlan
31    option device "switch0"
32    option vlan 3
33    option ports "5t 0t 2 3 4"
34
35# adm
36config switch_vlan
37    option device "switch0"
38    option vlan 4
39    option ports "5t 1t 0t"
40
41