summaryrefslogtreecommitdiff
path: root/data/templates/dhcpv6-server/dhcpdv6.conf.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/dhcpv6-server/dhcpdv6.conf.tmpl')
-rw-r--r--data/templates/dhcpv6-server/dhcpdv6.conf.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/dhcpv6-server/dhcpdv6.conf.tmpl b/data/templates/dhcpv6-server/dhcpdv6.conf.tmpl
index d6b0ae935..ff7822b0d 100644
--- a/data/templates/dhcpv6-server/dhcpdv6.conf.tmpl
+++ b/data/templates/dhcpv6-server/dhcpdv6.conf.tmpl
@@ -56,6 +56,9 @@ shared-network {{ network.name }} {
{%- if subnet.sntp_server %}
option dhcp6.sntp-servers {{ subnet.sntp_server | join(', ') }};
{%- endif %}
+ {%- for prefix in subnet.prefix_delegation %}
+ prefix6 {{ prefix.start }} {{ prefix.stop }} /{{ prefix.length }};
+ {%- endfor %}
{%- for host in subnet.static_mapping %}
{% if not host.disabled -%}
host {{ network.name }}_{{ host.name }} {