paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 1 | @node IPv6 Support, Kernel Interface, Route Map, Top |
| 2 | @comment node-name, next, previous, up |
| 3 | @chapter IPv6 Support |
| 4 | |
paul | 7190f4e | 2003-08-12 12:40:20 +0000 | [diff] [blame] | 5 | Quagga fully supports IPv6 routing. As described so far, Quagga supports |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 6 | RIPng, OSPFv3 and BGP-4+. You can give IPv6 addresses to an interface |
hasso | 3e31cde | 2004-05-18 11:58:59 +0000 | [diff] [blame] | 7 | and configure static IPv6 routing information. Quagga IPv6 also provides |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 8 | automatic address configuration via a feature called @code{address |
| 9 | auto configuration}. To do it, the router must send router advertisement |
| 10 | messages 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 | |
gdt | a2c0a57 | 2004-11-05 12:59:21 +0000 | [diff] [blame^] | 20 | @deffn {Interface Command} {no ipv6 nd suppress-ra} {} |
hasso | 3e31cde | 2004-05-18 11:58:59 +0000 | [diff] [blame] | 21 | Send router advertisment messages. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 22 | @end deffn |
| 23 | |
gdt | a2c0a57 | 2004-11-05 12:59:21 +0000 | [diff] [blame^] | 24 | @deffn {Interface Command} {ipv6 nd suppress-ra} {} |
hasso | 3e31cde | 2004-05-18 11:58:59 +0000 | [diff] [blame] | 25 | Don'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]} {} |
| 29 | Configuring the IPv6 prefix to include in router advertisements. Several prefix |
| 30 | specific 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 |
| 34 | valid for the purpose of on-link determination. Value @var{infinite} represents |
| 35 | infinity (i.e. a value of all one bits (@code{0xffffffff})). |
| 36 | |
| 37 | Range: @code{<0-4294967295>} Default: @code{2592000} |
| 38 | |
| 39 | @item |
| 40 | @var{preferred-lifetime} - the length of time in seconds during what addresses |
| 41 | generated from the prefix remain preferred. Value @var{infinite} represents |
| 42 | infinity. |
| 43 | |
| 44 | Range: @code{<0-4294967295>} Default: @code{604800} |
| 45 | |
| 46 | @item |
| 47 | @var{off-link} - indicates that advertisement makes no statement about on-link or |
| 48 | off-link properties of the prefix. |
| 49 | |
| 50 | Default: 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 |
| 54 | cannot be used for IPv6 autoconfiguration. |
| 55 | |
| 56 | Default: 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} {} |
| 62 | The maximum time allowed between sending unsolicited multicast router |
| 63 | advertisements from the interface, in seconds. Must be no less than 3 seconds. |
| 64 | |
| 65 | Default: @code{600} |
| 66 | @end deffn |
| 67 | |
| 68 | @deffn {Interface Command} {ipv6 nd ra-lifetime SECONDS} {} |
| 69 | @deffnx {Interface Command} {no ipv6 nd ra-lifetime} {} |
| 70 | The value to be placed in the Router Lifetime field of router advertisements |
| 71 | sent from the interface, in seconds. Indicates the usefulness of the router |
| 72 | as a default router on this interface. Setting the value to zero indicates |
| 73 | that the router should not be considered a default router on this interface. |
| 74 | Must be either zero or between value specified with @var{ipv6 nd ra-interval} |
| 75 | (or default) and 9000 seconds. |
| 76 | |
| 77 | Default: @code{1800} |
| 78 | @end deffn |
| 79 | |
| 80 | @deffn {Interface Command} {ipv6 nd reachable-time MILLISECONDS} {} |
| 81 | @deffnx {Interface Command} {no ipv6 nd reachable-time} {} |
| 82 | The value to be placed in the Reachable Time field in the Router Advertisement |
| 83 | messages sent by the router, in milliseconds. The configured time enables the |
| 84 | router to detect unavailable neighbors. The value zero means unspecified (by |
| 85 | this router). Must be no greater than @code{3,600,000} milliseconds (1 hour). |
| 86 | |
| 87 | Default: @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} {} |
| 92 | Set/unset flag in IPv6 router advertisements which indicates to hosts that they |
| 93 | should use managed (stateful) protocol for addresses autoconfiguration in |
| 94 | addition to any addresses autoconfigured using stateless address |
| 95 | autoconfiguration. |
| 96 | |
| 97 | Default: 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} {} |
| 102 | Set/unset flag in IPv6 router advertisements which indicates to hosts that |
| 103 | they should use administered (stateful) protocol to obtain autoconfiguration |
| 104 | information other than addresses. |
| 105 | |
| 106 | Default: not set |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 107 | @end deffn |
| 108 | |
| 109 | @example |
| 110 | @group |
| 111 | interface eth0 |
gdt | a2c0a57 | 2004-11-05 12:59:21 +0000 | [diff] [blame^] | 112 | no ipv6 nd suppress-ra |
hasso | 3e31cde | 2004-05-18 11:58:59 +0000 | [diff] [blame] | 113 | ipv6 nd prefix 2001:0DB8:5009::/64 |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 114 | @end group |
| 115 | @end example |
hasso | 3e31cde | 2004-05-18 11:58:59 +0000 | [diff] [blame] | 116 | |
| 117 | For more information see @cite{RFC2462 (IPv6 Stateless Address Autoconfiguration)} |
| 118 | and @cite{RFC2461 (Neighbor Discovery for IP Version 6 (IPv6))}. |