summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-05 18:47:31 +0200
committerGitHub <noreply@github.com>2020-10-05 18:47:31 +0200
commita093620f1525c46f5b63453ca703a9b027a01748 (patch)
tree53e6d87b75e62b7771ef1fd952d4a5917b6813a0 /data/templates
parent65acae4868363117697ccefff10d0ef12fae9da4 (diff)
parent51a6eaa324775049ee666503ca0a63571750ac25 (diff)
downloadvyos-1x-a093620f1525c46f5b63453ca703a9b027a01748.tar.gz
vyos-1x-a093620f1525c46f5b63453ca703a9b027a01748.zip
Merge pull request #562 from lucasec/dhcpv6-stateless
dhcpv6: T2961: support stateless dhcpv6 clients
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/dhcpv6-server/dhcpdv6.conf.tmpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/data/templates/dhcpv6-server/dhcpdv6.conf.tmpl b/data/templates/dhcpv6-server/dhcpdv6.conf.tmpl
index ff7822b0d..bdeea71da 100644
--- a/data/templates/dhcpv6-server/dhcpdv6.conf.tmpl
+++ b/data/templates/dhcpv6-server/dhcpdv6.conf.tmpl
@@ -12,6 +12,15 @@ option dhcp6.preference {{ preference }};
{% for network in shared_network %}
{%- if not network.disabled -%}
shared-network {{ network.name }} {
+ {%- if network.common.info_refresh_time %}
+ option dhcp6.info-refresh-time {{ network.common.info_refresh_time }};
+ {%- endif %}
+ {%- if network.common.domain_search %}
+ option dhcp6.domain-search "{{ network.common.domain_search | join('", "') }}";
+ {%- endif %}
+ {%- if network.common.dns_server %}
+ option dhcp6.name-servers {{ network.common.dns_server | join(', ') }};
+ {%- endif %}
{%- for subnet in network.subnet %}
subnet6 {{ subnet.network }} {
{%- for range in subnet.range6_prefix %}