blob: a122ae1a2cc8a473a5c534bd5aebee9393a2c2ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
.. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }}
{{ var5 }} {{ var6 }} ipv6 address autoconf
**Configure the interface to automatically obtain an IPv6 address using**
:abbr:`SLAAC (Stateless Address Autoconfiguration)`, **as specified in**
:rfc:`4862`.
IPv6 hosts can configure themselves automatically when connected to an
IPv6 network using the Neighbor Discovery Protocol via ICMPv6 router
discovery messages. When first connected to a network, a host sends a
link-local router solicitation multicast request for its configuration
parameters. The router responds with a router advertisement packet
containing Internet Layer configuration parameters.
.. note:: This method automatically disables IPv6 traffic forwarding
on the interface.
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>
**Configure the interface to assign itself an IPv6 address using the**
:abbr:`EUI-64 (64-Bit Extended Unique Identifier)` **method, as
specified** in :rfc:`4291`.
Example:
.. code-block:: none
set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} ipv6 address eui64 2001:db8:beef::/64
.. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }}
{{ var5 }} {{ var6 }} ipv6 address no-default-link-local
**Disable the automatic assignment of a link-local IPv6 address to
this interface.**
Example:
.. code-block:: none
set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} ipv6 address no-default-link-local
.. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }}
{{ var5 }} {{ var6 }} ipv6 disable-forwarding
**Configure the interface for host or router behavior.**
If configured, the interface switches to host mode, and IPv6 forwarding is
disabled on it.
Example:
.. code-block:: none
set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} ipv6 disable-forwarding
.. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }}
{{ var5 }} {{ var6 }} ipv6 adjust-mss <mss | clamp-mss-to-pmtu>
**Configure the** :abbr:`MSS (Maximum Segment Size)` **advertised in outgoing
TCP SYN packets on the specified interface.**
By clamping the MSS value in TCP SYN packets, you explicitly inform
the remote side not to send packets larger than that size. This prevents
connection issues when Path MTU Discovery (PMTUD) fails.
The following options are available:
* **mss:** Set the MSS to a specific value, in bytes. Use this option to
enforce a specific MSS, for example, to troubleshoot connectivity issues
or accommodate specific network requirements.
* **clamp-mss-to-pmtu:** The router calculates the MSS to be the interface's
MTU minus 60 bytes for IPv6 traffic (40 bytes for the IPv6 header and 20
bytes for the TCP header). This option is recommended to automatically
set the proper value.
.. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }}
{{ var5 }} {{ var6 }} ipv6 accept-dad <0 | 1 | 2>
**Configure IPv6** :abbr:`DAD (Duplicate Address Detection)` **on the
interface.**
The following options are available:
- **0:** Disables DAD. No duplicate address detection is performed.
- **1:** Enables DAD (default). Duplicate addresses are detected. The
interface's IPv6 operation continues for valid IPv6 addresses.
- **2:** Enables DAD and, if a MAC-based duplicate link-local address
is found, disables IPv6 operation on this interface.
Example:
.. code-block:: none
set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} ipv6 accept-dad 2
.. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }}
{{ var5 }} {{ var6 }} ipv6 dup-addr-detect-transmits <n>
**Configure the number of** :abbr:`DAD (Duplicate Address Detection)`
**messages that the router (kernel) sends during IPv6 address assignment
on this interface.**
The default value is 1.
Example:
.. code-block:: none
set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} ipv6 dup-addr-detect-transmits 5
|