diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-05-19 17:12:51 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-05-19 17:13:08 +0200 |
commit | 5cbdffd3c1bd3eedc1b17010964dc69be6962349 (patch) | |
tree | 5f1babafdbdafa8fab876fee3e19da46a7807687 /data | |
parent | 6e77c5b73eb040e3a9adb35b10c42ea2117f655a (diff) | |
download | vyos-1x-5cbdffd3c1bd3eedc1b17010964dc69be6962349.tar.gz vyos-1x-5cbdffd3c1bd3eedc1b17010964dc69be6962349.zip |
dhcpv6-server: T815: support delegating IPv6 prefixes
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/dhcpv6-server/dhcpdv6.conf.tmpl | 3 |
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 }} { |