39 lines
684 B
Plaintext
39 lines
684 B
Plaintext
config device
|
|
config interface 'loopback'
|
|
option device 'lo'
|
|
option proto 'static'
|
|
option ipaddr '127.0.0.1'
|
|
option netmask '255.0.0.0'
|
|
|
|
config device
|
|
option name 'br-lan'
|
|
option type 'bridge'
|
|
list ports 'lan1'
|
|
list ports 'lan2'
|
|
list ports 'lan3'
|
|
list ports 'lan4'
|
|
list ports 'sfp2'
|
|
|
|
config interface 'lan'
|
|
option device 'br-lan'
|
|
option proto 'static'
|
|
option ipaddr '192.168.1.1'
|
|
option netmask '255.255.255.0'
|
|
option ip6assign '60'
|
|
|
|
config device
|
|
option name 'br-wan'
|
|
option type 'bridge'
|
|
list ports 'eth1'
|
|
list ports 'wan'
|
|
|
|
config device
|
|
option name 'eth1'
|
|
|
|
config device
|
|
option name 'wan'
|
|
|
|
config interface 'wan'
|
|
option device 'br-wan'
|
|
option proto 'dhcp'
|