47 lines
894 B
Plaintext
47 lines
894 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 globals 'globals'
|
|
option ula_prefix 'fd78:1aa3:8b15::/48'
|
|
|
|
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'
|
|
option macaddr '96:37:22:3f:67:af'
|
|
|
|
config device
|
|
option name 'wan'
|
|
option macaddr '96:37:22:3f:67:af'
|
|
|
|
config interface 'wan'
|
|
option device 'br-wan'
|
|
option proto 'dhcp'
|
|
|
|
config interface 'wan6'
|
|
option device 'br-wan'
|
|
option proto 'dhcpv6' |