diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-10-05 18:47:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-05 18:47:31 +0200 |
commit | a093620f1525c46f5b63453ca703a9b027a01748 (patch) | |
tree | 53e6d87b75e62b7771ef1fd952d4a5917b6813a0 /data | |
parent | 65acae4868363117697ccefff10d0ef12fae9da4 (diff) | |
parent | 51a6eaa324775049ee666503ca0a63571750ac25 (diff) | |
download | vyos-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')
-rw-r--r-- | data/templates/dhcpv6-server/dhcpdv6.conf.tmpl | 9 |
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 %} |