System Administration Guide, Volume 3
[ Previous ][ Fast Back ]Chapter 1. Managing IPv6 Concepts[ Fast Forward ][ Next ]

in.ndpd Daemon

This daemon implements router discovery and auto-address configuration for IPv6. Table 1-2 shows the supported options.

Table 1-2. in.ndpd Daemon Options




Turns on debugging for all events


Turns on specific debugging


File to read configuration from (instead of default file)


Prints per interface related information


Does not loop back router advertisements


Ignores received packets


Verbose mode (reports various types of diagnostic messages)


Turns on packet tracing

Parameters set in the /etc/inet/ndpd.conf configuration file and the /var/inet/ndpd_state.interface startup file (if they exist) control the actions of in.ndpd. When /etc/inet/ndpd.conf exists, it is parsed and used to configure a node as a router. Table 1-3 lists the valid keywords that might appear in this file. When a host is booted, routers might not be immediately available, or advertised packets by the router might be dropped and not reach the host. The /var/inet/ndpd_state.interface file is a state file that is maintained and updated periodically by each node so that when it fails and is restarted it can configure its interfaces in the absence of routers. This file contains information such as: the interface address, the time it was updated, and how long it is valid, along with other parameters learned from previous router advertisements.

Note - You do not need to alter the contents of the state files. The in.ndpd daemon automatically maintains them.

Table 1-3. /etc/inet/ndpd.conf Keywords




Specifies router behavior for all interfaces. Use the following syntax to set router parameters and corresponding values:

ifdefault [variable value]


Specifies prefix advertisement default behavior. Use the following syntax to set router parameters and corresponding values:

prefixdefault [variable value]


Sets per interface parameters. Use the following syntax:

if interface [variable value]


Advertises per interface prefix information. Use the following syntax:

prefix prefix/length interface [variable value]

Note - The ifdefault/prefixdefault entries must precede the if and prefix entries in the configuration file.

See the in.ndpd(1M) man page for a list of variables and allowable values.

Example--/etc/inet/ndpd.conf File

# ifefault      [variable value]*
# prefixdefault [variable value]*
# if ifname   [variable value]*
# prefix prefix/length ifname
#  Per interface configuration variables
# Per Prefix:  AdvPrefixList configuration varialbes

ifdefault AdvReachableTime 30000 AdvRetransTimer 2000
prefixdefault AdvValidLifetime 240m AdvPreferredLifetime 120m

if qe0 AdvSendAdvertisements 1
prefix 2:0:0:56::/64 qe0
prefix fec0:0:0:56::/64 qe0

if qe1 AdvSendAdvertisements 1
prefix 2:0:0:55::/64 qe1
prefix fec0:0:0:56::/64 qe1

if qe2 AdvSendAdvertisements 1
prefix 2:0:0:54::/64 qe2
prefix fec0:0:0:54::/64 qe2

[ Previous ][ Home ][ Next ]
Nodes With Multiple Network Interfaces[ Up ]in.ripngd Daemon