From 5cbdffd3c1bd3eedc1b17010964dc69be6962349 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 19 May 2020 17:12:51 +0200 Subject: dhcpv6-server: T815: support delegating IPv6 prefixes --- data/templates/dhcpv6-server/dhcpdv6.conf.tmpl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'data/templates/dhcpv6-server') 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 }} { -- cgit v1.2.3