1 .\" $FreeBSD: src/usr.sbin/rtadvd/rtadvd.8,v 1.3.2.8 2003/03/11 22:31:32 trhodes Exp $
2 .\" $DragonFly: src/usr.sbin/rtadvd/rtadvd.8,v 1.4 2007/11/23 23:16:37 swildner Exp $
3 .\" $KAME: rtadvd.8,v 1.17 2001/02/04 05:34:38 jinmei Exp $
5 .\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
6 .\" All rights reserved.
8 .\" Redistribution and use in source and binary forms, with or without
9 .\" modification, are permitted provided that the following conditions
11 .\" 1. Redistributions of source code must retain the above copyright
12 .\" notice, this list of conditions and the following disclaimer.
13 .\" 2. Redistributions in binary form must reproduce the above copyright
14 .\" notice, this list of conditions and the following disclaimer in the
15 .\" documentation and/or other materials provided with the distribution.
16 .\" 3. Neither the name of the project nor the names of its contributors
17 .\" may be used to endorse or promote products derived from this software
18 .\" without specific prior written permission.
20 .\" THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37 .Nd router advertisement daemon
41 .Op Fl c Ar configfile
46 utility 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.
68 utility also watches the routing table.
69 If an interface direct route is
70 added on an advertising interface and no static prefixes are
71 specified by the configuration file,
73 adds the corresponding prefix to its advertising list.
75 Similarly, when an interface direct route is deleted,
77 will start advertising the prefixes with zero valid and preferred
78 lifetimes to help the receiving hosts switch to a new prefix when
80 Note, however, that the zero valid lifetime cannot invalidate the
81 autoconfigured addresses at a receiving host immediately.
82 According to the specification, the host will retain the address
83 for a certain period, which will typically be two hours.
84 The zero lifetimes rather intend to make the address deprecated,
85 indicating that a new non-deprecated address should be used as the
86 source address of a new connection.
87 This behavior will last for two hours.
90 will completely remove the prefix from the advertising list,
91 and succeeding advertisements will not contain the prefix information.
93 Moreover, if the status of an advertising interface changes,
95 will start or stop sending router advertisements according
100 option may be used to disable this behavior;
102 will not watch the routing table and the whole functionality described
103 above will be suppressed.
105 Basically, hosts MUST NOT send Router Advertisement messages at any
106 time (RFC 2461, Section 6.2.3).
107 However, it would sometimes be useful to allow hosts to advertise some
108 parameters such as prefix information and link MTU.
111 can be invoked if router lifetime is explicitly set zero on every
112 advertising interface.
114 The command line options are:
115 .Bl -tag -width indent
118 Specify an alternate location,
120 for the configuration file.
125 Print debugging information.
127 Even more debugging information is printed.
129 Foreground mode (useful when debugging).
131 Specify an interface to join the all-routers site-local multicast group.
134 tries to join the first advertising interface appeared in the command
136 This option has meaning only with the
138 option, which enables routing renumbering protocol support.
140 .\"Enables mobile IPv6 support.
141 .\"This changes the content of router advertisement option, as well as
142 .\"permitted configuration directives.
144 Accept router renumbering requests.
145 If you enable it, certain IPsec setup is suggested for security reasons.
146 On KAME-based systems,
148 generates router renumbering request packets.
149 This option is currently disabled, and is ignored by
151 with a warning message.
153 Do not add or delete prefixes dynamically.
154 Only statically configured prefixes, if any, will be advertised.
157 Upon receipt of signal
160 will dump the current internal state into
161 .Pa /var/run/rtadvd.dump .
170 will transmit router advertisement with router lifetime 0
171 to all the interfaces
172 (in accordance with RFC 2461 6.2.5).
174 .Bl -tag -width Pa -compact
175 .It Pa /etc/rtadvd.conf
176 The default configuration file.
177 .It Pa /var/run/rtadvd.pid
178 contains the pid of the currently running
180 .It Pa /var/run/rtadvd.dump
183 dumps its internal state.
194 utility first appeared in WIDE Hydrangea IPv6 protocol stack kit.
196 There used to be some text that recommended users not to let
198 advertise Router Advertisement messages on an upstream link to avoid
202 However, based on the later discussion in the IETF ipng working group,
203 all routers should rather advertise the messages regardless of
204 the network topology, in order to ensure reachability.