diff options
author | Christian Breunig <christian@breunig.cc> | 2024-03-12 16:58:25 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-03-12 18:34:54 +0100 |
commit | f1ead5c6a16aba00699b8a5b9c18ef6cffe8cc4d (patch) | |
tree | 1e697836d534de4a62b04882c2b97c6c0b9e2d0f /interface-definitions | |
parent | a4e21377271cfcf6359ed23db8a90129e264ba4d (diff) | |
download | vyos-1x-f1ead5c6a16aba00699b8a5b9c18ef6cffe8cc4d.tar.gz vyos-1x-f1ead5c6a16aba00699b8a5b9c18ef6cffe8cc4d.zip |
radvd: T6118: add nat64prefix support RFC8781
Add support for pref64 option, as defined in RFC8781. The prefix valid lifetime
must not be smaller than the "interface interval max" definition which defaults
to 600.
set service router-advert interface eth1 nat64prefix 64:ff9b::/96
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/service_router-advert.xml.in | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/interface-definitions/service_router-advert.xml.in b/interface-definitions/service_router-advert.xml.in index 16c29022d..166a4a0cf 100644 --- a/interface-definitions/service_router-advert.xml.in +++ b/interface-definitions/service_router-advert.xml.in @@ -225,6 +225,36 @@ </leafNode> </children> </tagNode> + <tagNode name="nat64prefix"> + <properties> + <help>NAT64 prefix included in the router advertisements</help> + <valueHelp> + <format>ipv6net</format> + <description>IPv6 prefix to be advertized</description> + </valueHelp> + <constraint> + <validator name="ipv6-prefix"/> + </constraint> + </properties> + <children> + <leafNode name="valid-lifetime"> + <properties> + <help>Time in seconds that the prefix will remain valid</help> + <completionHelp> + <list>infinity</list> + </completionHelp> + <valueHelp> + <format>u32:4-65528</format> + <description>Time in seconds that the prefix will remain valid</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 4-65528"/> + </constraint> + </properties> + <defaultValue>65528</defaultValue> + </leafNode> + </children> + </tagNode> <tagNode name="prefix"> <properties> <help>IPv6 prefix to be advertised in Router Advertisements (RAs)</help> |