1.\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. 9.\" 2. Redistributions in binary form must reproduce the above copyright 10.\" notice, this list of conditions and the following disclaimer in the 11.\" documentation and/or other materials provided with the distribution. 12.\" 3. Neither the name of the project nor the names of its contributors 13.\" may be used to endorse or promote products derived from this software 14.\" without specific prior written permission. 15.\" 16.\" THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND 17.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19.\" ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE 20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26.\" SUCH DAMAGE. 27.\" 28.\" $Id: rtadvd.8,v 1.1.1.1 1999/08/08 23:31:42 itojun Exp $ 29.\" $FreeBSD$ 30.\" 31.Dd May 17, 1998 32.Dt RTADVD 8 33.Os KAME 34.Sh NAME 35.Nm rtadvd 36.Nd router advertisement daemon 37.Sh SYNOPSIS 38.Nm 39.Op Fl c Ar configfile 40.Op Fl P Ar policy 41.Op Fl dDfs 42.Ar interface ... 43.Sh DESCRIPTION 44.Nm Rtadvd 45advertises router advertisement packet to the specified 46.Ar interfaces . 47.Pp 48The program will daemonize itself on invocation. 49Then, it will voluntarily send router advertisement packet periodically. 50If a router solicitation packet from host has reached the program, 51the program will respond by router advertisement packet. 52.Pp 53For each interface, which is called advertising interface, 54content of router advertisement can be described in 55.Xr rtadvd.conf 5 . 56.Pp 57If there is no description for the interface in the configuration file 58or if the configuration file does not exist, 59.Nm 60sets all the parameters to their default values. 61In particular, 62.Nm 63gets all the interface routes from the routing table and advertises 64them as on-link prefixes. 65.Pp 66.Nm Rtadvd 67watches the routing table. 68By default, if an interface direct route is 69added/deleted on an advertising interface, 70.Nm 71adds/deletes the corresponding prefix to/from its advertising list, 72respectively. 73If you do not want to enable this feature, you should specify the 74.Ic Fl s 75command line option when advocation. 76.Pp 77.Nm Rtadvd 78can also receive router renumbering packets, and can do router 79renumbering for the system it runs on, as the contents of those 80packets. 81.Bl -tag -width indent 82.\" 83.It Fl c 84Specify an alternate location, 85.Ar configfile , 86for the configuration file. 87By default, 88.Pa /etc/rtadvd.conf 89is used. 90.It Fl P 91Specifies that 92.Nm 93receives router renumbering messages. 94Also, specifies IPsec policy for 95rrenumd sessions. 96Because router renumbering can change the system's 97IPv6 prefix, its messages must be protected by IPsec. 98For details about 99.Ar policy , 100please refer to 101.Xr ipsec 4 102and 103.Xr ipsec_set_policy 3 . 104.It Fl d 105Debug. 106.It Fl D 107More debug. 108.It Fl f 109Foreground mode. 110Do not become daemon. 111.It Fl s 112Static prefix. 113Do not watch the routing table. 114.El 115.Sh RETURN VALUES 116The program exits with 0 on success, and non-zero on failures. 117.Sh FILES 118.Bl -tag -width /etc/rtadvd.conf -compact 119.It Pa /etc/rtadvd.conf 120The default configuration file. 121.El 122.Sh SEE ALSO 123.Xr daemon 3 , 124.Xr rtadvd.conf 5 , 125.Xr rtsol 8 126.Sh HISTORY 127The 128.Nm 129command first appeared in WIDE Hydrangea IPv6 protocol stack kit. 130.Sh CAVEAT 131Do not perform router advertisement toward upstream direction, 132you should only advertise to downstream direction. 133If you advertise toward upstream by mistake, 134you will see icmp6 redirect storm on that subnet. 135This is because of the specification, 136which says that advertising router is assumed to become 137the default outgoing router for end hosts in the subnet. 138