dap: fix network/vlans
This commit is contained in:
parent
0ca80cd84d
commit
2b4d9b3b8a
|
@ -1,5 +1,5 @@
|
||||||
config interface 'loopback'
|
config interface 'loopback'
|
||||||
option ifname 'lo'
|
option device 'lo'
|
||||||
option proto 'static'
|
option proto 'static'
|
||||||
option ipaddr '127.0.0.1'
|
option ipaddr '127.0.0.1'
|
||||||
option netmask '255.0.0.0'
|
option netmask '255.0.0.0'
|
||||||
|
@ -20,11 +20,16 @@ config interface 'management'
|
||||||
option dns '10.20.0.1'
|
option dns '10.20.0.1'
|
||||||
option ipv6 'no'
|
option ipv6 'no'
|
||||||
|
|
||||||
|
config switch
|
||||||
|
option name 'switch0'
|
||||||
|
option reset '1'
|
||||||
|
option enable_vlan '0'
|
||||||
|
|
||||||
config bridge-vlan
|
config switch_vlan
|
||||||
option device 'br-lan'
|
option device 'switch0'
|
||||||
option vlan '1'
|
option vlan '1'
|
||||||
list ports 'eth0'
|
option ports '2 0'
|
||||||
|
|
||||||
|
|
||||||
config bridge-vlan
|
config bridge-vlan
|
||||||
option device 'br-lan'
|
option device 'br-lan'
|
||||||
|
|
Loading…
Reference in New Issue