diff options
Diffstat (limited to 'examples/tg19/dhcp/templates/dhcpd6.conf')
-rw-r--r-- | examples/tg19/dhcp/templates/dhcpd6.conf | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/tg19/dhcp/templates/dhcpd6.conf b/examples/tg19/dhcp/templates/dhcpd6.conf new file mode 100644 index 0000000..01bca44 --- /dev/null +++ b/examples/tg19/dhcp/templates/dhcpd6.conf @@ -0,0 +1,17 @@ +# Autogenerated dhcpd6.conf from gondul + +{% for (network, n) in objects["read/networks"].networks|dictsort %} +{% if n != None and n.subnet6 != None %} +# {{network}} +subnet6 {{ n.subnet6|networkId }}/{{ n.subnet6|cidr }} { + range6 {{ n.subnet6|networkId }}1000 {{ n.subnet6|networkId }}9999; + option domain-name "{{network}}.tg19.gathering.org"; +} + +zone {{network}}.tg19.gathering.org { + primary 127.0.0.1; + key DHCP_UPDATER; +} + +{% endif %} +{% endfor %} |