summaryrefslogtreecommitdiff
path: root/docs/_include/interface-ipv6-address.txt
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-27 19:10:54 +0100
committerChristian Poessinger <christian@poessinger.com>2020-11-27 19:10:54 +0100
commit865e4632a2f1dd52f443c072fda5c629dc38ac72 (patch)
tree6fb3cea003a4b08e7cd81c5889c5bcde3855ca97 /docs/_include/interface-ipv6-address.txt
parent4bc9e94a7ad57ee6735533da59a808dc8caf3ba5 (diff)
downloadvyos-documentation-865e4632a2f1dd52f443c072fda5c629dc38ac72.tar.gz
vyos-documentation-865e4632a2f1dd52f443c072fda5c629dc38ac72.zip
include: ipv6: combine autoconf and eui64 into a single file
Diffstat (limited to 'docs/_include/interface-ipv6-address.txt')
-rw-r--r--docs/_include/interface-ipv6-address.txt30
1 files changed, 30 insertions, 0 deletions
diff --git a/docs/_include/interface-ipv6-address.txt b/docs/_include/interface-ipv6-address.txt
new file mode 100644
index 00000000..bde3f50d
--- /dev/null
+++ b/docs/_include/interface-ipv6-address.txt
@@ -0,0 +1,30 @@
+.. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }}
+ {{ var5 }} {{ var6 }} ipv6 address autoconf
+
+ :abbr:`SLAAC (Stateless Address Autoconfiguration)` :rfc:`4862`. IPv6 hosts
+ can configure themselves automatically when connected to an IPv6 network using
+ the Neighbor Discovery Protocol via :abbr:`ICMPv6 (Internet Control Message
+ Protocol version 6)` router discovery messages. When first connected to a
+ network, a host sends a link-local router solicitation multicast request for
+ its configuration parameters; routers respond to such a request with a router
+ advertisement packet that contains Internet Layer configuration parameters.
+
+ .. note:: This method automatically disables IPv6 traffic forwarding on the
+ interface in question.
+
+ Example:
+
+ .. code-block:: none
+
+ set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} ipv6 address autoconf
+
+
+.. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }}
+ {{ var5 }} {{ var6 }} ipv6 address eui64 <prefix>
+
+ :abbr:`EUI-64 (64-Bit Extended Unique Identifier)` as specified in
+ :rfc:`4291` allows a host to assign iteslf a unique 64-Bit IPv6 address.
+
+ .. code-block:: none
+
+ set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} ipv6 address eui64 2001:db8:beef::/64