rtadvd(8) - NetBSD Manual Pages

Command: Section: Arch: Collection:  
RTADVD(8)               NetBSD System Manager's Manual               RTADVD(8)


NAME
rtadvd - router advertisement daemon
SYNOPSIS
rtadvd [-c configfile] [-dDfRs] interface ...
DESCRIPTION
rtadvd advertises router advertisement packet to the specified interfaces. The program will daemonize itself on invocation. It will then periodi- cally send router advertisement packets, as well as in response to router solicitation messages sent by end hosts. Router advertisements can be configured on a per-interface basis, as de- scribed in rtadvd.conf(5). In the event of no configuration file entry for an interface, or if the configuration file does not exist altogether, rtadvd sets all the parame- ters to their default values. In particular, rtadvd reads all the inter- face routes from the routing table and advertises them as on-link prefix- es. rtadvd also watches the routing table. By default, if an interface di- rect route is added/deleted on an advertising interface and no static prefixes are specified by the configuration file, rtadvd adds/deletes the corresponding prefix to/from its advertising list, respectively. The -s may be used to disable this behavior. Moreover, if the status of an ad- vertising interface changes, rtadvd will start or stop sending router ad- vertisements according to the latest status. The command line options are: -c Specify an alternate location, configfile, for the configuration file. By default, /etc/rtadvd.conf is used. -d Print debugging information. -D Even more debugging information is printed. -f Foreground mode (useful when debugging). -R Accept router renumbering requests. If you enable it, certain IPsec setup is suggested for security reasons. -s Do not add or delete prefixes dynamically. Only statically con- figured prefixes, if any, will be advertised. Upon receipt of signal SIGUSR1, rtadvd will dump the current internal state into /var/run/rtadvd.dump. Use SIGTERM to kill rtadvd gracefully. In this case, rtadvd will trans- mit router advertisement with router lifetime 0 to all the interfaces (according to RFC2461 6.2.5).
RETURN VALUES
The program exits with 0 on success, and non-zero on failures.
FILES
/etc/rtadvd.conf The default configuration file. /var/run/rtadvd.pid contains pid of the currently running rtadvd. /var/run/rtadvd.dump on which rtadvd dumps its internal state.
SEE ALSO
daemon(3), rtadvd.conf(5), rtsol(8)
HISTORY
The rtadvd command first appeared in WIDE Hydrangea IPv6 protocol stack kit.
CAVEAT
Router advertisements should only be performed downstream. Erroneous up- stream advertisements will cause icmp6(4) redirect packet storms in the subnet, as (per the specification) the advertising router is assumed to become the default router for end hosts in the subnet. NetBSD 1.5 May 17, 1998 2
Powered by man-cgi (2024-03-20). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.