summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-17 18:46:36 +0200
committerChristian Poessinger <christian@poessinger.com>2020-05-17 18:47:30 +0200
commitca2f7e5e62efa163843b45a4f89c1e66d40a9a4a (patch)
tree3b4922adc81e3b5c164f978fee0da357f2fe2d47 /data
parent843c789a0e92c10965440162f4c2af774e61d32e (diff)
downloadvyos-1x-ca2f7e5e62efa163843b45a4f89c1e66d40a9a4a.tar.gz
vyos-1x-ca2f7e5e62efa163843b45a4f89c1e66d40a9a4a.zip
pppoe-server: T2471: add SLAAC support
... by setting AdvAutonomousFlag=1 when an IPv6 client pool is defined.
Diffstat (limited to 'data')
-rw-r--r--data/templates/accel-ppp/pppoe.config.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/accel-ppp/pppoe.config.tmpl b/data/templates/accel-ppp/pppoe.config.tmpl
index aece47a66..aa9254e61 100644
--- a/data/templates/accel-ppp/pppoe.config.tmpl
+++ b/data/templates/accel-ppp/pppoe.config.tmpl
@@ -53,6 +53,9 @@ gw-ip-address={{ ppp_gw }}
{% endif %}
{% if client_ipv6_pool %}
+[ipv6-nd]
+AdvAutonomousFlag=1
+
[ipv6-pool]
{% for p in client_ipv6_pool %}
{{ p.prefix }},{{ p.mask }}