diff options
author | Ondřej Caletka <ondrej@caletka.cz> | 2022-06-04 23:42:59 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-06-23 14:09:59 +0200 |
commit | c6bff6f1c0fbb37a21a7f54e393615bad22a72d9 (patch) | |
tree | c6228ad688e168e0d52abde6e365fcacc933ffa8 /README | |
parent | 40ab806bf4c8698ac925d094ce11ce1d57ae2e46 (diff) |
router: Add PREF64 (RFC 8781) support
This option of IPv6 Router Advertisements allows devices connected to
a IPv6-only network to discover IPv6 prefix of the NAT64 gateway.
Devices can use this information for instance to setup client translator
(CLAT) from IPv4 to IPv6 in 464XLAT (RFC 6877) scenario or to handle
IPv4 address literal on application level.
To enable PREF64 option, a new uci parameter ra_pref64 has to contain
the NAT64 prefix, including prefix length. Only lengths of 96, 64, 56,
48, 40 and 32 bits are supported. For example, to annonce the Well-Known
Prefix:
config dhcp 'lan'
…
option ra_pref64 '64:ff9b::/96'
Fixes: #182
Signed-off-by: Ondřej Caletka <ondrej@caletka.cz>
[ remove extra space for Fixes tag ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'README')
-rw-r--r-- | README | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -142,6 +142,8 @@ ra_mtu integer - MTU to be advertised in RA messages ra_dns bool 1 Announce DNS configuration in RA messages (RFC8106) +ra_pref64 string Announce PREF64 option + [IPv6 prefix] for NAT64 prefix (RFC8781) ndproxy_routing bool 1 Learn routes from NDP ndproxy_slave bool 0 NDProxy external slave prefix_filter string ::/0 Only advertise on-link prefixes within |