rtadvd

Router advertisement daemon

Syntax:

rtadvd [-c configfile] [-dDfRSs] interface ...

Runs on:

QNX Neutrino

Options:

-c configfile
Specify an alternate location, configfile, for the configuration file. By default, /etc/rtadvd.conf is used.
-D
Log more verbose debugging information (than the -d option) to syslogd.
-d
Log verbose debugging information to syslogd.
-f
Prevent rtadvd from becoming a daemon (run in foreground mode); this is useful when debugging. If you specify this option, log messages are dumped to stderr instead of to syslog().
-R
Accept router renumbering requests. If you enable it, certain IPsec setup is suggested for security reasons.
-S
(QNX Neutrino extension; QNX Neutrino 7.0 or later) Force log messages to go only to syslog(), even though -f is specified.
-s
Don't add or delete prefixes dynamically. Only statically configured prefixes, if any, will be advertised.
interface
The interface name(s) to use when sending router advertisement packets.

Description:

The rtadvd daemon sends router advertisement packets to the specified interfaces.

The program daemonizes itself on invocation. It then periodically sends 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 described in rtadvd.conf.

If there's no configuration file or the interface doesn't have a configuration file entry, rtadvd sets all the parameters to their default values. In particular, rtadvd reads all the interface routes from the routing table and advertises them as on-link prefixes.

The daemon also watches the routing table. By default, if an interface direct route is added on an advertising interface and no static prefixes are specified by the configuration file, rtadvd adds the corresponding prefix to its advertising list. Similarly, if such a route is deleted, rtadvd deletes the corresponding prefix from the list. The -s option disables this behavior. Moreover, if the status of an advertising interface changes, rtadvd will start or stop sending router advertisements according to the latest status.

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 transmit router advertisement with router lifetime 0 to all the interfaces (according to RFC2461 6.2.5).

Based on:

Thomas Narten, Erik Nordmark and W. A. Simpson, Neighbor Discovery for IP version 6 (IPv6), RFC 2461

Examples:

Start the router advertisement daemon:

rtadvd

Run the router advertisement program as a foreground process:

rtadvd -f

Files:

/etc/rtadvd.conf
Default configuration file.
/var/run/rtadvd.pid
Contains the PID of the currently running rtadvd.
/var/run/rtadvd.dump
The file in which rtadvd dumps its internal state.

Exit status:

0
Success.
0
An error occurred.

Contributing author:

Andrey A. Chernov

License:

This utility is based on copyright software of the Regents of the University of California; for licensing information, see Licensing information in Typographical Conventions, Support, and Licensing.

Caveats:

Router advertisements should only be performed downstream. Erroneous upstream advertisements will cause ICMPv6 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.