2 .\" Copyright (C) 2003, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH IN.NDPD 8 "Sep 02, 2015"
8 in.ndpd \- daemon for IPv6 autoconfiguration
12 \fB/usr/lib/inet/in.ndpd\fR [\fB-adt\fR] [\fB-f\fR \fIconfig_file\fR]
17 \fBin.ndpd\fR provides both the host and router autoconfiguration components of
18 Neighbor Discovery for IPv6 and Stateless and Stateful Address
19 Autoconfiguration for IPv6. In particular, \fBin.ndpd\fR implements:
42 invocation of stateful address autoconfiguration;
48 stateless address autoconfiguration; and
54 privacy extensions for stateless address autoconfiguration.
58 Other aspects of Neighbor Discovery are implemented by \fBip6\fR(7P),
70 neighbor unreachability detection; and
80 The duplicate address detection function is implemented by the system kernel.
83 \fBin.ndpd\fR is managed by the service management facility (SMF), by means of
84 the service identifier:
88 svc:/network/routing/ndp:default
95 If the \fB/etc/inet/ndpd.conf\fR file does not exist or does not set the
96 variable \fBAdvSendAdvertisements\fR to true for a network interface, then
97 \fBin.ndpd\fR will make the node a host for that interface, that is, sending
98 router solicitation messages and then using router advertisement messages it
99 receives to autoconfigure the node. Note that \fBin.ndpd\fR only autoconfigures
100 the addresses of global or site-local scope from the prefix advertisement.
103 If \fBAdvSendAdvertisements\fR is set to true for an interface, then
104 \fBin.ndpd\fR will perform router functions on that interface, that is, sending
105 router advertisement messages to autoconfigure the attached hosts, but not use
106 any advertisements it receives for autoconfiguration. However, when sending
107 advertisements, \fBin.ndpd\fR will use the advertisements it sends itself to
108 autoconfigure its prefixes.
111 Stateless autoconfiguration requires no manual configuration of hosts, minimal
112 (if any) configuration of routers, and no additional servers. The stateless
113 mechanism enables a host to generate its own addresses and uses local
114 information as well as non-local information that is advertised by routers to
115 generate the addresses. \fBin.ndpd\fR will plumb logical interfaces for each of
119 Stateful autoconfiguration involves the \fBdhcpagent\fR(8) daemon and the use
120 of the DHCPv6 protocol. The \fBdhcpagent\fR daemon is responsible for plumbing
121 the logical interfaces for the acquired addresses, maintaining the leases, and
122 handling duplicate addresses. \fBin.ndpd\fR starts the \fBdhcpagent\fR daemon
123 automatically and signals when DHCPv6 should be started. \fBin.ndpd\fR also
124 detects when \fBdhcpagent\fR configures the logical interfaces, and sets the
125 appropriate prefix length on each according to received Routing Advertisement
126 messages. \fBin.ndpd\fR will not stop \fBdhcpagent\fR; use \fBifconfig\fR(8)
127 to control \fBdhcpagent\fR if necessary.
130 Temporary addresses that are autoconfigured for an interface can also be
131 implemented. A temporary address token is enabled for one or more interfaces on
132 a host. However, unlike standard, autoconfigured IPv6 addresses, a temporary
133 address consists of the site prefix and a randomly generated 64 bit number.
134 This random number becomes the interface ID segment of the IPv6 address. A
135 link-local address is not generated with the temporary address as the interface
139 If the kernel detects a duplicate temporary address, \fBin.ndpd\fR will
140 automatically choose another.
143 Routers advertise all prefixes that have been assigned on the link. IPv6 hosts
144 use Neighbor Discovery to obtain a subnet prefix from a local router. Hosts
145 automatically create IPv6 addresses by combining the subnet prefix with an
146 interface IDs that is generated from an interface's MAC address. In the absence
147 of routers, a host can generate only link-local addresses. Link-local addresses
148 can only be used for communication with nodes on the same link.
151 For information on how to enable IPv6 address autoconfiguration, see \fI\fR
160 Turn off stateless and stateful address auto configuration. When set, the
161 daemon does not autoconfigure any addresses and does not renumber any
162 addresses. This option does the same thing as the following lines in
167 ifdefault StatefulAddrConf off
168 ifdefault StatelessAddrConf off
180 Turn on large amounts of debugging output on \fBstdout\fR. When set, the
181 program runs in the foreground and stays attached to the controlling terminal.
187 \fB-f\fR \fIconfig_file\fR
191 Use \fIconfig_file\fR for configuration information instead of the default
192 \fB/etc/inet/ndpd.conf\fR.
202 Turn on tracing (printing) of all sent and received packets to\fBstdout\fR.
203 When set, the program runs in the foreground and stays attached to the
204 controlling terminal.
210 \fB\fB/etc/inet/ndpd.conf\fR\fR
213 Configuration file. This file is not necessary on a host, but it is required on
214 a router to enable \fBin.ndpd\fR to advertise autoconfiguration information to
220 \fBdhcpagent\fR(8), \fBifconfig\fR(8), \fBndp\fR(8),
221 \fBsvcadm\fR(8), \fBndpd.conf\fR(4), \fBattributes\fR(5), \fBsmf\fR(5),
222 \fBicmp6\fR(7P), \fBip6\fR(7P), \fBndp\fR(7P)
225 Narten, T., Nordmark, E., Simpson, W. \fIRFC 2461, Neighbor Discovery for IP
226 Version 6 (IPv6)\fR. The Internet Society. December 1998.
229 Thomson, S., Narten, T. \fIRFC 2462, IPv6 Stateless Address
230 Autoconfiguration\fR. The Internet Society. December 1998.
233 Narten, T., and Draves, R. \fIRFC 3041, Privacy Extensions for Stateless
234 Address Autoconfiguration in IPv6\fR. The Internet Society. January 2001.
237 Receipt of a \fBSIGHUP\fR signal will make \fBin.ndpd\fR restart and reread
238 \fB/etc/inet/ndpd.conf\fR.
241 The \fBin.ndpd\fR daemon service is managed by the service management facility,
242 \fBsmf\fR(5), under the service identifier:
246 svc:/network/routing/ndp:default
252 Administrative actions on this service, such as enabling, disabling, or
253 requesting restart, can be performed using \fBsvcadm\fR(8).