Skip to main content

网络


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 packet_steering '1'

config device
option name 'br-lan'
option type 'bridge'
list ports 'eth0'
list ports 'dheth0'
option promisc '1'

config interface 'lan'
option device 'br-lan'
option proto 'static'
option ip6assign '60'
option delegate '0'
option ipaddr '10.10.8.2'
option netmask '255.255.255.0'
option gateway '10.8.207.1'
option peerdns '0'
list dns '223.5.5.5'

config interface 'docker'
option device 'docker0'
option proto 'none'
option auto '0'

config device
option type 'bridge'
option name 'docker0'

config device
option name 'eth0'

config interface 'test'
option proto 'dhcp'
option device 'eth0'