accesspoints: fix gateway and dns for ans aps

This commit is contained in:
Gregor Michels 2022-11-14 01:35:23 +01:00
parent 1e82bcc6b9
commit bf1c7bd3ab
2 changed files with 3 additions and 2 deletions

View File

@ -107,3 +107,4 @@ wifi_disabled=1
backoffice_wifi_ssid="GU Arno-Nitzsche-Strasse Backoffice"
backoffice_wifi_encryption=psk2
backoffice_wifi_psk="{{ lookup('passwordstore', 'wifi/GU_Arno-Nitzsche-Straße_Backoffice') }}"
mgmt_gateway=10.85.1.1

View File

@ -10,8 +10,8 @@ config interface 'mgmt'
option proto 'static'
option ipaddr '{{ ip }}'
option netmask '255.255.255.0'
option gateway '10.84.1.1'
list dns '10.84.1.1'
option gateway '{{ mgmt_gateway | default(10.84.1.1) }}'
list dns '{{ mgmt_gateway | default(10.84.1.1) }}'
config interface 'clients'
option type 'bridge'