wifi/files/wdr-4300-dual-trunk-video/etc/config/network

47 lines
1.1 KiB
Plaintext
Raw Normal View History

2016-11-02 18:02:36 +02:00
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'management'
2016-11-03 01:04:38 +02:00
option ifname 'eth0.20'
2016-11-02 18:02:36 +02:00
option proto 'static'
option ipaddr '<ip>'
option netmask '255.255.255.0'
2016-11-03 01:04:38 +02:00
option gateway '10.20.0.1'
option dns '10.20.0.1'
2016-11-02 18:02:36 +02:00
option ipv6 'no'
config interface 'wireless'
2016-11-03 01:04:38 +02:00
option ifname 'eth0.22'
2016-11-02 18:02:36 +02:00
option proto 'none'
option ipv6 'no'
option force_link '1'
option type 'bridge'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
2016-11-03 01:04:38 +02:00
option vlan '5'
2016-11-02 18:02:36 +02:00
option ports '0 1 2'
config switch_vlan
option device 'switch0'
2016-11-03 01:04:38 +02:00
option vlan '20'
2016-11-02 18:02:36 +02:00
option ports '0t 1t 2t'
config switch_vlan
option device 'switch0'
2016-11-03 01:04:38 +02:00
option vlan '22'
2016-11-02 18:02:36 +02:00
option ports '0 1t 2t'
2016-11-03 01:04:38 +02:00
config switch_vlan
option device 'switch0'
option vlan '23'
option ports '0t 1t 2t 4'