eae-am-deutschen-platz/templates/accesspoints/etc/config/network

24 lines
619 B
Plaintext

config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'mgmt'
option device 'eth0'
option proto 'static'
option ipaddr '{{ ip }}'
option netmask '255.255.255.0'
option gateway '{{ mgmt_gateway | default('10.84.1.1') }}'
list dns '{{ mgmt_gateway | default('10.84.1.1') }}'
config interface 'clients'
option type 'bridge'
option ifname 'eth0.2'
config interface 'backoffice'
option type 'bridge'
option ifname 'eth0.8'