Add v6 configurations to dnsmasq

These options were only applied with v4 networks; now, use the v6
address in a dual-stack or v6-only network.
This commit is contained in:
Joshua Boniface 2020-01-06 23:48:04 -05:00
parent b452a7355f
commit 21d87f5e51
1 changed files with 2 additions and 0 deletions

View File

@ -675,7 +675,9 @@ add rule inet filter forward ip6 saddr {netaddr6} counter jump {vxlannic}-out
] ]
dhcp_configuration_v6 = [ dhcp_configuration_v6 = [
'--listen-address={}'.format(self.ip6_gateway), '--listen-address={}'.format(self.ip6_gateway),
'--auth-zone={}'.format(self.domain),
'--auth-peer={}'.format(self.ip6_gateway), '--auth-peer={}'.format(self.ip6_gateway),
'--auth-server={}'.format(self.ip6_gateway),
'--auth-sec-servers={}'.format(self.ip6_gateway), '--auth-sec-servers={}'.format(self.ip6_gateway),
'--dhcp-option=option6:dns-server,[{}]'.format(self.ip6_gateway), '--dhcp-option=option6:dns-server,[{}]'.format(self.ip6_gateway),
'--dhcp-option=option6:sntp-server,[{}]'.format(self.ip6_gateway), '--dhcp-option=option6:sntp-server,[{}]'.format(self.ip6_gateway),