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