1in.ndpd(1M)             System Administration Commands             in.ndpd(1M)
2
3
4

NAME

6       in.ndpd - daemon for IPv6 autoconfiguration
7

SYNOPSIS

9       /usr/lib/inet/in.ndpd [-adt] [-f config_file]
10
11

DESCRIPTION

13       in.ndpd  provides both the host and router autoconfiguration components
14       of Neighbor Discovery for IPv6 and Stateless and Stateful Address Auto‐
15       configuration for IPv6. In particular, in.ndpd implements:
16
17           o      router discovery;
18
19           o      prefix discovery;
20
21           o      parameter discovery;
22
23           o      invocation of stateful address autoconfiguration;
24
25           o      stateless address autoconfiguration; and
26
27           o      privacy extensions for stateless address autoconfiguration.
28
29
30       Other aspects of Neighbor Discovery are implemented by ip6(7P), includ‐
31       ing:
32
33           o      address resolution;
34
35           o      neighbor unreachability detection; and
36
37           o      redirect.
38
39
40       The duplicate address detection function is implemented by  the  system
41       kernel.
42
43
44       in.ndpd  is  managed by the service management facility (SMF), by means
45       of the service identifier:
46
47         svc:/network/routing/ndp:default
48
49
50
51
52       If the /etc/inet/ndpd.conf file does not exist  or  does  not  set  the
53       variable  AdvSendAdvertisements  to  true for a network interface, then
54       in.ndpd will make the node a host for that interface, that is,  sending
55       router  solicitation  messages and then using router advertisement mes‐
56       sages it receives to autoconfigure the node.  Note  that  in.ndpd  only
57       autoconfigures  the  addresses  of  global or site-local scope from the
58       prefix advertisement.
59
60
61       If AdvSendAdvertisements is set to true for an interface, then  in.ndpd
62       will  perform  router  functions  on  that  interface, that is, sending
63       router advertisement messages to autoconfigure the attached hosts,  but
64       not  use any advertisements it receives for autoconfiguration. However,
65       when sending advertisements, in.ndpd will  use  the  advertisements  it
66       sends itself to autoconfigure its prefixes.
67
68
69       Stateless  autoconfiguration requires no manual configuration of hosts,
70       minimal (if any) configuration of routers, and no  additional  servers.
71       The  stateless  mechanism  enables a host to generate its own addresses
72       and uses local information as well as  non-local  information  that  is
73       advertised  by  routers  to  generate the addresses. in.ndpd will plumb
74       logical interfaces for each of these addresses.
75
76
77       Stateful autoconfiguration involves the dhcpagent(1M)  daemon  and  the
78       use  of  the  DHCPv6  protocol. The dhcpagent daemon is responsible for
79       plumbing the logical interfaces for the acquired addresses, maintaining
80       the leases, and handling duplicate addresses. in.ndpd starts the dhcpa‐
81       gent daemon automatically and signals when DHCPv6  should  be  started.
82       in.ndpd  also detects when dhcpagent configures the logical interfaces,
83       and sets the appropriate prefix length on each  according  to  received
84       Routing  Advertisement  messages.  in.ndpd will not stop dhcpagent; use
85       ifconfig(1M) to control dhcpagent if necessary.
86
87
88       Temporary addresses that are autoconfigured for an interface  can  also
89       be  implemented.  A  temporary address token is enabled for one or more
90       interfaces on a host. However,  unlike  standard,  autoconfigured  IPv6
91       addresses,  a  temporary address consists of the site prefix and a ran‐
92       domly generated 64 bit number. This random number becomes the interface
93       ID  segment  of the IPv6 address. A link-local address is not generated
94       with the temporary address as the interface ID.
95
96
97       If the kernel detects a duplicate temporary address, in.ndpd will auto‐
98       matically choose another.
99
100
101       Routers  advertise  all  prefixes  that have been assigned on the link.
102       IPv6 hosts use Neighbor Discovery to obtain  a  subnet  prefix  from  a
103       local  router.  Hosts  automatically create IPv6 addresses by combining
104       the subnet prefix with an interface  IDs  that  is  generated  from  an
105       interface's MAC address. In the absence of routers, a host can generate
106       only link-local addresses. Link-local addresses can only  be  used  for
107       communication with nodes on the same link.
108
109
110       For information on how to enable IPv6 address autoconfiguration, see
111

