2023-08-09 14:52:19 +02:00
|
|
|
config interface 'lan'
|
2023-08-07 14:42:39 +02:00
|
|
|
option type 'bridge'
|
2023-08-09 14:52:19 +02:00
|
|
|
option proto 'static'
|
|
|
|
option ipaddr '192.168.1.1'
|
|
|
|
option netmask '255.255.255.0'
|
2023-08-07 14:42:39 +02:00
|
|
|
list ports 'lan1'
|
|
|
|
list ports 'lan2'
|
|
|
|
list ports 'lan3'
|
|
|
|
list ports 'lan4'
|
|
|
|
list ports 'sfp2'
|
|
|
|
option ip6assign '60'
|
|
|
|
|
2023-08-09 14:52:19 +02:00
|
|
|
config interface 'wan'
|
2023-08-07 14:42:39 +02:00
|
|
|
option type 'bridge'
|
|
|
|
list ports 'eth1'
|
|
|
|
list ports 'wan'
|
2023-08-09 14:52:19 +02:00
|
|
|
option proto 'dhcp'
|
2023-08-07 14:42:39 +02:00
|
|
|
|
|
|
|
config device
|
2023-08-09 14:52:19 +02:00
|
|
|
config interface 'loopback'
|
|
|
|
option device 'lo'
|
|
|
|
option proto 'static'
|
|
|
|
option ipaddr '127.0.0.1'
|
|
|
|
option netmask '255.0.0.0'
|