System Administration Guide, Volume 3 | ||||
---|---|---|---|---|
![]() | ![]() | Chapter 1. Managing IPv6 Concepts | ![]() | ![]() |
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
Option | Description |
---|---|
-d | Turns on debugging for all events |
-D | Turns on specific debugging |
-f | File to read configuration from (instead of default file) |
-I | Prints per interface related information |
-n | Does not loop back router advertisements |
-r | Ignores received packets |
-v | Verbose mode (reports various types of diagnostic messages) |
-t | 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
Keywords | Description |
---|---|
ifdefault | Specifies router behavior for all interfaces. Use the following syntax to set router parameters and corresponding values: ifdefault [variable value] |
prefixdefault | Specifies prefix advertisement default behavior. Use the following syntax to set router parameters and corresponding values: prefixdefault [variable value] |
if | Sets per interface parameters. Use the following syntax: if interface [variable value] |
prefix | 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.
# ifefault [variable value]* # prefixdefault [variable value]* # if ifname [variable value]* # prefix prefix/length ifname # # Per interface configuration variables # #DupAddrDetectTransmits #AdvSendAdvertisements #MaxRtrAdvInterval #MinRtrAdvInterval #AdvManagedFlag #AdvOtherConfigFlag #AdvLinkMTU #AdvReachableTime #AdvRetransTimer #AdvCurHopLimit #AdvDefaultLifetime # # Per Prefix: AdvPrefixList configuration varialbes # # #AdvValidLifetime #AdvOnLinkFlag #AdvPreferredLifetime #AdvAutonomousFlag #AdvValidExpiration #AdvPreferredExpiration 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 |
![]() | ![]() | ![]() |
Nodes With Multiple Network Interfaces | ![]() | in.ripngd Daemon |