forked from zentralwerk/network
cpe.ap: configure mgmt ipv6
This commit is contained in:
parent
b34306f458
commit
b5c20fcd6e
|
@ -108,6 +108,14 @@ set network.mgmt.ifname=eth0.1
|
|||
set network.mgmt.proto=static
|
||||
set network.mgmt.ipaddr={{ pillar['hosts-inet']['mgmt'][hostname] }}
|
||||
set network.mgmt.netmask=255.255.255.0
|
||||
set network.mgmt.gateway={{ pillar['hosts-inet']['mgmt']['mgmt-gw'] }}
|
||||
set network.mgmt.ip6addr={{ pillar['hosts-inet6']['mgmt'][hostname] }}/64
|
||||
set network.mgmt.ip6gw={{ pillar['hosts-inet']['mgmt']['mgmt-gw'] }}
|
||||
delete network.mgmt.dns
|
||||
add_list network.mgmt.dns={{ pillar['hosts-inet']['core']['upstream1'] }}
|
||||
add_list network.mgmt.dns={{ pillar['hosts-inet6']['core']['upstream1'] }}
|
||||
add_list network.mgmt.dns={{ pillar['hosts-inet']['core']['upstream2'] }}
|
||||
add_list network.mgmt.dns={{ pillar['hosts-inet6']['core']['upstream2'] }}
|
||||
|
||||
{%- for net in bridges.keys() %}
|
||||
set network.{{ net }}=interface
|
||||
|
|
Loading…
Reference in New Issue