1 .\" $KAME: rtadvd.8,v 1.24 2002/05/31 16:16:08 jinmei Exp $
3 .\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\" 3. Neither the name of the project nor the names of its contributors
15 .\" may be used to endorse or promote products derived from this software
16 .\" without specific prior written permission.
18 .\" THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
19 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
22 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 .\" $FreeBSD: stable/10/usr.sbin/rtadvd/rtadvd.8 247270 2013-02-25 16:47:09Z des $
37 .Nd router advertisement daemon
41 .Op Fl c Ar configfile
48 sends router advertisement packets to the specified
50 If no interfaces are specified,
52 will still run, but will not advertise any routes until interfaces are
56 The program will daemonize itself on invocation.
57 It will then send router advertisement packets periodically, as well
58 as in response to router solicitation messages sent by end hosts.
60 Router advertisements can be configured on a per-interface basis, as
64 If there is no configuration file entry for an interface,
65 or if the configuration file does not exist altogether,
67 sets all the parameters to their default values.
70 reads all the interface routes from the routing table and advertises
71 them as on-link prefixes.
74 also watches the routing table.
75 If an interface direct route is
76 added on an advertising interface and no static prefixes are
77 specified by the configuration file,
79 adds the corresponding prefix to its advertising list.
81 Similarly, when an interface direct route is deleted,
83 will start advertising the prefixes with zero valid and preferred
84 lifetimes to help the receiving hosts switch to a new prefix when
86 Note, however, that the zero valid lifetime cannot invalidate the
87 autoconfigured addresses at a receiving host immediately.
88 According to the specification, the host will retain the address
89 for a certain period, which will typically be two hours.
90 The zero lifetimes rather intend to make the address deprecated,
91 indicating that a new non-deprecated address should be used as the
92 source address of a new connection.
93 This behavior will last for two hours.
96 will completely remove the prefix from the advertising list,
97 and succeeding advertisements will not contain the prefix information.
99 Moreover, if the status of an advertising interface changes,
101 will start or stop sending router advertisements according
102 to the latest status.
106 option may be used to disable this behavior;
108 will not watch the routing table and the whole functionality described
109 above will be suppressed.
111 Basically, hosts MUST NOT send Router Advertisement messages at any
112 time (RFC 4861, Section 6.2.3).
113 However, it would sometimes be useful to allow hosts to advertise some
114 parameters such as prefix information and link MTU.
117 can be invoked if router lifetime is explicitly set zero on every
118 advertising interface.
120 The command line options are:
121 .Bl -tag -width indent
124 Specify an alternate location,
126 for the configuration file.
131 Specify an alternate location for the control socket used by
134 .Pa /var/run/rtadvd.sock .
136 Print debugging information.
138 Even more debugging information is printed.
140 Foreground mode (useful when debugging).
141 Log messages will be dumped to stderr when this option is specified.
143 Specify an interface to join the all-routers site-local multicast group.
146 tries to join the first advertising interface appearing on the command
148 This option has meaning only with the
150 option, which enables routing renumbering protocol support.
152 Specify an alternative file in which to store the process ID.
154 .Pa /var/run/rtadvd.pid .
156 Accept router renumbering requests.
157 If you enable it, certain IPsec setup is suggested for security reasons.
158 This option is currently disabled, and is ignored by
160 with a warning message.
162 Do not add or delete prefixes dynamically.
163 Only statically configured prefixes, if any, will be advertised.
168 to reload the configuration file
169 .Pa /etc/rtadvd.conf .
170 If an invalid parameter is found in the configuration file upon the reload,
171 the entry will be ignored and the old configuration will be used.
172 When parameters in an existing entry are updated,
174 will send Router Advertisement messages with the old configuration but
175 zero router lifetime to the interface first, and then start to send a new
185 will transmit router advertisement with router lifetime 0
186 to all the interfaces
187 .Pq in accordance with RFC 4861 6.2.5 .
189 .Bl -tag -width Pa -compact
190 .It Pa /etc/rtadvd.conf
191 The default configuration file.
192 .It Pa /var/run/rtadvd.pid
193 The default process ID file.
206 .%T Neighbor Discovery for IP version 6 (IPv6)
213 .%T Neighbor Discovery for IP version 6 (IPv6)
214 .%R RFC 2461 (obsoleted by RFC 4861)
218 .%T Default Router Preferences and More-Specific Routes
219 .%R draft-ietf-ipngwg-router-selection-xx.txt
226 .%T IPv6 Router Advertisement Options for DNS Configuration
232 command first appeared in the WIDE Hydrangea IPv6 protocol stack kit.
234 There used to be some text that recommended users not to let
236 advertise Router Advertisement messages on an upstream link to avoid
240 However, based on the later discussion in the IETF ipng working group,
241 all routers should rather advertise the messages regardless of
242 the network topology, in order to ensure reachability.