summaryrefslogtreecommitdiff
path: root/data/templates/router-advert/radvd.conf.j2
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-03-13 11:13:48 +0100
committerGitHub <noreply@github.com>2024-03-13 11:13:48 +0100
commit7fb112d409af83185ea9635aa6c775b02bc28c43 (patch)
tree101a21de086b40bc097e17365fb5524f9e3055cd /data/templates/router-advert/radvd.conf.j2
parentf2038cd6f23f0114452688a5b66145c531982249 (diff)
parentf1ead5c6a16aba00699b8a5b9c18ef6cffe8cc4d (diff)
downloadvyos-1x-7fb112d409af83185ea9635aa6c775b02bc28c43.tar.gz
vyos-1x-7fb112d409af83185ea9635aa6c775b02bc28c43.zip
Merge pull request #3125 from c-po/radvd-T6118
radvd: T6118: add nat64prefix support RFC8781
Diffstat (limited to 'data/templates/router-advert/radvd.conf.j2')
-rw-r--r--data/templates/router-advert/radvd.conf.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/data/templates/router-advert/radvd.conf.j2 b/data/templates/router-advert/radvd.conf.j2
index 4ef4751dd..97180d164 100644
--- a/data/templates/router-advert/radvd.conf.j2
+++ b/data/templates/router-advert/radvd.conf.j2
@@ -50,6 +50,13 @@ interface {{ iface }} {
{% endfor %}
};
{% endif %}
+{% if iface_config.nat64prefix is vyos_defined %}
+{% for nat64prefix, nat64prefix_options in iface_config.nat64prefix.items() %}
+ nat64prefix {{ nat64prefix }} {
+ AdvValidLifetime {{ nat64prefix_options.valid_lifetime }};
+ };
+{% endfor %}
+{% endif %}
{% if iface_config.prefix is vyos_defined %}
{% for prefix, prefix_options in iface_config.prefix.items() %}
prefix {{ prefix }} {