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. Also, specifies IPsec policy for 94rrenumd sessions. Because router renumbering can change the system's 95IPv6 prefix, its messages must be protected by IPsec. For details about 96.Ar policy , 97please refer to 98.Xr ipsec 4 99and 100.Xr ipsec_set_policy 3 . 101.It Fl d 102Debug. 103.It Fl D 104More debug. 105.It Fl f 106Foreground mode. 107Do not become daemon. 108.It Fl s 109Static prefix. 110Do not watch the routing table. 111.El 112.Sh RETURN VALUES 113The program exits with 0 on success, and non-zero on failures. 114.Sh FILES 115.Bl -tag -width /etc/rtadvd.conf -compact 116.It Pa /etc/rtadvd.conf 117The default configuration file. 118.El 119.Sh SEE ALSO 120.Xr daemon 3 , 121.Xr rtadvd.conf 5 , 122.Xr rtsol 8 123.Sh HISTORY 124The 125.Nm 126command first appeared in WIDE Hydrangea IPv6 protocol stack kit. 127.Sh CAVEAT 128Do not perform router advertisement toward upstream direction, 129you should only advertise to downstream direction. 130If you advertise toward upstream by mistake, 131you will see icmp6 redirect storm on that subnet. 132This is because of the specification, 133which says that advertising router is assumed to become 134the default outgoing router for end hosts in the subnet. 135