OPTIONS

113       Supported  options  and  equivalent  SMF  service properties are listed
114       below. SMF service properties are set using a command of the form:
115
116         # routeadm -m ndp:default key=value
117
118
119
120       -a
121
122           Turn off stateless and stateful address  auto  configuration.  When
123           set,  the  daemon does not autoconfigure any addresses and does not
124           renumber any addresses. This option does the same thing as the fol‐
125           lowing lines in ndpd.conf(4):
126
127             ifdefault StatefulAddrConf off
128             ifdefault StatelessAddrConf off
129
130           Use of this option is equivalent to setting the stateless_addr_conf
131           property to false.
132
133
134       -d
135
136           Turn on large amounts of debugging output on stdout. When set,  the
137           program  runs  in the foreground and stays attached to the control‐
138           ling terminal. Use of this option  is  equivalent  to  setting  the
139           debug property to true.
140
141
142       -f  config_file
143
144           Use  config_file  for  configuration  information  instead  of  the
145           default /etc/inet/ndpd.conf. Use of this option  is  equivalent  to
146           setting  the  config_file  property to the configuration file to be
147           used.
148
149
150       -t
151
152           Turn on tracing (printing) of all sent and received packets  tostd‐
153           out.  When  set,  the  program  runs  in  the  foreground and stays
154           attached to the controlling terminal. As such, this  option  cannot
155           be run under the SMF.
156
157

FILES

159       /etc/inet/ndpd.conf    Configuration  file.  This file is not necessary
160                              on a host, but it is required  on  a  router  to
161                              enable  in.ndpd  to  advertise autoconfiguration
162                              information to the hosts.
163
164

ATTRIBUTES

166       See attributes(5) for descriptions of the following attributes:
167
168
169
170
171       ┌─────────────────────────────┬─────────────────────────────┐
172       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
173       ├─────────────────────────────┼─────────────────────────────┤
174       │Availability                 │SUNWcsu                      │
175       └─────────────────────────────┴─────────────────────────────┘
176

SEE ALSO

178       dhcpagent(1M), ifconfig(1M),  routeadm(1M),  svcadm(1M),  ndpd.conf(4),
179       attributes(5), icmp6(7P),ip6(7P), attributes(5), smf(5)
180
181
182
183
184
185       Narten,  T.,  Nordmark, E., Simpson, W.RFC 2461, Neighbor Discovery for
186       IP Version 6 (IPv6). The Internet Society. December 1998.
187
188
189       Thomson, S., Narten, T. RFC 2462, IPv6 Stateless Address Autoconfigura‐
190       tion. The Internet Society. December 1998.
191
192
193       Narten,  T.,  and Draves, R. RFC 3041, Privacy Extensions for Stateless
194       Address Autoconfiguration in IPv6. The Internet Society. January 2001.
195

DIAGNOSTICS

197       Receipt of a  SIGHUP  signal  will  make  in.ndpd  restart  and  reread
198       /etc/inet/ndpd.conf.
199

NOTES

201       The  in.ndpd daemon service is managed by the service management facil‐
202       ity, smf(5), under the service identifier:
203
204         svc:/network/routing/ndp:default
205
206
207
208       Administrative actions on this service, such as enabling, disabling, or
209       requesting restart, can be performed using svcadm(1M) or routeadm(1M).
210
211
212
213SunOS 5.11                        10 Jan 2007                      in.ndpd(1M)
Impressum