]>
Commit | Line | Data |
---|---|---|
76b89b4a | 1 | @node IPv6 Support |
718e3744 | 2 | @chapter IPv6 Support |
3 | ||
7190f4ea | 4 | Quagga fully supports IPv6 routing. As described so far, Quagga supports |
718e3744 | 5 | RIPng, OSPFv3 and BGP-4+. You can give IPv6 addresses to an interface |
3e31cded | 6 | and configure static IPv6 routing information. Quagga IPv6 also provides |
718e3744 | 7 | automatic address configuration via a feature called @code{address |
8 | auto configuration}. To do it, the router must send router advertisement | |
9 | messages to the all nodes that exist on the network. | |
10 | ||
11 | @menu | |
12 | * Router Advertisement:: | |
13 | @end menu | |
14 | ||
76b89b4a | 15 | @node Router Advertisement |
718e3744 | 16 | @section Router Advertisement |
17 | ||
a2c0a57b | 18 | @deffn {Interface Command} {no ipv6 nd suppress-ra} {} |
3e31cded | 19 | Send router advertisment messages. |
718e3744 | 20 | @end deffn |
21 | ||
a2c0a57b | 22 | @deffn {Interface Command} {ipv6 nd suppress-ra} {} |
3e31cded | 23 | Don't send router advertisment messages. |
24 | @end deffn | |
25 | ||
26 | @deffn {Interface Command} {ipv6 nd prefix @var{ipv6prefix} [@var{valid-lifetime}] [@var{preferred-lifetime}] [off-link] [no-autconfig]} {} | |
27 | Configuring the IPv6 prefix to include in router advertisements. Several prefix | |
28 | specific optional parameters and flags may follow: | |
29 | @itemize @bullet | |
30 | @item | |
31 | @var{valid-lifetime} - the length of time in seconds during what the prefix is | |
32 | valid for the purpose of on-link determination. Value @var{infinite} represents | |
33 | infinity (i.e. a value of all one bits (@code{0xffffffff})). | |
34 | ||
35 | Range: @code{<0-4294967295>} Default: @code{2592000} | |
36 | ||
37 | @item | |
38 | @var{preferred-lifetime} - the length of time in seconds during what addresses | |
39 | generated from the prefix remain preferred. Value @var{infinite} represents | |
40 | infinity. | |
41 | ||
42 | Range: @code{<0-4294967295>} Default: @code{604800} | |
43 | ||
44 | @item | |
45 | @var{off-link} - indicates that advertisement makes no statement about on-link or | |
46 | off-link properties of the prefix. | |
47 | ||
48 | Default: not set, i.e. this prefix can be used for on-link determination. | |
49 | ||
50 | @item | |
51 | @var{no-autoconfig} - indicates to hosts on the local link that the specified prefix | |
52 | cannot be used for IPv6 autoconfiguration. | |
53 | ||
54 | Default: not set, i.e. prefix can be used for autoconfiguration. | |
55 | @end itemize | |
56 | @end deffn | |
57 | ||
58 | @deffn {Interface Command} {ipv6 nd ra-interval SECONDS} {} | |
59 | @deffnx {Interface Command} {no ipv6 nd ra-interval} {} | |
60 | The maximum time allowed between sending unsolicited multicast router | |
61 | advertisements from the interface, in seconds. Must be no less than 3 seconds. | |
62 | ||
63 | Default: @code{600} | |
64 | @end deffn | |
65 | ||
66 | @deffn {Interface Command} {ipv6 nd ra-lifetime SECONDS} {} | |
67 | @deffnx {Interface Command} {no ipv6 nd ra-lifetime} {} | |
68 | The value to be placed in the Router Lifetime field of router advertisements | |
69 | sent from the interface, in seconds. Indicates the usefulness of the router | |
70 | as a default router on this interface. Setting the value to zero indicates | |
71 | that the router should not be considered a default router on this interface. | |
72 | Must be either zero or between value specified with @var{ipv6 nd ra-interval} | |
73 | (or default) and 9000 seconds. | |
74 | ||
75 | Default: @code{1800} | |
76 | @end deffn | |
77 | ||
78 | @deffn {Interface Command} {ipv6 nd reachable-time MILLISECONDS} {} | |
79 | @deffnx {Interface Command} {no ipv6 nd reachable-time} {} | |
80 | The value to be placed in the Reachable Time field in the Router Advertisement | |
81 | messages sent by the router, in milliseconds. The configured time enables the | |
82 | router to detect unavailable neighbors. The value zero means unspecified (by | |
83 | this router). Must be no greater than @code{3,600,000} milliseconds (1 hour). | |
84 | ||
85 | Default: @code{0} | |
86 | @end deffn | |
87 | ||
88 | @deffn {Interface Command} {ipv6 nd managed-config-flag} {} | |
89 | @deffnx {Interface Command} {no ipv6 nd managed-config-flag} {} | |
90 | Set/unset flag in IPv6 router advertisements which indicates to hosts that they | |
91 | should use managed (stateful) protocol for addresses autoconfiguration in | |
92 | addition to any addresses autoconfigured using stateless address | |
93 | autoconfiguration. | |
94 | ||
95 | Default: not set | |
96 | @end deffn | |
97 | ||
98 | @deffn {Interface Command} {ipv6 nd other-config-flag} {} | |
99 | @deffnx {Interface Command} {no ipv6 nd other-config-flag} {} | |
100 | Set/unset flag in IPv6 router advertisements which indicates to hosts that | |
101 | they should use administered (stateful) protocol to obtain autoconfiguration | |
102 | information other than addresses. | |
103 | ||
104 | Default: not set | |
718e3744 | 105 | @end deffn |
106 | ||
107 | @example | |
108 | @group | |
109 | interface eth0 | |
a2c0a57b | 110 | no ipv6 nd suppress-ra |
3e31cded | 111 | ipv6 nd prefix 2001:0DB8:5009::/64 |
718e3744 | 112 | @end group |
113 | @end example | |
3e31cded | 114 | |
115 | For more information see @cite{RFC2462 (IPv6 Stateless Address Autoconfiguration)} | |
116 | and @cite{RFC2461 (Neighbor Discovery for IP Version 6 (IPv6))}. |