1 .\" $FreeBSD: src/usr.sbin/rtadvd/rtadvd.8,v 1.3.2.6 2001/08/16 15:56:30 ru Exp $
2 .\" $KAME: rtadvd.8,v 1.24 2002/05/31 16:16:08 jinmei Exp $
4 .\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
5 .\" All rights reserved.
7 .\" Redistribution and use in source and binary forms, with or without
8 .\" modification, are permitted provided that the following conditions
10 .\" 1. Redistributions of source code must retain the above copyright
11 .\" notice, this list of conditions and the following disclaimer.
12 .\" 2. Redistributions in binary form must reproduce the above copyright
13 .\" notice, this list of conditions and the following disclaimer in the
14 .\" documentation and/or other materials provided with the distribution.
15 .\" 3. Neither the name of the project nor the names of its contributors
16 .\" may be used to endorse or promote products derived from this software
17 .\" without specific prior written permission.
19 .\" THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
20 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
23 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 .Nd router advertisement daemon
40 .Op Fl c Ar configfile
46 sends router advertisement packets to the specified
49 The program will daemonize itself on invocation.
50 It will then send router advertisement packets periodically, as well
51 as in response to router solicitation messages sent by end hosts.
53 Router advertisements can be configured on a per-interface basis, as
57 If there is no configuration file entry for an interface,
58 or if the configuration file does not exist altogether,
60 sets all the parameters to their default values.
63 reads all the interface routes from the routing table and advertises
64 them as on-link prefixes.
67 also watches the routing table.
68 If an interface direct route is
69 added on an advertising interface and no static prefixes are
70 specified by the configuration file,
72 adds the corresponding prefix to its advertising list.
74 Similarly, when an interface direct route is deleted,
76 will start advertising the prefixes with zero valid and preferred
77 lifetimes to help the receiving hosts switch to a new prefix when
79 Note, however, that the zero valid lifetime cannot invalidate the
80 autoconfigured addresses at a receiving host immediately.
81 According to the specification, the host will retain the address
82 for a certain period, which will typically be two hours.
83 The zero lifetimes rather intend to make the address deprecated,
84 indicating that a new non-deprecated address should be used as the
85 source address of a new connection.
86 This behavior will last for two hours.
89 will completely remove the prefix from the advertising list,
90 and succeeding advertisements will not contain the prefix information.
92 Moreover, if the status of an advertising interface changes,
94 will start or stop sending router advertisements according
99 option may be used to disable this behavior;
101 will not watch the routing table and the whole functionality described
102 above will be suppressed.
104 Basically, hosts MUST NOT send Router Advertisement messages at any
105 time (RFC 2461, Section 6.2.3).
106 However, it would sometimes be useful to allow hosts to advertise some
107 parameters such as prefix information and link MTU.
110 can be invoked if router lifetime is explicitly set zero on every
111 advertising interface.
113 The command line options are:
114 .Bl -tag -width indent
117 Specify an alternate location,
119 for the configuration file.
124 Print debugging information.
126 Even more debugging information is printed.
128 Foreground mode (useful when debugging).
129 Log messages will be dumped to stderr when this option is specified.
131 Specify an alternative file in which to dump internal states when
136 .Pa /var/run/rtadvd.dump .
138 Specify an interface to join the all-routers site-local multicast group.
141 tries to join the first advertising interface appearing on the command
143 This option has meaning only with the
145 option, which enables routing renumbering protocol support.
147 Specify an alternative file in which to store the process ID.
149 .Pa /var/run/rtadvd.pid.
151 Accept router renumbering requests.
152 If you enable it, certain IPsec setup is suggested for security reasons.
153 This option is currently disabled, and is ignored by
155 with a warning message.
157 Do not add or delete prefixes dynamically.
158 Only statically configured prefixes, if any, will be advertised.
161 Upon receipt of signal
164 will dump the current internal state into
165 .Pa /var/run/rtadvd.dump
166 or the file specified with option
176 will transmit router advertisement with router lifetime 0
177 to all the interfaces
178 .Pq in accordance with RFC2461 6.2.5 .
180 .Bl -tag -width Pa -compact
181 .It Pa /etc/rtadvd.conf
182 The default configuration file.
183 .It Pa /var/run/rtadvd.pid
184 The default process ID file.
185 .It Pa /var/run/rtadvd.dump
186 The default file in which
188 dumps its internal state.
198 command first appeared in the WIDE Hydrangea IPv6 protocol stack kit.
200 There used to be some text that recommended users not to let
202 advertise Router Advertisement messages on an upstream link to avoid
206 However, based on the later discussion in the IETF ipng working group,
207 all routers should rather advertise the messages regardless of
208 the network topology, in order to ensure reachability.