61 lines
1.1 KiB
Plaintext
61 lines
1.1 KiB
Plaintext
|
|
config interface 'loopback'
|
|
option device 'lo'
|
|
option proto 'static'
|
|
option ipaddr '127.0.0.1'
|
|
option netmask '255.0.0.0'
|
|
|
|
config globals 'globals'
|
|
option ula_prefix 'fd6b:e811:df87::/48'
|
|
option packet_steering '1'
|
|
|
|
config device
|
|
option name 'br-lan'
|
|
option type 'bridge'
|
|
list ports 'eth0.1'
|
|
list ports 'eth1'
|
|
|
|
config device
|
|
option name 'eth0.1'
|
|
option macaddr '4c:5e:0c:b5:35:f3'
|
|
|
|
config interface 'lan'
|
|
option device 'br-lan'
|
|
option proto 'static'
|
|
option ipaddr '20.0.0.26'
|
|
option netmask '255.255.255.0'
|
|
option gateway '20.0.0.1'
|
|
list dns '64.126.133.1'
|
|
|
|
config switch
|
|
option name 'switch0'
|
|
option reset '1'
|
|
option enable_vlan '1'
|
|
|
|
config switch_vlan
|
|
option device 'switch0'
|
|
option vlan '1'
|
|
option ports '1 2 3 4 0t'
|
|
|
|
config interface 'wifi_ap'
|
|
option proto 'static'
|
|
option ipaddr '192.168.88.1'
|
|
option netmask '255.255.255.0'
|
|
|
|
config device 'br_lan_dev'
|
|
option name 'br-lan'
|
|
option type 'bridge'
|
|
list ports 'eth0.1'
|
|
list ports 'eth1'
|
|
|
|
config switch 'switch'
|
|
option name 'switch0'
|
|
option reset '1'
|
|
option enable_vlan '1'
|
|
|
|
config switch_vlan 'switch_vlan1'
|
|
option device 'switch0'
|
|
option vlan '1'
|
|
option ports '1 2 3 4 0t'
|
|
|