]> git.ipfire.org Git - thirdparty/dhcp.git/blob - common/dhcp-options.5
[master] Includes DHCP4 option definitions for RFCs 4578,5071, and 5859
[thirdparty/dhcp.git] / common / dhcp-options.5
1 .\" $Id: dhcp-options.5,v 1.50 2011/05/20 13:48:32 tomasz Exp $
2 .\"
3 .\" Copyright (c) 2004-2018 by Internet Systems Consortium, Inc. ("ISC")
4 .\" Copyright (c) 1996-2003 by Internet Software Consortium
5 .\"
6 .\" Permission to use, copy, modify, and distribute this software for any
7 .\" purpose with or without fee is hereby granted, provided that the above
8 .\" copyright notice and this permission notice appear in all copies.
9 .\"
10 .\" THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
11 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR
13 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
16 .\" OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 .\"
18 .\" Internet Systems Consortium, Inc.
19 .\" 950 Charter Street
20 .\" Redwood City, CA 94063
21 .\" <info@isc.org>
22 .\" https://www.isc.org/
23 .\"
24 .\" Support and other services are available for ISC products - see
25 .\" https://www.isc.org for more information or to learn more about ISC.
26 .\"
27 .TH dhcp-options 5
28 .SH NAME
29 dhcp-options - Dynamic Host Configuration Protocol options
30 .SH DESCRIPTION
31 The Dynamic Host Configuration protocol allows the client to receive
32 .B options
33 from the DHCP server describing the network configuration and various
34 services that are available on the network. When configuring
35 .B dhcpd(8)
36 or
37 .B dhclient(8) ,
38 options must often be declared. The syntax for declaring options,
39 and the names and formats of the options that can be declared, are
40 documented here.
41 .SH REFERENCE: OPTION STATEMENTS
42 .PP
43 DHCP \fIoption\fR statements always start with the \fIoption\fR
44 keyword, followed by an option name, followed by option data. The
45 option names and data formats are described below. It is not
46 necessary to exhaustively specify all DHCP options - only those
47 options which are needed by clients must be specified.
48 .PP
49 Option data comes in a variety of formats, as defined below:
50 .PP
51 The
52 .B ip-address
53 data type can be entered either as an explicit IP
54 address (e.g., 239.254.197.10) or as a domain name (e.g.,
55 haagen.isc.org). When entering a domain name, be sure that that
56 domain name resolves to a single IP address.
57 .PP
58 The
59 .B ip6-address
60 data specifies an IPv6 address, like ::1 or 3ffe:bbbb:aaaa:aaaa::1.
61 .PP
62 The
63 .B int32
64 data type specifies a signed 32-bit integer. The
65 .B uint32
66 data type specifies an unsigned 32-bit integer. The
67 .B int16
68 and
69 .B uint16
70 data types specify signed and unsigned 16-bit integers. The
71 .B int8
72 and
73 .B uint8
74 data types specify signed and unsigned 8-bit integers.
75 Unsigned 8-bit integers are also sometimes referred to as octets.
76 .PP
77 The
78 .B text
79 data type specifies an NVT ASCII string, which must be
80 enclosed in double quotes - for example, to specify a root-path
81 option, the syntax would be
82 .nf
83 .sp 1
84 option root-path "10.0.1.4:/var/tmp/rootfs";
85 .fi
86 .PP
87 The
88 .B domain-name
89 data type specifies a domain name, which must not be enclosed in double
90 quotes. The domain name is stored just as if it were a text option.
91 .PP
92 The
93 .B domain-list
94 data type specifies a list of domain names, enclosed in double quotes and
95 separated by commas ("example.com", "foo.example.com").
96 .PP
97 The
98 .B flag
99 data type specifies a boolean value. Booleans can be either true or
100 false (or on or off, if that makes more sense to you).
101 .PP
102 The
103 .B string
104 data type specifies either an NVT ASCII string
105 enclosed in double quotes, or a series of octets specified in
106 hexadecimal, separated by colons. For example:
107 .nf
108 .sp 1
109 option dhcp-client-identifier "CLIENT-FOO";
110 or
111 option dhcp-client-identifier 43:4c:49:45:54:2d:46:4f:4f;
112 .fi
113 .SH SETTING OPTION VALUES USING EXPRESSIONS
114 Sometimes it's helpful to be able to set the value of a DHCP option
115 based on some value that the client has sent. To do this, you can
116 use expression evaluation. The
117 .B dhcp-eval(5)
118 manual page describes how to write expressions. To assign the result
119 of an evaluation to an option, define the option as follows:
120 .nf
121 .sp 1
122 \fBoption \fImy-option \fB= \fIexpression \fB;\fR
123 .fi
124 .PP
125 For example:
126 .nf
127 .sp 1
128 option hostname = binary-to-ascii (16, 8, "-",
129 substring (hardware, 1, 6));
130 .fi
131 .SH INCLUDING OPTION DEFINITIONS
132 Starting with 4.3.0 when ISC adds new option definitions those definitions
133 will be included in the code based on the definition of an argument for
134 the RFC that defines the option in includes/site.h. This provides you
135 with a method for over-riding the ISC definitions if necessary - for
136 example if you have previously defined the option with a different
137 format using the mechanism from DEFINING NEW OPTIONS below.
138 .PP
139 By default all of the options are enabled. In order to disable an option
140 you would edit the includes/site.h file and comment out the definition for
141 the proper RFC.
142 .SH STANDARD DHCPV4 OPTIONS
143 The documentation for the various options mentioned below is taken
144 from the latest IETF draft document on DHCP options. Options not
145 listed below may not yet be implemented, but it is possible to use
146 such options by defining them in the configuration file. Please see
147 the DEFINING NEW OPTIONS heading later in this document for more
148 information.
149 .PP
150 Some of the options documented here are automatically generated by
151 the DHCP server or by clients, and cannot be configured by the user.
152 The value of such an option can be used in the configuration file of
153 the receiving DHCP protocol agent (server or client), for example in
154 conditional expressions. However, the value of the option cannot be
155 used in the configuration file of the sending agent, because the value
156 is determined only \fIafter\fR the configuration file has been
157 processed. In the following documentation, such options will be shown
158 as "not user configurable"
159 .PP
160 The standard options are:
161 .PP
162 .B option \fBall-subnets-local\fR \fIflag\fR\fB;\fR
163 .RS 0.25i
164 .PP
165 This option specifies whether or not the client may assume that all
166 subnets of the IP network to which the client is connected use the
167 same MTU as the subnet of that network to which the client is
168 directly connected. A value of true indicates that all subnets share
169 the same MTU. A value of false means that the client should assume that
170 some subnets of the directly connected network may have smaller MTUs.
171 .RE
172 .PP
173 .B option \fBarp-cache-timeout\fR \fIuint32\fR\fB;\fR
174 .RS 0.25i
175 .PP
176 This option specifies the timeout in seconds for ARP cache entries.
177 .RE
178 .PP
179 .B option \fBassociated-ip\fR \fIip-address\fR [\fB,\fR
180 \fIip-address\fR... ]\fB;\fR
181 .RS 0.25i
182 .PP
183 This option is part of lease query. It is used to
184 return all of the IP addresses associated with a given DHCP client.
185 .PP
186 This option is not user configurable.
187 .RE
188 .PP
189 .B option \fBbcms-controller-address\fR \fIip-address\fR [\fB,\fR
190 \fIip-address\fR... ]\fB;\fR
191 .RS 0.25i
192 .PP
193 This option configures a list of IPv4 addresses for use as Broadcast and
194 Multicast Controller Servers ("BCMS").
195 .RE
196 .PP
197 .B option \fBbcms-controller-names\fR \fIdomain-list\fR\fB;\fR
198 .RS 0.25i
199 .PP
200 This option contains the domain names of local Broadcast and
201 Multicast Controller Servers ("BCMS") controllers which the client
202 may use.
203 .RE
204 .PP
205 .B option \fBbootfile-name\fR \fItext\fR\fB;\fR
206 .RS 0.25i
207 .PP
208 This option is used to identify a bootstrap file. If supported by the
209 client, it should have the same effect as the \fBfilename\fR
210 declaration. BOOTP clients are unlikely to support this option. Some
211 DHCP clients will support it, and others actually require it.
212 .RE
213 .PP
214 .B option \fBboot-size\fR \fIuint16\fR\fB;\fR
215 .RS 0.25i
216 .PP
217 This option specifies the length in 512-octet blocks of the default
218 boot image for the client.
219 .RE
220 .PP
221 .B option \fBbroadcast-address\fR \fIip-address\fR\fB;\fR
222 .RS 0.25i
223 .PP
224 This option specifies the broadcast address in use on the client's
225 subnet. Legal values for broadcast addresses are specified in
226 section 3.2.1.3 of STD 3 (RFC1122).
227 .RE
228 .PP
229 .B option
230 .B capwap-ac-v4
231 .I ip-address \fR[\fB,
232 .I ip-address \fR... ]
233 .B ;
234 .RS 0.25i
235 .PP
236 A list of IPv4 addresses of CAPWAP ACs that the WTP may use.
237 The addresses are listed in preference order.
238 .PP
239 This option is included based on RFC 5417.
240 .RE
241 .PP
242 .B option \fBclient-last-transaction-time\fR \fIuint32\fR\fB;\fR
243 .RS 0.25i
244 .PP
245 This option is part of lease query. It allows the
246 receiver to determine the time of the most recent access by the
247 client. The value is a duration in seconds from when the client
248 last communicated with the DHCP server.
249 .PP
250 This option is not user configurable.
251 .RE
252 .PP
253 .B option \fBcookie-servers\fR \fIip-address\fR [\fB,\fR \fIip-address\fR...
254 ]\fB;\fR
255 .RS 0.25i
256 .PP
257 The cookie server option specifies a list of RFC 865 cookie
258 servers available to the client. Servers should be listed in order
259 of preference.
260 .RE
261 .PP
262 .B option \fBdefault-ip-ttl\fR \fIuint8;\fR
263 .RS 0.25i
264 .PP
265 This option specifies the default time-to-live that the client should
266 use on outgoing datagrams.
267 .RE
268 .PP
269 .B option \fBdefault-tcp-ttl\fR \fIuint8\fR\fB;\fR
270 .RS 0.25i
271 .PP
272 This option specifies the default TTL that the client should use when
273 sending TCP segments. The minimum value is 1.
274 .RE
275 .PP
276 .B option \fBdefault-url\fR \fIstring\fR\fB;\fR
277 .RS 0.25i
278 .PP
279 The format and meaning of this option is not described in any standards
280 document, but is claimed to be in use by Apple Computer. It is not known
281 what clients may reasonably do if supplied with this option. Use at your
282 own risk.
283 .RE
284 .PP
285 .B option \fBdhcp-client-identifier\fR \fIstring\fR\fB;\fR
286 .RS 0.25i
287 .PP
288 This option can be used to specify a DHCP client identifier in a
289 host declaration, so that dhcpd can find the host record by matching
290 against the client identifier.
291 .PP
292 Please be aware that some DHCP clients, when configured with client
293 identifiers that are ASCII text, will prepend a zero to the ASCII
294 text. So you may need to write:
295 .nf
296
297 option dhcp-client-identifier "\\0foo";
298
299 rather than:
300
301 option dhcp-client-identifier "foo";
302 .fi
303 .RE
304 .PP
305 .B option \fBdhcp-lease-time\fR \fIuint32\fR\fB;\fR
306 .RS 0.25i
307 .PP
308 This option is used in a client request (DHCPDISCOVER or DHCPREQUEST)
309 to allow the client to request a lease time for the IP address. In a
310 server reply (DHCPOFFER), a DHCP server uses this option to specify
311 the lease time it is willing to offer.
312 .PP
313 This option is not directly user configurable in the server; refer to the
314 \fImax-lease-time\fR and \fIdefault-lease-time\fR server options in
315 .B dhcpd.conf(5).
316 .RE
317 .PP
318 .B option \fBdhcp-max-message-size\fR \fIuint16\fR\fB;\fR
319 .RS 0.25i
320 .PP
321 This option, when sent by the client, specifies the maximum size of
322 any response that the server sends to the client. When specified on
323 the server, if the client did not send a dhcp-max-message-size option,
324 the size specified on the server is used. This works for BOOTP as
325 well as DHCP responses.
326 .RE
327 .PP
328 .B option \fBdhcp-message\fR \fItext\fR\fB;\fR
329 .RS 0.25i
330 .PP
331 This option is used by a DHCP server to provide an error message to a
332 DHCP client in a DHCPNAK message in the event of a failure. A client
333 may use this option in a DHCPDECLINE message to indicate why the
334 client declined the offered parameters.
335 .PP
336 This option is not user configurable.
337 .RE
338 .PP
339 .B option \fBdhcp-message-type\fR \fIuint8\fR\fB;\fR
340 .RS 0.25i
341 .PP
342 This option, sent by both client and server, specifies the type of DHCP
343 message contained in the DHCP packet. Possible values (taken directly from
344 RFC2132) are:
345 .PP
346 .nf
347 1 DHCPDISCOVER
348 2 DHCPOFFER
349 3 DHCPREQUEST
350 4 DHCPDECLINE
351 5 DHCPACK
352 6 DHCPNAK
353 7 DHCPRELEASE
354 8 DHCPINFORM
355 .fi
356 .PP
357 This option is not user configurable.
358 .PP
359 .RE
360 .B option \fBdhcp-option-overload\fR \fIuint8\fR\fB;\fR
361 .RS 0.25i
362 .PP
363 This option is used to indicate that the DHCP \'sname\' or \'file\'
364 fields are being overloaded by using them to carry DHCP options. A
365 DHCP server inserts this option if the returned parameters will
366 exceed the usual space allotted for options.
367 .PP
368 If this option is present, the client interprets the specified
369 additional fields after it concludes interpretation of the standard
370 option fields.
371 .PP
372 Legal values for this option are:
373 .PP
374 .nf
375 1 the \'file\' field is used to hold options
376 2 the \'sname\' field is used to hold options
377 3 both fields are used to hold options
378 .fi
379 .PP
380 This option is not user configurable.
381 .PP
382 .RE
383 .PP
384 .B option \fBdhcp-parameter-request-list\fR \fIuint8\fR [\fB,\fR
385 \fIuint8\fR... ]\fB;\fR
386 .RS 0.25i
387 .PP
388 This option, when sent by the client, specifies which options the
389 client wishes the server to return. Normally, in the ISC DHCP
390 client, this is done using the \fIrequest\fR statement. If this
391 option is not specified by the client, the DHCP server will normally
392 return every option that is valid in scope and that fits into the
393 reply. When this option is specified on the server, the server
394 returns the specified options. This can be used to force a client to
395 take options that it hasn't requested, and it can also be used to
396 tailor the response of the DHCP server for clients that may need a
397 more limited set of options than those the server would normally
398 return.
399 .RE
400 .PP
401 .B option \fBdhcp-rebinding-time\fR \fIuint32\fR\fB;\fR
402 .RS 0.25i
403 .PP
404 This option specifies the number of seconds from the time a client gets
405 an address until the client transitions to the REBINDING state.
406 .PP
407 This option is user configurable, but it will be ignored if the value is
408 greater than or equal to the lease time.
409 .PP
410 To make DHCPv4+DHCPv6 migration easier in the future, any value configured
411 in this option is also used as a DHCPv6 "T1" (renew) time.
412 .PP
413 .RE
414 .PP
415 .B option \fBdhcp-renewal-time\fR \fIuint32\fR\fB;\fR
416 .RS 0.25i
417 .PP
418 This option specifies the number of seconds from the time a client gets
419 an address until the client transitions to the RENEWING state.
420 .PP
421 This option is user configurable, but it will be ignored if the value is
422 greater than or equal to the rebinding time, or lease time.
423 .PP
424 To make DHCPv4+DHCPv6 migration easier in the future, any value configured
425 in this option is also used as a DHCPv6 "T2" (rebind) time.
426 .PP
427 .RE
428 .PP
429 .B option \fBdhcp-requested-address\fR \fIip-address\fR\fB;\fR
430 .RS 0.25i
431 .PP
432 This option is used by the client in a DHCPDISCOVER to
433 request that a particular IP address be assigned.
434 .PP
435 This option is not user configurable.
436 .PP
437 .RE
438 .PP
439 .B option \fBdhcp-server-identifier\fR \fIip-address\fR\fB;\fR
440 .RS 0.25i
441 .PP
442 This option is used in DHCPOFFER and DHCPREQUEST messages, and may
443 optionally be included in the DHCPACK and DHCPNAK messages. DHCP
444 servers include this option in the DHCPOFFER in order to allow the
445 client to distinguish between lease offers. DHCP clients use the
446 contents of the \'server identifier\' field as the destination address
447 for any DHCP messages unicast to the DHCP server. DHCP clients also
448 indicate which of several lease offers is being accepted by including
449 this option in a DHCPREQUEST message.
450 .PP
451 The value of this option is the IP address of the server.
452 .PP
453 This option is not directly user configurable. See the
454 \fIserver-identifier\fR server option in
455 .B \fIdhcpd.conf(5).
456 .PP
457 .RE
458 .PP
459 .B option \fBdomain-name\fR \fItext\fR\fB;\fR
460 .RS 0.25i
461 .PP
462 This option specifies the domain name that client should use when
463 resolving hostnames via the Domain Name System.
464 .RE
465 .PP
466 .B option \fBdomain-name-servers\fR \fIip-address\fR [\fB,\fR \fIip-address\fR...
467 ]\fB;\fR
468 .RS 0.25i
469 .PP
470 The domain-name-servers option specifies a list of Domain Name System
471 (STD 13, RFC 1035) name servers available to the client. Servers
472 should be listed in order of preference.
473 .RE
474 .PP
475 .B option \fBdomain-search\fR \fIdomain-list\fR\fB;\fR
476 .RS 0.25i
477 .PP
478 The domain-search option specifies a \'search list\' of Domain Names to be
479 used by the client to locate not-fully-qualified domain names. The difference
480 between this option and historic use of the domain-name option for the same
481 ends is that this option is encoded in RFC1035 compressed labels on the wire.
482 For example:
483 .nf
484 .sp 1
485 option domain-search "example.com", "sales.example.com",
486 "eng.example.com";
487 .fi
488 .RE
489 .PP
490 .B option \fBextensions-path\fR \fItext\fR\fB;\fR
491 .RS 0.25i
492 .PP
493 This option specifies the name of a file containing additional options
494 to be interpreted according to the DHCP option format as specified in
495 RFC2132.
496 .RE
497 .PP
498 .B option \fBfinger-server\fR \fIip-address\fR [\fB,\fR
499 \fIip-address\fR... ]\fB;\fR
500 .RS 0.25i
501 .PP
502 The Finger server option specifies a list of Finger servers available
503 to the client. Servers should be listed in order of preference.
504 .RE
505 .PP
506 .B option \fBfont-servers\fR \fIip-address\fR [\fB,\fR \fIip-address\fR...
507 ]\fB;\fR
508 .RS 0.25i
509 .PP
510 This option specifies a list of X Window System Font servers available
511 to the client. Servers should be listed in order of preference.
512 .RE
513 .PP
514 .B option \fBgeoconf-civic\fR \fIstring\fR\fB;\fR
515 .RS 0.25i
516 .PP
517 A string to hold the geoconf civic structure.
518 .PP
519 This option is included based on RFC 4776.
520 .RE
521 .PP
522 .B option \fBhost-name\fR \fIstring\fR\fB;\fR
523 .RS 0.25i
524 .PP
525 This option specifies the name of the client. The name may or may
526 not be qualified with the local domain name (it is preferable to use
527 the domain-name option to specify the domain name). See RFC 1035 for
528 character set restrictions. This option is only honored by
529 .B dhclient-script(8)
530 if the hostname for the client machine is not set.
531 .RE
532 .PP
533 .B option \fBieee802-3-encapsulation\fR \fIflag\fR\fB;\fR
534 .RS 0.25i
535 .PP
536 This option specifies whether or not the client should use Ethernet
537 Version 2 (RFC 894) or IEEE 802.3 (RFC 1042) encapsulation if the
538 interface is an Ethernet. A value of false indicates that the client
539 should use RFC 894 encapsulation. A value of true means that the client
540 should use RFC 1042 encapsulation.
541 .RE
542 .PP
543 .B option \fBien116-name-servers\fR \fIip-address\fR [\fB,\fR \fIip-address\fR...
544 ];
545 .RS 0.25i
546 .PP
547 The ien116-name-servers option specifies a list of IEN 116 name servers
548 available to the client. Servers should be listed in order of
549 preference.
550 .RE
551 .PP
552 .B option \fBimpress-servers\fR \fIip-address\fR [\fB,\fR \fIip-address\fR...
553 ]\fB;\fR
554 .RS 0.25i
555 .PP
556 The impress-server option specifies a list of Imagen Impress servers
557 available to the client. Servers should be listed in order of
558 preference.
559 .RE
560 .PP
561 .B option \fBinterface-mtu\fR \fIuint16\fR\fB;\fR
562 .RS 0.25i
563 .PP
564 This option specifies the MTU to use on this interface. The minimum
565 legal value for the MTU is 68.
566 .RE
567 .PP
568 .B option \fBip-forwarding\fR \fIflag\fR\fB;\fR
569 .RS 0.25i
570 .PP
571 This option specifies whether the client should configure its IP
572 layer for packet forwarding. A value of false means disable IP
573 forwarding, and a value of true means enable IP forwarding.
574 .RE
575 .PP
576 .B option \fBirc-server\fR \fIip-address\fR [\fB,\fR
577 \fIip-address\fR... ]\fB;\fR
578 .RS 0.25i
579 .PP
580 The IRC server option specifies a list of IRC servers available
581 to the client. Servers should be listed in order of preference.
582 .RE
583
584 .PP
585 .B option \fBloader-configfile\fR \fItext\fR
586 .RS 0.25i
587 .PP
588 This option is used to specify a boot loading configuration file
589 a PXE client should use.
590 .PP
591 This option is included based on RFC 5071.
592 .RE
593 .PP
594 .B option \fBloader-pathprefix\fR \fItext\fR
595 .RS 0.25i
596 .PP
597 This option is used to specify a path prefix a PXE client should
598 use in conjunction with the boot load configuration file.
599 .PP
600 This option is included based on RFC 5071.
601 .RE
602 .PP
603 .B option \fBloader-reboottime\fR \fIuint32\fR
604 .RS 0.25i
605 .PP
606 This option is used to dictate the maximum amount of time a
607 PXE client should allow itself to achieve configured network
608 resources before rebooting.
609 .PP
610 This option is included based on RFC 5071.
611 .RE
612 .PP
613 .B option \fBlog-servers\fR \fIip-address\fR [\fB,\fR \fIip-address\fR...
614 ]\fB;\fR
615 .RS 0.25i
616 .PP
617 The log-server option specifies a list of MIT-LCS UDP log servers
618 available to the client. Servers should be listed in order of
619 preference.
620 .RE
621 .PP
622 .B option \fBlpr-servers\fR \fIip-address \fR [\fB,\fR \fIip-address\fR...
623 ]\fB;\fR
624 .RS 0.25i
625 .PP
626 The LPR server option specifies a list of RFC 1179 line printer
627 servers available to the client. Servers should be listed in order
628 of preference.
629 .RE
630 .PP
631 .B option \fBmask-supplier\fR \fIflag\fR\fB;\fR
632 .RS 0.25i
633 .PP
634 This option specifies whether or not the client should respond to
635 subnet mask requests using ICMP. A value of false indicates that the
636 client should not respond. A value of true means that the client should
637 respond.
638 .RE
639 .PP
640 .B option \fBmax-dgram-reassembly\fR \fIuint16\fR\fB;\fR
641 .RS 0.25i
642 .PP
643 This option specifies the maximum size datagram that the client
644 should be prepared to reassemble. The minimum legal value is
645 576.
646 .RE
647 .PP
648 .B option \fBmerit-dump\fR \fItext\fR\fB;\fR
649 .RS 0.25i
650 .PP
651 This option specifies the path-name of a file to which the client's
652 core image should be dumped in the event the client crashes. The
653 path is formatted as a character string consisting of characters from
654 the NVT ASCII character set.
655 .RE
656 .PP
657 .B option \fBmobile-ip-home-agent\fR \fIip-address\fR [\fB,\fR \fIip-address\fR... ]\fB;\fR
658 .RS 0.25i
659 .PP
660 This option specifies a list of IP addresses indicating mobile IP
661 home agents available to the client. Agents should be listed in
662 order of preference, although normally there will be only one such
663 agent.
664 .RE
665 .PP
666 .B option \fBname-service-search\fR \fIuint16\fR [\fB,\fR \fIuint6\fR... ]\fB;\fR
667 .RS 0.25i
668 .PP
669 This option specifies a list of name services in the order the client should
670 attempt to use them.
671 .PP
672 This option is included based on RFC 2937.
673 .RE
674 .PP
675 .B option \fBnds-context\fR \fIstring\fR\fB;\fR
676 .RS 0.25i
677 .PP
678 The nds-context option specifies the name of the initial Netware
679 Directory Service for an NDS client.
680 .RE
681 .PP
682 .B option \fBnds-servers\fR \fIip-address\fR [\fB,\fR \fIip-address\fR... ]\fB;\fR
683 .RS 0.25i
684 .PP
685 The nds-servers option specifies a list of IP addresses of NDS servers.
686 .RE
687 .PP
688 .B option \fBnds-tree-name\fR \fIstring\fR\fB;\fR
689 .RS 0.25i
690 .PP
691 The nds-tree-name option specifies NDS tree name that the NDS client
692 should use.
693 .RE
694 .PP
695 .B option \fBnetbios-dd-server\fR \fIip-address\fR [\fB,\fR \fIip-address\fR...
696 ]\fB;\fR
697 .RS 0.25i
698 .PP
699 The NetBIOS datagram distribution server (NBDD) option specifies a
700 list of RFC 1001/1002 NBDD servers listed in order of preference.
701 .RE
702 .PP
703 .B option \fBnetbios-name-servers\fR \fIip-address\fR [\fB,\fR \fIip-address\fR...]\fB;\fR
704 .RS 0.25i
705 .PP
706 The NetBIOS name server (NBNS) option specifies a list of RFC
707 1001/1002 NBNS name servers listed in order of preference. NetBIOS
708 Name Service is currently more commonly referred to as WINS. WINS
709 servers can be specified using the netbios-name-servers option.
710 .RE
711 .PP
712 .B option \fBnetbios-node-type\fR \fIuint8\fR\fB;\fR
713 .RS 0.25i
714 .PP
715 The NetBIOS node type option allows NetBIOS over TCP/IP clients which
716 are configurable to be configured as described in RFC 1001/1002. The
717 value is specified as a single octet which identifies the client type.
718 .PP
719 Possible node types are:
720 .PP
721 .TP 5
722 .I 1
723 B-node: Broadcast - no WINS
724 .TP
725 .I 2
726 P-node: Peer - WINS only
727 .TP
728 .I 4
729 M-node: Mixed - broadcast, then WINS
730 .TP
731 .I 8
732 H-node: Hybrid - WINS, then broadcast
733 .RE
734 .PP
735 .B option \fBnetbios-scope\fR \fIstring\fR\fB;\fR
736 .RS 0.25i
737 .PP
738 The NetBIOS scope option specifies the NetBIOS over TCP/IP scope
739 parameter for the client as specified in RFC 1001/1002. See RFC1001,
740 RFC1002, and RFC1035 for character-set restrictions.
741 .RE
742 .PP
743 .B option \fBnetinfo-server-address\fR \fIip-address\fR [\fB,\fR
744 \fIip-address\fR... ]\fB;\fR
745 .RS 0.25i
746 .PP
747 The \fBnetinfo-server-address\fR option has not been described in any
748 RFC, but has been allocated (and is claimed to be in use) by Apple
749 Computers. It's hard to say if the above is the correct format, or
750 what clients might be expected to do if values were configured. Use
751 at your own risk.
752 .RE
753 .PP
754 .B option \fBnetinfo-server-tag\fR \fItext\fR\fB;\fR
755 .RS 0.25i
756 .PP
757 The \fBnetinfo-server-tag\fR option has not been described in any
758 RFC, but has been allocated (and is claimed to be in use) by Apple
759 Computers. It's hard to say if the above is the correct format,
760 or what clients might be expected to do if values were configured. Use
761 at your own risk.
762 .RE
763 .PP
764 .B option \fBnis-domain\fR \fItext\fR\fB;\fR
765 .RS 0.25i
766 .PP
767 This option specifies the name of the client's NIS (Sun Network
768 Information Services) domain. The domain is formatted as a character
769 string consisting of characters from the NVT ASCII character set.
770 .RE
771 .PP
772 .B option \fBnis-servers\fR \fIip-address\fR [\fB,\fR \fIip-address\fR...
773 ]\fB;\fR
774 .RS 0.25i
775 .PP
776 This option specifies a list of IP addresses indicating NIS servers
777 available to the client. Servers should be listed in order of
778 preference.
779 .RE
780 .PP
781 .B option \fBnisplus-domain\fR \fItext\fR\fB;\fR
782 .RS 0.25i
783 .PP
784 This option specifies the name of the client's NIS+ domain. The
785 domain is formatted as a character string consisting of characters
786 from the NVT ASCII character set.
787 .RE
788 .PP
789 .B option \fBnisplus-servers\fR \fIip-address\fR [\fB,\fR \fIip-address\fR...
790 ]\fB;\fR
791 .RS 0.25i
792 .PP
793 This option specifies a list of IP addresses indicating NIS+ servers
794 available to the client. Servers should be listed in order of
795 preference.
796 .RE
797 .PP
798 .B option \fBnntp-server\fR \fIip-address\fR [\fB,\fR
799 \fIip-address\fR... ]\fB;\fR
800 .RS 0.25i
801 .PP
802 The NNTP server option specifies a list of NNTP servers available
803 to the client. Servers should be listed in order of preference.
804 .RE
805 .PP
806 .B option \fBnon-local-source-routing\fR \fIflag\fR\fB;\fR
807 .RS 0.25i
808 .PP
809 This option specifies whether the client should configure its IP
810 layer to allow forwarding of datagrams with non-local source routes
811 (see Section 3.3.5 of [4] for a discussion of this topic). A value
812 of false means disallow forwarding of such datagrams, and a value of true
813 means allow forwarding.
814 .RE
815 .PP
816 .B option \fBntp-servers\fR \fIip-address\fR [\fB,\fR \fIip-address\fR...
817 ]\fB;\fR
818 .RS 0.25i
819 .PP
820 This option specifies a list of IP addresses indicating NTP (RFC 5905)
821 servers available to the client. Servers should be listed in order
822 of preference.
823 .RE
824 .PP
825 .B option \fBnwip-domain\fR \fIstring\fR\fB;\fR
826 .RS 0.25i
827 .PP
828 The name of the NetWare/IP domain that a NetWare/IP client should
829 use.
830 .RE
831 .PP
832 .B option \fBnwip-suboptions\fR \fIstring\fR\fB;\fR
833 .RS 0.25i
834 .PP
835 A sequence of suboptions for NetWare/IP clients - see RFC2242 for
836 details. Normally this option is set by specifying specific
837 NetWare/IP suboptions - see the NETWARE/IP SUBOPTIONS section for more
838 information.
839 .RE
840 .PP
841 .B option \fBpxe-system-type\fR \fIuint16\fR [\fB, \fIuint16\fR ... ]\fB;\fR
842 .RS 0.25i
843 .PP
844 A list of one ore more 16-bit integers which allows a client to specify its
845 pre-boot architecture type(s).
846 .PP
847 This option is included based on RFC 4578.
848 .RE
849 .PP
850 .B option \fBpxe-interface-id\fR \fIuint8\fR \fIuint8\fR \fIuint8\fR
851 .RS 0.25i
852 .PP
853 A three octet value which allows a client to specify its network interface
854 type.
855 .PP
856 This option is included based on RFC 4578.
857 .RE
858 .PP
859 .B option \fBpxe-client-id\fR \fIuint8\fR \fIstring\fR
860 .RS 0.25i
861 .PP
862 A single octet indicating type, followed by a string that allows a
863 client to specify its PXE client identity.
864 .PP
865 This option is included based on RFC 4578.
866 .RE
867 .PP
868 .B option \fBoption-6rd\fR \fIuint8 uint8 ip6-address ip-address\fR [\fB,\fR
869 .I ip-address \fR...]\fB;\fR
870 .RS 0.25i
871 .PP
872 This option contains information about the rapid deployment option. It is
873 8 bits of ipv4 mask length, 8 bits of 6rd prefix length, an ipv6 prefix as
874 an ipv6 address and a list of one or more ipv4 addresses.
875 .PP
876 This option is included based on RFC 5969.
877 .RE
878 .PP
879 .B option
880 .B pana-agent
881 .I ip-address \fR[\fB,
882 .I ip-address \fR... ]
883 .B ;
884 .RS 0.25i
885 .PP
886 A set of IPv4 addresses of a PAA for the client to use. The
887 addresses are listed in preferred order.
888 .PP
889 This option is included based on RFC 5192.
890 .RE
891 .PP
892 .B option \fBpath-mtu-aging-timeout\fR \fIuint32\fR\fB;\fR
893 .RS 0.25i
894 .PP
895 This option specifies the timeout (in seconds) to use when aging Path
896 MTU values discovered by the mechanism defined in RFC 1191.
897 .RE
898 .PP
899 .B option \fBpath-mtu-plateau-table\fR \fIuint16\fR [\fB,\fR \fIuint16\fR...
900 ]\fB;\fR
901 .RS 0.25i
902 .PP
903 This option specifies a table of MTU sizes to use when performing
904 Path MTU Discovery as defined in RFC 1191. The table is formatted as
905 a list of 16-bit unsigned integers, ordered from smallest to largest.
906 The minimum MTU value cannot be smaller than 68.
907 .RE
908 .PP
909 .B option \fBpcode\fR \fItext\fR\fB;\fR
910 .RS 0.25i
911 .PP
912 This option specifies a string suitable for the TZ variable.
913 .PP
914 This option is included based on RFC 4833.
915 .RE
916 .PP
917 .B option \fBperform-mask-discovery\fR \fIflag\fR\fB;\fR
918 .RS 0.25i
919 .PP
920 This option specifies whether or not the client should perform subnet
921 mask discovery using ICMP. A value of false indicates that the client
922 should not perform mask discovery. A value of true means that the
923 client should perform mask discovery.
924 .RE
925 .PP
926 .nf
927 .B option \fBpolicy-filter\fR \fIip-address ip-address\fR
928 [\fB,\fR \fIip-address ip-address\fR...]\fB;\fR
929 .RE
930 .fi
931 .RS 0.25i
932 .PP
933 This option specifies policy filters for non-local source routing.
934 The filters consist of a list of IP addresses and masks which specify
935 destination/mask pairs with which to filter incoming source routes.
936 .PP
937 Any source routed datagram whose next-hop address does not match one
938 of the filters should be discarded by the client.
939 .PP
940 See STD 3 (RFC1122) for further information.
941 .RE
942 .PP
943 .B option \fBpop-server\fR \fIip-address\fR [\fB,\fR \fIip-address\fR... ]\fB;\fR
944 .RS 0.25i
945 .PP
946 The POP3 server option specifies a list of POP3 servers available
947 to the client. Servers should be listed in order of preference.
948 .RE
949 .PP
950 .B option \fBrdnss-selection\fR \fIuint8 ip-address ip-address domain-name\fR\fB;\fR
951 .RS 0.25i
952 .PP
953 The rdnss-selection option specifies an 8 bit flags field, a primary and secondary
954 ip address for the name server and a domainlist of domains for which the RDNSS has
955 special knowledge.
956 .PP
957 This option is included based on RFC 6731.
958 .RE
959 .PP
960 .B option \fBresource-location-servers\fR \fIip-address\fR
961 [\fB, \fR\fIip-address\fR...]\fB;\fR
962 .fi
963 .RS 0.25i
964 .PP
965 This option specifies a list of RFC 887 Resource Location
966 servers available to the client. Servers should be listed in order
967 of preference.
968 .RE
969 .PP
970 .B option \fBroot-path\fR \fItext\fB;\fR\fR
971 .RS 0.25i
972 .PP
973 This option specifies the path-name that contains the client's root
974 disk. The path is formatted as a character string consisting of
975 characters from the NVT ASCII character set.
976 .RE
977 .PP
978 .B option \fBrouter-discovery\fR \fIflag\fR\fB;\fR
979 .RS 0.25i
980 .PP
981 This option specifies whether or not the client should solicit
982 routers using the Router Discovery mechanism defined in RFC 1256.
983 A value of false indicates that the client should not perform
984 router discovery. A value of true means that the client should perform
985 router discovery.
986 .RE
987 .PP
988 .B option \fBrouter-solicitation-address\fR \fIip-address\fR\fB;\fR
989 .RS 0.25i
990 .PP
991 This option specifies the address to which the client should transmit
992 router solicitation requests.
993 .RE
994 .PP
995 .B option routers \fIip-address\fR [\fB,\fR \fIip-address\fR...
996 ]\fB;\fR
997 .RS 0.25i
998 .PP
999 The routers option specifies a list of IP addresses for routers on the
1000 client's subnet. Routers should be listed in order of preference.
1001 .RE
1002 .PP
1003 .B option slp-directory-agent \fIboolean ip-address
1004 [\fB,\fR \fIip-address\fR... ]\fB;\fR
1005 .RS 0.25i
1006 .PP
1007 This option specifies two things: the IP addresses of one or more
1008 Service Location Protocol Directory Agents, and whether the use of
1009 these addresses is mandatory. If the initial boolean value is true,
1010 the SLP agent should just use the IP addresses given. If the value
1011 is false, the SLP agent may additionally do active or passive
1012 multicast discovery of SLP agents (see RFC2165 for details).
1013 .PP
1014 Please note that in this option and the slp-service-scope option, the
1015 term "SLP Agent" is being used to refer to a Service Location Protocol
1016 agent running on a machine that is being configured using the DHCP
1017 protocol.
1018 .PP
1019 Also, please be aware that some companies may refer to SLP as NDS.
1020 If you have an NDS directory agent whose address you need to
1021 configure, the slp-directory-agent option should work.
1022 .RE
1023 .PP
1024 .B option \fBslp-service-scope\fR \fIboolean text\fR\fB;\fR
1025 .RS 0.25i
1026 .PP
1027 The Service Location Protocol Service Scope Option specifies two
1028 things: a list of service scopes for SLP, and whether the use of this
1029 list is mandatory. If the initial boolean value is true, the SLP
1030 agent should only use the list of scopes provided in this option;
1031 otherwise, it may use its own static configuration in preference to
1032 the list provided in this option.
1033 .PP
1034 The text string should be a comma-separated list of scopes that the
1035 SLP agent should use. It may be omitted, in which case the SLP Agent
1036 will use the aggregated list of scopes of all directory agents known
1037 to the SLP agent.
1038 .RE
1039 .PP
1040 .B option \fBsmtp-server\fR \fIip-address\fR [\fB,\fR
1041 \fIip-address\fR... ]\fB;\fR
1042 .RS 0.25i
1043 .PP
1044 The SMTP server option specifies a list of SMTP servers available to
1045 the client. Servers should be listed in order of preference.
1046 .RE
1047 .PP
1048 .nf
1049 .B option \fBstatic-routes\fR \fIip-address ip-address\fR
1050 [\fB,\fR \fIip-address ip-address\fR...]\fB;\fR
1051 .fi
1052 .RS 0.25i
1053 .PP
1054 This option specifies a list of static routes that the client should
1055 install in its routing cache. If multiple routes to the same
1056 destination are specified, they are listed in descending order of
1057 priority.
1058 .PP
1059 The routes consist of a list of IP address pairs. The first address
1060 is the destination address, and the second address is the router for
1061 the destination.
1062 .PP
1063 The default route (0.0.0.0) is an illegal destination for a static
1064 route. To specify the default route, use the
1065 .B routers
1066 option. Also, please note that this option is not intended for
1067 classless IP routing - it does not include a subnet mask. Since
1068 classless IP routing is now the most widely deployed routing standard,
1069 this option is virtually useless, and is not implemented by any of the
1070 popular DHCP clients, for example the Microsoft DHCP client.
1071 .RE
1072 .PP
1073 .nf
1074 .B option \fBstreettalk-directory-assistance-server\fR \fIip-address\fR
1075 [\fB,\fR \fIip-address\fR...]\fB;\fR
1076 .fi
1077 .RS 0.25i
1078 .PP
1079 The StreetTalk Directory Assistance (STDA) server option specifies a
1080 list of STDA servers available to the client. Servers should be
1081 listed in order of preference.
1082 .RE
1083 .PP
1084 .B option \fBstreettalk-server\fR \fIip-address\fR [\fB,\fR \fIip-address\fR... ]\fB;\fR
1085 .RS 0.25i
1086 .PP
1087 The StreetTalk server option specifies a list of StreetTalk servers
1088 available to the client. Servers should be listed in order of
1089 preference.
1090 .RE
1091 .PP
1092 .B option subnet-mask \fIip-address\fR\fB;\fR
1093 .RS 0.25i
1094 .PP
1095 The subnet mask option specifies the client's subnet mask as per RFC
1096 950. If no subnet mask option is provided anywhere in scope, as a
1097 last resort dhcpd will use the subnet mask from the subnet declaration
1098 for the network on which an address is being assigned. However,
1099 .I any
1100 subnet-mask option declaration that is in scope for the address being
1101 assigned will override the subnet mask specified in the subnet
1102 declaration.
1103 .RE
1104 .PP
1105 .B option \fBsubnet-selection\fR \fIip-address\fR\fB;\fR
1106 .RS 0.25i
1107 .PP
1108 Sent by the client if an address is required in a subnet other than the one
1109 that would normally be selected (based on the relaying address of the
1110 connected subnet the request is obtained from). See RFC3011. Note that the
1111 option number used by this server is 118; this has not always been the
1112 defined number, and some clients may use a different value. Use of this
1113 option should be regarded as slightly experimental!
1114 .RE
1115 .PP
1116 This option is not user configurable in the server.
1117 .PP
1118 .PP
1119 .B option \fBswap-server\fR \fIip-address\fR\fB;\fR
1120 .RS 0.25i
1121 .PP
1122 This specifies the IP address of the client's swap server.
1123 .RE
1124 .PP
1125 .B option \fBtftp-server-address\fR \fIip-address\fR [\fB,\fR
1126 \fIip-address\fR... ]\fB;\fR
1127 .RS 0.25i
1128 .PP
1129 This option configures a list of one or more IPv4 addresses of
1130 tftp servers a client may use.
1131 .PP
1132 This option is included based on RFC 5859
1133 .RE
1134 .PP
1135 .B option \fBtcp-keepalive-garbage\fR \fIflag\fR\fB;\fR
1136 .RS 0.25i
1137 .PP
1138 This option specifies whether or not the client should send TCP
1139 keepalive messages with an octet of garbage for compatibility with
1140 older implementations. A value of false indicates that a garbage octet
1141 should not be sent. A value of true indicates that a garbage octet
1142 should be sent.
1143 .RE
1144 .PP
1145 .B option \fBtcp-keepalive-interval\fR \fIuint32\fR\fB;\fR
1146 .RS 0.25i
1147 .PP
1148 This option specifies the interval (in seconds) that the client TCP
1149 should wait before sending a keepalive message on a TCP connection.
1150 The time is specified as a 32-bit unsigned integer. A value of zero
1151 indicates that the client should not generate keepalive messages on
1152 connections unless specifically requested by an application.
1153 .RE
1154 .PP
1155 .B option \fBtcode\fR \fItext\fR\fB;\fR
1156 .RS 0.25i
1157 .PP
1158 This option specifies a name of a zone entry in the TZ database.
1159 .PP
1160 This option is included based on RFC 4833.
1161 .RE
1162 .PP
1163 .B option \fBtftp-server-name\fR \fItext\fR\fB;\fR
1164 .RS 0.25i
1165 .PP
1166 This option is used to identify a TFTP server and, if supported by the
1167 client, should have the same effect as the \fBserver-name\fR
1168 declaration. BOOTP clients are unlikely to support this option.
1169 Some DHCP clients will support it, and others actually require it.
1170 .RE
1171 .PP
1172 .B option time-offset \fIint32\fR\fB;\fR
1173 .RS 0.25i
1174 .PP
1175 The time-offset option specifies the offset of the client's subnet in
1176 seconds from Coordinated Universal Time (UTC).
1177 .RE
1178 .PP
1179 .B option time-servers \fIip-address\fR [, \fIip-address\fR...
1180 ]\fB;\fR
1181 .RS 0.25i
1182 .PP
1183 The time-server option specifies a list of RFC 868 time servers
1184 available to the client. Servers should be listed in order of
1185 preference.
1186 .RE
1187 .PP
1188 .B option \fBtrailer-encapsulation\fR \fIflag\fR\fB;\fR
1189 .RS 0.25i
1190 .PP
1191 This option specifies whether or not the client should negotiate the
1192 use of trailers (RFC 893 [14]) when using the ARP protocol. A value
1193 of false indicates that the client should not attempt to use trailers. A
1194 value of true means that the client should attempt to use trailers.
1195 .RE
1196 .PP
1197 .B option \fBuap-servers\fR \fItext\fR\fB;\fR
1198 .RS 0.25i
1199 .PP
1200 This option specifies a list of URLs, each pointing to a user
1201 authentication service that is capable of processing authentication
1202 requests encapsulated in the User Authentication Protocol (UAP). UAP
1203 servers can accept either HTTP 1.1 or SSLv3 connections. If the list
1204 includes a URL that does not contain a port component, the normal
1205 default port is assumed (i.e., port 80 for http and port 443 for
1206 https). If the list includes a URL that does not contain a path
1207 component, the path /uap is assumed. If more than one URL is
1208 specified in this list, the URLs are separated by spaces.
1209 .RE
1210 .PP
1211 .B option \fBuser-class\fR \fIstring\fR\fB;\fR
1212 .RS 0.25i
1213 .PP
1214 This option is used by some DHCP clients as a way for users to
1215 specify identifying information to the client. This can be used in a
1216 similar way to the vendor-class-identifier option, but the value of
1217 the option is specified by the user, not the vendor. Most recent
1218 DHCP clients have a way in the user interface to specify the value for
1219 this identifier, usually as a text string.
1220 .RE
1221 .PP
1222 .B option \fBv4-access-domain\fR \fIdomain-name\fR\fB;\fR
1223 .RS 0.25i
1224 .PP
1225 The domain name associated with the access network for use with
1226 LIS Discovery.
1227 .PP
1228 This option is included based on RFC 5986.
1229 .RE
1230 .PP
1231 .B option \fBv4-lost\fR \fIdomain-name\fR\fB;\fR
1232 .RS 0.25i
1233 .PP
1234 The domain name of the LoST server for the client to use.
1235 .PP
1236 This option is included based on RFC 5223.
1237 .RE
1238 .PP
1239 .B option \fBvendor-class-identifier\fR \fIstring\fR\fB;\fR
1240 .RS 0.25i
1241 .PP
1242 This option is used by some DHCP clients to identify the vendor
1243 type and possibly the configuration of a DHCP client. The information
1244 is a string of bytes whose contents are specific to the vendor and are
1245 not specified in a standard. To see what vendor class identifier
1246 clients are sending, you can write the following in your DHCP server
1247 configuration file:
1248 .nf
1249 .PP
1250 set vendor-string = option vendor-class-identifier;
1251 .fi
1252 .PP
1253 This will result in all entries in the DHCP server lease database file
1254 for clients that sent vendor-class-identifier options having a set
1255 statement that looks something like this:
1256 .nf
1257 .PP
1258 set vendor-string = "SUNW.Ultra-5_10";
1259 .fi
1260 .PP
1261 The vendor-class-identifier option is normally used by the DHCP server
1262 to determine the options that are returned in the
1263 .B vendor-encapsulated-options
1264 option. Please see the VENDOR ENCAPSULATED OPTIONS section later in this
1265 manual page for further information.
1266 .RE
1267 .PP
1268 .B option \fBvendor-encapsulated-options\fR \fIstring\fR\fB;\fR
1269 .RS 0.25i
1270 .PP
1271 The \fBvendor-encapsulated-options\fR option can contain either a
1272 single vendor-specific value or one or more vendor-specific
1273 suboptions. This option is not normally specified in the DHCP server
1274 configuration file - instead, a vendor class is defined for each
1275 vendor, vendor class suboptions are defined, values for those
1276 suboptions are defined, and the DHCP server makes up a response on
1277 that basis.
1278 .PP
1279 Some default behaviours for well-known DHCP client vendors (currently,
1280 the Microsoft Windows 2000 DHCP client) are configured automatically,
1281 but otherwise this must be configured manually - see the VENDOR
1282 ENCAPSULATED OPTIONS section later in this manual page for details.
1283 .RE
1284 .PP
1285 .B option \fBvivso\fR \fIstring\fR\fB;\fR
1286 .RS 0.25i
1287 .PP
1288 The \fBvivso\fR option can contain multiple separate options, one for
1289 each 32-bit Enterprise ID. Each Enterprise-ID discriminated option then
1290 contains additional options whose format is defined by the vendor who
1291 holds that ID. This option is usually not configured manually, but
1292 rather is configured via intervening option definitions. Please also
1293 see the VENDOR ENCAPSULATED OPTIONS section later in this manual page
1294 for details.
1295 .RE
1296 .PP
1297 .B option \fBwww-server\fR \fIip-address\fR [\fB,\fR
1298 \fIip-address\fR... ]\fB;\fR
1299 .RS 0.25i
1300 .PP
1301 The WWW server option specifies a list of WWW servers available
1302 to the client. Servers should be listed in order of preference.
1303 .RE
1304 .PP
1305 .B option \fBx-display-manager\fR \fIip-address\fR [\fB,\fR \fIip-address\fR...
1306 ]\fB;\fR
1307 .RS 0.25i
1308 .PP
1309 This option specifies a list of systems that are running the X Window
1310 System Display Manager and are available to the client. Addresses
1311 should be listed in order of preference.
1312 .RE
1313 .SH RELAY AGENT INFORMATION OPTION
1314 An IETF draft, draft-ietf-dhc-agent-options-11.txt, defines a series
1315 of encapsulated options that a relay agent can add to a DHCP packet
1316 when relaying it to the DHCP server. The server can then make
1317 address allocation decisions (or whatever other decisions it wants)
1318 based on these options. The server also returns these options in any
1319 replies it sends through the relay agent, so that the relay agent can
1320 use the information in these options for delivery or accounting
1321 purposes.
1322 .PP
1323 The current draft defines two options. To reference
1324 these options in the dhcp server, specify the option space name,
1325 "agent", followed by a period, followed by the option name. It is
1326 not normally useful to define values for these options in the server,
1327 although it is permissible. These options are not supported in the
1328 client.
1329 .PP
1330 .B option \fBagent.circuit-id\fR \fIstring\fR\fB;\fR
1331 .RS 0.25i
1332 .PP
1333 The circuit-id suboption encodes an agent-local identifier of the
1334 circuit from which a DHCP client-to-server packet was received. It is
1335 intended for use by agents in relaying DHCP responses back to the
1336 proper circuit. The format of this option is currently defined to be
1337 vendor-dependent, and will probably remain that way, although the
1338 current draft allows for the possibility of standardizing the
1339 format in the future.
1340 .RE
1341 .PP
1342 .B option \fBagent.remote-id\fR \fIstring\fR\fB;\fR
1343 .RS 0.25i
1344 .PP
1345 The remote-id suboption encodes information about the remote host end
1346 of a circuit. Examples of what it might contain include caller ID
1347 information, username information, remote ATM address, cable modem ID,
1348 and similar things. In principal, the meaning is not well-specified,
1349 and it should generally be assumed to be an opaque object that is
1350 administratively guaranteed to be unique to a particular remote end of
1351 a circuit.
1352 .RE
1353 .PP
1354 .B option \fBagent.DOCSIS-device-class\fR \fIuint32\fR\fB;\fR
1355 .RS 0.25i
1356 .PP
1357 The DOCSIS-device-class suboption is intended to convey information about
1358 the host endpoint, hardware, and software, that either the host operating
1359 system or the DHCP server may not otherwise be aware of (but the relay is
1360 able to distinguish). This is implemented as a 32-bit field (4 octets),
1361 each bit representing a flag describing the host in one of these ways.
1362 So far, only bit zero (being the least significant bit) is defined in
1363 RFC3256. If this bit is set to one, the host is considered a CPE
1364 Controlled Cable Modem (CCCM). All other bits are reserved.
1365 .RE
1366 .PP
1367 .B option \fBagent.link-selection\fR \fIip-address\fR\fB;\fR
1368 .RS 0.25i
1369 .PP
1370 The link-selection suboption is provided by relay agents to inform servers
1371 what subnet the client is actually attached to. This is useful in those
1372 cases where the giaddr (where responses must be sent to the relay agent)
1373 is not on the same subnet as the client. When this option is present in
1374 a packet from a relay agent, the DHCP server will use its contents to find
1375 a subnet declared in configuration, and from here take one step further
1376 backwards to any shared-network the subnet may be defined within; the
1377 client may be given any address within that shared network, as normally
1378 appropriate.
1379 .RE
1380 .SH THE CLIENT FQDN SUBOPTIONS
1381 The Client FQDN option, currently defined in the Internet Draft
1382 draft-ietf-dhc-fqdn-option-00.txt is not a standard yet, but is in
1383 sufficiently wide use already that we have implemented it. Due to
1384 the complexity of the option format, we have implemented it as a
1385 suboption space rather than a single option. In general this
1386 option should not be configured by the user - instead it should be
1387 used as part of an automatic DNS update system.
1388 .PP
1389 .B option fqdn.no-client-update \fIflag\fB;
1390 .RS 0.25i
1391 .PP
1392 When the client sends this, if it is true, it means the client will not
1393 attempt to update its A record. When sent by the server to the client,
1394 it means that the client \fIshould not\fR update its own A record.
1395 .RE
1396 .PP
1397 .B option fqdn.server-update \fIflag\fB;
1398 .RS 0.25i
1399 .PP
1400 When the client sends this to the server, it is requesting that the server
1401 update its A record. When sent by the server, it means that the server
1402 has updated (or is about to update) the client's A record.
1403 .RE
1404 .PP
1405 .B option fqdn.encoded \fIflag\fB;
1406 .RS 0.25i
1407 .PP
1408 If true, this indicates that the domain name included in the option is
1409 encoded in DNS wire format, rather than as plain ASCII text. The client
1410 normally sets this to false if it doesn't support DNS wire format in the
1411 FQDN option. The server should always send back the same value that the
1412 client sent. When this value is set on the configuration side, it controls
1413 the format in which the \fIfqdn.fqdn\fR suboption is encoded.
1414 .RE
1415 .PP
1416 .B option fqdn.rcode1 \fIflag\fB;
1417 .PP
1418 .B option fqdn.rcode2 \fIflag\fB;
1419 .RS 0.25i
1420 .PP
1421 These options specify the result of the updates of the A and PTR records,
1422 respectively, and are only sent by the DHCP server to the DHCP client.
1423 The values of these fields are those defined in the DNS protocol specification.
1424 .RE
1425 .PP
1426 .B option fqdn.fqdn \fItext\fB;
1427 .RS 0.25i
1428 .PP
1429 Specifies the domain name that the client wishes to use. This can be a
1430 fully-qualified domain name, or a single label. If there is no trailing
1431 \'.\' character in the name, it is not fully-qualified, and the server will
1432 generally update that name in some locally-defined domain.
1433 .RE
1434 .PP
1435 .B option fqdn.hostname \fI--never set--\fB;
1436 .RS 0.25i
1437 .PP
1438 This option should never be set, but it can be read back using the \fBoption\fR
1439 and \fBconfig-option\fR operators in an expression, in which case it returns
1440 the first label in the \fBfqdn.fqdn\fR suboption - for example, if
1441 the value of \fBfqdn.fqdn\fR is "foo.example.com.", then \fBfqdn.hostname\fR
1442 will be "foo".
1443 .RE
1444 .PP
1445 .B option fqdn.domainname \fI--never set--\fB;
1446 .RS 0.25i
1447 .PP
1448 This option should never be set, but it can be read back using the \fBoption\fR
1449 and \fBconfig-option\fR operators in an expression, in which case it returns
1450 all labels after the first label in the \fBfqdn.fqdn\fR suboption - for
1451 example, if the value of \fBfqdn.fqdn\fR is "foo.example.com.",
1452 then \fBfqdn.domainname\fR will be "example.com.". If this suboption value
1453 is not set, it means that an unqualified name was sent in the \fBfqdn\fR option,
1454 or that no \fBfqdn\fR option was sent at all.
1455 .RE
1456 .PP
1457 If you wish to use any of these suboptions, we strongly recommend that you
1458 refer to the Client FQDN option draft (or standard, when it becomes a
1459 standard) - the documentation here is sketchy and incomplete in comparison,
1460 and is just intended for reference by people who already understand the
1461 Client FQDN option specification.
1462 .SH THE NETWARE/IP SUBOPTIONS
1463 RFC2242 defines a set of encapsulated options for Novell NetWare/IP
1464 clients. To use these options in the dhcp server, specify the option
1465 space name, "nwip", followed by a period, followed by the option name.
1466 The following options can be specified:
1467 .PP
1468 .B option \fBnwip.nsq-broadcast\fR \fIflag\fR\fB;\fR
1469 .RS 0.25i
1470 .PP
1471 If true, the client should use the NetWare Nearest Server Query to
1472 locate a NetWare/IP server. The behaviour of the Novell client if
1473 this suboption is false, or is not present, is not specified.
1474 .PP
1475 .RE
1476 .B option \fBnwip.preferred-dss\fR \fIip-address\fR [\fB,\fR \fIip-address\fR... ]\fR\fB;\fR
1477 .RS 0.25i
1478 .PP
1479 This suboption specifies a list of up to five IP addresses, each of
1480 which should be the IP address of a NetWare Domain SAP/RIP server
1481 (DSS).
1482 .RE
1483 .PP
1484 .B option \fBnwip.nearest-nwip-server\fR \fI\fIip-address\fR
1485 [\fB,\fR \fIip-address\fR...]\fR\fB;\fR
1486 .RS 0.25i
1487 .PP
1488 This suboption specifies a list of up to five IP addresses, each of
1489 which should be the IP address of a Nearest NetWare IP server.
1490 .RE
1491 .PP
1492 .B option \fBnwip.autoretries\fR \fIuint8\fR\fB;\fR
1493 .RS 0.25i
1494 .PP
1495 Specifies the number of times that a NetWare/IP client should attempt
1496 to communicate with a given DSS server at startup.
1497 .RE
1498 .PP
1499 .B option \fBnwip.autoretry-secs\fR \fIuint8\fR\fB;\fR
1500 .RS 0.25i
1501 .PP
1502 Specifies the number of seconds that a Netware/IP client should wait
1503 between retries when attempting to establish communications with a DSS
1504 server at startup.
1505 .RE
1506 .PP
1507 .B option \fBnwip.nwip-1-1\fR \fIuint8\fR\fB;\fR
1508 .RS 0.25i
1509 .PP
1510 If true, the NetWare/IP client should support NetWare/IP version 1.1
1511 compatibility. This is only needed if the client will be contacting
1512 Netware/IP version 1.1 servers.
1513 .RE
1514 .PP
1515 .B option \fBnwip.primary-dss\fR \fIip-address\fR\fB;\fR
1516 .RS 0.25i
1517 .PP
1518 Specifies the IP address of the Primary Domain SAP/RIP Service server
1519 (DSS) for this NetWare/IP domain. The NetWare/IP administration
1520 utility uses this value as Primary DSS server when configuring a
1521 secondary DSS server.
1522 .RE
1523 .SH STANDARD DHCPV6 OPTIONS
1524 DHCPv6 options differ from DHCPv4 options partially due to using
1525 16-bit code and length tags, but semantically zero-length options
1526 are legal in DHCPv6, and multiple options are treated differently.
1527 Whereas in DHCPv4 multiple options would be concatenated to form one
1528 option, in DHCPv6 they are expected to be individual instantiations.
1529 Understandably, many options are not "allowed" to have multiple
1530 instances in a packet - normally these are options which are digested
1531 by the DHCP protocol software, and not by users or applications.
1532 .PP
1533 .B option \fBdhcp6.client-id\fR \fIstring\fR\fB;\fR
1534 .RS 0.25i
1535 .PP
1536 This option specifies the client's DUID identifier. DUIDs are similar
1537 but different from DHCPv4 client identifiers - there are documented duid
1538 types:
1539 .PP
1540 .I duid-llt
1541 .PP
1542 .I duid-en
1543 .PP
1544 .I duid-ll
1545 .PP
1546 This value should not be configured, but rather is provided by clients
1547 and treated as an opaque identifier key blob by servers.
1548 .RE
1549 .PP
1550 .B option \fBdhcp6.server-id\fR \fIstring\fR\fB;\fR
1551 .RS 0.25i
1552 .PP
1553 This option specifies the server's DUID identifier. One may use this
1554 option to configure an opaque binary blob for your server's identifier.
1555 .RE
1556 .PP
1557 .B option \fBdhcp6.ia-na\fR \fIstring\fR\fB;\fR
1558 .RS 0.25i
1559 .PP
1560 The Identity Association for Non-temporary Addresses (ia-na) carries
1561 assigned addresses that are not temporary addresses for use by the
1562 DHCPv6 client. This option is produced by the DHCPv6 server software,
1563 and should not be configured.
1564 .RE
1565 .PP
1566 .B option \fBdhcp6.ia-ta\fR \fIstring\fR\fB;\fR
1567 .RS 0.25i
1568 .PP
1569 The Identity Association for Temporary Addresses (ia-ta) carries
1570 temporary addresses, which may change upon every renewal. There is
1571 no support for this in the current DHCPv6 software.
1572 .RE
1573 .PP
1574 .B option \fBdhcp6.ia-addr\fR \fIstring\fR\fB;\fR
1575 .RS 0.25i
1576 .PP
1577 The Identity Association Address option is encapsulated inside ia-na
1578 or ia-ta options in order to represent addresses associated with those
1579 IA's. These options are manufactured by the software, so should not
1580 be configured.
1581 .RE
1582 .PP
1583 .B option \fBdhcp6.oro\fR \fIuint16\fR [ \fB,\fR \fIuint16\fR\fB,\fR ... ]\fB;\fR
1584 .RS 0.25i
1585 .PP
1586 The Option Request Option ("ORO") is the DHCPv6 equivalent of the
1587 parameter-request-list. Clients supply this option to ask servers
1588 to reply with options relevant to their needs and use. This option
1589 must not be directly configured, the request syntax in dhclient.conf (5)
1590 should be used instead.
1591 .RE
1592 .PP
1593 .B option \fBdhcp6.preference\fR \fIuint8\fR\fB;\fR
1594 .RS 0.25i
1595 .PP
1596 The \fBpreference\fR option informs a DHCPv6 client which server is
1597 \'preferred\' for use on a given subnet. This preference is only
1598 applied during the initial stages of configuration - once a client
1599 is bound to an IA, it will remain bound to that IA until it is no
1600 longer valid or has expired. This value may be configured on the
1601 server, and is digested by the client software.
1602 .RE
1603 .PP
1604 .B option \fBdhcp6.elapsed-time\fR \fIuint16\fR\fB;\fR
1605 .RS 0.25i
1606 .PP
1607 The \fBelapsed-time\fR option is constructed by the DHCPv6 client
1608 software, and is potentially consumed by intermediaries. This
1609 option should not be configured.
1610 .RE
1611 .PP
1612 .B option \fBdhcp6.relay-msg\fR \fIstring\fR\fB;\fR
1613 .RS 0.25i
1614 .PP
1615 The \fBrelay-msg\fR option is constructed by intervening DHCPv6
1616 relay agent software. This option is entirely used by protocol
1617 software, and is not meant for user configuration.
1618 .RE
1619 .PP
1620 .B option \fBdhcp6.unicast\fR \fIip6-address\fR\fB;\fR
1621 .RS 0.25i
1622 .PP
1623 The \fBunicast\fR option is provided by DHCPv6 servers which are
1624 willing (or prefer) to receive Request, Renew, Decline, and Release packets
1625 from their clients via unicast. Normally, DHCPv6 clients will multicast
1626 these messages. Per RFC 3315, the server will reject a unicast message received
1627 from a client unless it previously sent (or would have sent) the unicast option
1628 to that client. This option may be configured on the server at the global and
1629 shared network level. When a unicast message is received, the server will
1630 check for an applicable definition of the unicast option. If such an option
1631 is found the message will be accepted, if not it will be rejected.
1632 .RE
1633 .PP
1634 .B option \fBdhcp6.status-code\fR \fIstatus-code\fR [ \fIstring\fR ] \fB;\fR
1635 .RS 0.25i
1636 .PP
1637 The \fBstatus-code\fR option is provided by DHCPv6 servers to inform
1638 clients of error conditions during protocol communication. This option
1639 is manufactured and digested by protocol software, and should not be
1640 configured.
1641 .RE
1642 .PP
1643 .B option \fBdhcp6.rapid-commit\fR \fB;\fR
1644 .RS 0.25i
1645 .PP
1646 The \fBrapid-commit\fR option is a zero-length option that clients use
1647 to indicate their desire to enter into rapid-commit with the server.
1648 .RE
1649 .PP
1650 .B option \fBdhcp6.vendor-opts\fR \fIstring\fR\fB;\fR
1651 .RS 0.25i
1652 .PP
1653 The \fBvendor-opts\fR option is actually an encapsulated sub-option space,
1654 in which each Vendor-specific Information Option (VSIO) is identified by
1655 a 32-bit Enterprise-ID number. The encapsulated option spaces within these
1656 options are defined by the vendors.
1657 .PP
1658 To make use of this option, the best way is to examine the section
1659 titled VENDOR ENCAPSULATED OPTIONS below, in particular the bits about
1660 the "vsio" option space.
1661 .RE
1662 .PP
1663 .B option \fBdhcp6.interface-id\fR \fIstring\fR\fB;\fR
1664 .RS 0.25i
1665 .PP
1666 The \fBinterface-id\fR option is manufactured by relay agents, and may
1667 be used to guide configuration differentiating clients by the interface
1668 they are remotely attached to. It does not make sense to configure a
1669 value for this option, but it may make sense to inspect its contents.
1670 .RE
1671 .PP
1672 .B option \fBdhcp6.reconf-msg\fR \fIdhcpv6-message\fR\fB;\fR
1673 .RS 0.25i
1674 .PP
1675 The \fBreconf-msg\fR option is manufactured by servers, and sent to
1676 clients in Reconfigure messages to inform them of what message
1677 the client should Reconfigure using. There is no support for
1678 DHCPv6 Reconfigure extensions, and this option is documented
1679 informationally only.
1680 .RE
1681 .PP
1682 .B option \fBdhcp6.reconf-accept ;\fR
1683 .RS 0.25i
1684 .PP
1685 The \fBreconf-accept\fR option is included by DHCPv6 clients that
1686 support the Reconfigure extensions, advertising that they will
1687 respond if the server were to ask them to Reconfigure. There is
1688 no support for DHCPv6 Reconfigure extensions, and this option is
1689 documented informationally only.
1690 .RE
1691 .PP
1692 .B option \fBdhcp6.sip-servers-names\fR \fIdomain-list\fR\fB;\fR
1693 .RS 0.25i
1694 .PP
1695 The \fBsip-servers-names\fR option allows SIP clients to locate a
1696 local SIP server that is to be used for all outbound SIP requests, a
1697 so-called"outbound proxy server." If you wish to use manually entered
1698 IPv6 addresses instead, please see the \fBsip-servers-addresses\fR option
1699 below.
1700 .RE
1701 .PP
1702 .B option
1703 .B dhcp6.sip-servers-addresses
1704 .I ip6-address \fR[\fB,\fR
1705 .I ip6-address \fR... ]
1706 .B ;
1707 .RS 0.25i
1708 .PP
1709 The \fBsip-servers-addresses\fR option allows SIP clients to locate
1710 a local SIP server that is to be used for all outbound SIP requests,
1711 a so-called "outbound proxy servers." If you wish to use domain names
1712 rather than IPv6 addresses, please see the \fBsip-servers-names\fR option
1713 above.
1714 .RE
1715 .PP
1716 .B option
1717 .B dhcp6.name-servers
1718 .I ip6-address \fR[\fB,\fR
1719 .I ip6-address \fR... ]
1720 .B ;
1721 .RS 0.25i
1722 .PP
1723 The \fBname-servers\fR option instructs clients about locally available
1724 recursive DNS servers. It is easiest to describe this as the "nameserver"
1725 line in /etc/resolv.conf.
1726 .RE
1727 .PP
1728 .B option \fBdhcp6.domain-search\fR \fIdomain-list\fR\fB;\fR
1729 .RS 0.25i
1730 .PP
1731 The \fBdomain-search\fR option specifies the client's domain search path
1732 to be applied to recursive DNS queries. It is easiest to describe this as
1733 the "search" line in /etc/resolv.conf.
1734 .RE
1735 .PP
1736 .B option \fBdhcp6.ia-pd\fR \fIstring\fR\fB;\fR
1737 .RS 0.25i
1738 .PP
1739 The \fBia-pd\fR option is manufactured by clients and servers to create a
1740 Prefix Delegation binding - to delegate an IPv6 prefix to the client. It is
1741 not directly edited in dhcpd.conf(5) or dhclient.conf(5), but rather is
1742 manufactured and consumed by the software.
1743 .RE
1744 .PP
1745 .B option \fBdhcp6.ia-prefix\fR \fIstring\fR\fB;\fR
1746 .RS 0.25i
1747 .PP
1748 The \fBia-prefix\fR option is placed inside \fBia-pd\fR options in order
1749 to identify the prefix(es) allocated to the client. It is not directly
1750 edited in dhcpd.conf(5) or dhclient.conf(5), but rather is
1751 manufactured and consumed by the software.
1752 .RE
1753 .PP
1754 .B option
1755 .B dhcp6.nis-servers
1756 .I ip6-address \fR[\fB,
1757 .I ip6-address \fR... ]
1758 .B ;
1759 .RS 0.25i
1760 .PP
1761 The \fBnis-servers\fR option identifies, in order, NIS servers available
1762 to the client.
1763 .RE
1764 .PP
1765 .B option
1766 .B dhcp6.nisp-servers
1767 .I ip6-address \fR[\fB,
1768 .I ip6-address \fR... ]
1769 .B ;
1770 .RS 0.25i
1771 .PP
1772 The \fBnisp-servers\fR option identifies, in order, NIS+ servers available
1773 to the client.
1774 .RE
1775 .PP
1776 .B option \fBnis-domain-name\fR \fIdomain-list\fR\fB;\fR
1777 .RS 0.25i
1778 .PP
1779 The \fBnis-domain-name\fR option specifies the NIS domain name the client is
1780 expected to use, and is related to the \fBnis-servers\fR option.
1781 .RE
1782 .PP
1783 .B option \fBdhcp6.nis-domain-name\fR \fIdomain-name\fR\fB;\fR
1784 .RS 0.25i
1785 .PP
1786 The \fBdhcp6.nis-domain-name\fR option specifies NIS domain name the
1787 client is expected to use, and is related to \fBdhcp6.nis-servers\fR option.
1788 .RE
1789 .PP
1790 .B option \fBnisp-domain-name\fR \fIdomain-list\fR\fB;\fR
1791 .RS 0.25i
1792 .PP
1793 The \fBnisp-domain-name\fR option specifies the NIS+ domain name the client
1794 is expected to use, and is related to the \fBnisp-servers\fR option.
1795 .RE
1796 .PP
1797 .B option \fBdhcp6.nisp-domain-name\fR \fIdomain-name\fR\fB;\fR
1798 .RS 0.25i
1799 .PP
1800 The \fBdhcp6.nis-domain-name\fR option specifies NIS+ domain name the
1801 client is expected to use, and is related to \fBdhcp6.nisp-servers\fR option.
1802 .RE
1803 .PP
1804 .B option
1805 .B dhcp6.sntp-servers
1806 .I ip6-address \fR[\fB,
1807 .I ip6-address \fR... ]
1808 .B ;
1809 .RS 0.25i
1810 .PP
1811 The \fBsntp-servers\fR option specifies a list of local SNTP servers
1812 available for the client to synchronize their clocks.
1813 .RE
1814 .PP
1815 .B option \fBdhcp6.info-refresh-time\fR \fIuint32\fR\fB;\fR
1816 .RS 0.25i
1817 .PP
1818 The \fBinfo-refresh-time\fR option gives DHCPv6 clients using
1819 Information-request messages a hint as to how long they should between
1820 refreshing the information they were given. Note that this option will
1821 only be delivered to the client, and be likely to affect the client's
1822 behaviour, if the client requested the option.
1823 .RE
1824 .PP
1825 .B option \fBdhcp6.bcms-server-d\fR \fIdomain-list\fR\fB;\fR
1826 .RS 0.25i
1827 .PP
1828 The \fBbcms-server-d\fR option contains the domain names of local BCMS
1829 (Broadcast and Multicast Control Services) controllers which the client
1830 may use.
1831 .RE
1832 .PP
1833 .B option
1834 .B dhcp6.bcms-server-a
1835 .I ip6-address \fR[\fB,
1836 .I ip6-address \fR... ]
1837 .B ;
1838 .RS 0.25i
1839 .PP
1840 The \fBbcms-server-a\fR option contains the IPv6 addresses of local BCMS
1841 (Broadcast and Multicast Control Services) controllers which the client
1842 may use.
1843 .RE
1844 .PP
1845 .B option \fBdhcp6.geoconf-civic\fR \fIstring\fR\fB;\fR
1846 .RS 0.25i
1847 .PP
1848 A string to hold the geoconf civic structure.
1849 .PP
1850 This option is included based on RFC 4776.
1851 .RE
1852 .PP
1853 .B option \fBdhcp6.remote-id\fR \fIstring\fR\fB;\fR
1854 .RS 0.25i
1855 .PP
1856 The \fBremote-id\fR option is constructed by relay agents, to inform the
1857 server of details pertaining to what the relay knows about the client (such
1858 as what port it is attached to, and so forth). The contents of this option
1859 have some vendor-specific structure (similar to VSIO), but we have chosen
1860 to treat this option as an opaque field.
1861 .RE
1862 .PP
1863 .B option \fBdhcp6.subscriber-id\fR \fIstring\fR\fB;\fR
1864 .RS 0.25i
1865 .PP
1866 The \fBsubscriber-id\fR option is an opaque field provided by the relay agent,
1867 which provides additional information about the subscriber in question. The
1868 exact contents of this option depend upon the vendor and/or the operator's
1869 configuration of the remote device, and as such is an opaque field.
1870 .RE
1871 .PP
1872 .B option \fBdhcp6.fqdn\fR \fIstring\fR\fB;\fR
1873 .RS 0.25i
1874 .PP
1875 The \fBfqdn\fR option is normally constructed by the client or server,
1876 and negotiates the client's Fully Qualified Domain Name, as well as which
1877 party is responsible for Dynamic DNS Updates. See the section on the
1878 Client FQDN SubOptions for full details (the DHCPv4 and DHCPv6 FQDN options
1879 use the same "fqdn." encapsulated space, so are in all ways identical).
1880 .RE
1881 .PP
1882 .B option \fBdhcp6.pana-agent\fR
1883 .I ip6-address \fR[\fB,
1884 .I ip6-address \fR... ]
1885 .B ;
1886 .RS 0.25i
1887 .PP
1888 A set of IPv6 addresses of a PAA for the client to use. The
1889 addresses are listed in preferred order.
1890 .PP
1891 This option is included based on RFC 5192.
1892 .RE
1893 .PP
1894 .B option \fBdhcp6.new-posix-timezone\fR \fItext\fR\fB;\fR
1895 .RS 0.25i
1896 .PP
1897 This option specifies a string suitable for the TZ variable.
1898 .PP
1899 This option is included based on RFC 4833.
1900 .RE
1901 .PP
1902 .B option \fBdhcp6.new-tzdb-timezone\fR \fItext\fR\fB;\fR
1903 .RS 0.25i
1904 .PP
1905 This option specifies a name of a zone entry in the TZ database.
1906 .PP
1907 This option is included based on RFC 4833.
1908 .RE
1909 .PP
1910 .B option \fBdhcp6.ero\fR
1911 .I uint16 \fR[\fB,
1912 .I uint16 \fR... ]
1913 .B ;
1914 .RS 0.25i
1915 .PP
1916 A list of the options requested by the relay agent.
1917 .PP
1918 This option is included based on RFC 4994.
1919 .RE
1920 .PP
1921 .B option \fBdhcp6.lq-query\fR \fIstring\fR\fB;\fR
1922 .RS 0.25i
1923 .PP
1924 The \fBlq-query\fR option is used internally for lease query.
1925 .RE
1926 .PP
1927 .B option \fBdhcp6.client-data\fR \fIstring\fR\fB;\fR
1928 .RS 0.25i
1929 .PP
1930 The \fBclient-data\fR option is used internally for lease query.
1931 .RE
1932 .PP
1933 .B option \fBdhcp6.clt-time\fR \fIuint32\fR\fB;\fR
1934 .RS 0.25i
1935 .PP
1936 The \fBclt-time\fR option is used internally for lease query.
1937 .RE
1938 .PP
1939 .B option \fBdhcp6.lq-relay-data\fR \fIip6-address string\fR\fB;\fR
1940 .RS 0.25i
1941 .PP
1942 The \fBlq-relay-data\fR option is used internally for lease query.
1943 .RE
1944 .PP
1945 .B option
1946 .B dhcp6.lq-client-link
1947 .I ip6-address \fR[\fB,\fR
1948 .I ip6-address \fR... ]
1949 .B ;
1950 .RS 0.25i
1951 .PP
1952 The \fBlq-client-link\fR option is used internally for lease query.
1953 .RE
1954 .PP
1955 .B option \fBdhcp6.v6-lost\fR \fIdomain-name\fR\fB;\fR
1956 .RS 0.25i
1957 .PP
1958 The domain name of the LoST server for the client to use.
1959 .PP
1960 This option is included based on RFC 5223.
1961 .RE
1962 .PP
1963 .B option \fBdhcp6.capwap-ac-v6\fR
1964 .I ip6-address \fR[\fB,
1965 .I ip6-address \fR... ]
1966 .B ;
1967 .RS 0.25i
1968 .PP
1969 A list of IPv6 addresses of CAPWAP ACs that the WTP may use.
1970 The addresses are listed in preference order.
1971 .PP
1972 This option is included based on RFC 5417.
1973 .RE
1974 .PP
1975 .B option \fBdhcp6.relay-id\fR \fIstring\fR\fB;\fR
1976 .RS 0.25i
1977 .PP
1978 The DUID for the relay agent.
1979 .PP
1980 This option is included based on RFC 5460.
1981 .RE
1982 .PP
1983 .B option \fBdhcp6.v6-access-domain\fR \fIdomain-name\fR\fB;\fR
1984 .RS 0.25i
1985 .PP
1986 The domain name associated with the access network for use with
1987 LIS Discovery.
1988 .PP
1989 This option is included based on RFC5986.
1990 .RE
1991 .PP
1992 .B option \fBdhcp6.sip-ua-cs-list\fR \fIdomain-list\fR\fB;\fR
1993 .RS 0.25i
1994 .PP
1995 The list of domain names in the SIP User Agent Configuration
1996 Service Domains.
1997 .PP
1998 This option is included based on RFC 6011.
1999 .RE
2000 .PP
2001 .B option \fBdhcp6.bootfile-url\fR \fItext\fR\fB;\fR
2002 .RS 0.25i
2003 .PP
2004 The URL for a boot file.
2005 .PP
2006 This option is included based on RFC 5970.
2007 .RE
2008 .PP
2009 .B option \fBdhcp6.bootfile-param\fR \fIstring\fR\fB;\fR
2010 .RS 0.25i
2011 .PP
2012 A string for the parameters to the bootfile. See RFC 5970
2013 for more description of the layout of the parameters within
2014 the string.
2015 .PP
2016 This option is included based on RFC 5970.
2017 .RE
2018 .PP
2019 .B option \fBdhcp6.client-arch-type\fR
2020 .I uint16 \fR[\fB,
2021 .I uint16 \fR... ]
2022 .B ;
2023 .RS 0.25i
2024 .PP
2025 A list of one or more architecture types described as 16 bit
2026 values.
2027 .PP
2028 This option is included based on RFC 5970.
2029 .RE
2030 .PP
2031 .B option \fBdhcp6.nii\fR \fIuint8 uint8 uint8\fR\fB;\fR
2032 .RS 0.25i
2033 .PP
2034 The client network interface identitier option supplies information
2035 about a client's level of UNDI support. The values are, in order,
2036 the type, the major value and the minor value.
2037 .PP
2038 This option is included based on RFC5970.
2039 .RE
2040 .PP
2041 .B option \fBdhcp6.aftr-name\fR \fIdomain-name\fR\fB;\fR
2042 .RS 0.25i
2043 .PP
2044 A domain name of the AFTR tunnel endpoint.
2045 .PP
2046 This option is included based on RFC 6334.
2047 .RE
2048 .PP
2049 .B option \fBdhcp6.erp-local-domain-name\fR \fIdomain-name\fR\fB;\fR
2050 .RS 0.25i
2051 .PP
2052 A domain name for the ERP domain.
2053 .PP
2054 This option is included based on RFC 6440.
2055 .RE
2056 .PP
2057 .B option \fBdhcp6.rdnss-selection\fR \fIip6-address uint8 domain-name\fR\fB;\fR
2058 .RS 0.25i
2059 .PP
2060 RDNSS information consists of an IPv6 address of RDNSS, an 8 bit flags field and
2061 a domain-list of domains for which the RDNSS has special knowledge.
2062 .PP
2063 This option is included based on RFC 6731.
2064 .RE
2065 .PP
2066 .B option \fBdhcp6.client-linklayer-addr\fR \fIstring\fR\fB;\fR
2067 .RS 0.25i
2068 .PP
2069 A client link-layer address. The first two bytes must be the type
2070 of the link-layer followed by the address itself.
2071 .PP
2072 This option is included based on RFC 6939.
2073 .RE
2074 .PP
2075 .B option \fBdhcp6.link-address\fR \fIip6-address\fR\fB;\fR
2076 .RS 0.25i
2077 .PP
2078 An IPv6 address used by a relay agent to indicate to the server
2079 the link on which the client is located.
2080 .PP
2081 This option is included based on RFC 6977.
2082 .RE
2083 .PP
2084 .B option \fBdhcp6.solmax-rt\fR \fIuint32\fR\fB;\fR
2085 .RS 0.25i
2086 .PP
2087 A value to override the default for SOL_MAX_RT. This is a
2088 32 bit value.
2089 .PP
2090 This option is included based on RFC 7083.
2091 .RE
2092 .PP
2093 .B option \fBdhcp6.inf-max-rt\fR \fIuint32\fR\fB;\fR
2094 .RS 0.25i
2095 .PP
2096 A value to override the default for INF_MAX_RT. This is a
2097 32 bit value.
2098 .PP
2099 This option is included based on RFC 7083.
2100 .RE
2101 .SH ACCESSING DHCPV6 RELAY OPTIONS
2102 .PP
2103 .B v6relay (\fBrelay-number\fR, \fBoption\fR)
2104 This option allows access to an option that has been added to a packet
2105 by a relay agent. Relay-number value selects the relay to examine
2106 and option is the option to find. In DHCPv6 each relay encapsulates
2107 the entire previous message into an option, adds its own options (if
2108 any) and sends the result onwards. The RFC specifies a limit of 32
2109 hops. A relay-number of 0 is a no-op and means don't look at the relays.
2110 1 is the relay that is closest to the client, 2 would be the next in
2111 from the client and so on. Any value greater than the max number of hops
2112 is which is closest to the server independent of number. To use this
2113 option in a class statement you would have something like this:
2114 .PP
2115 match if v6relay(1, option dhcp6.subscriber-id) = "client_1";
2116 .RE
2117 .PP
2118 .RE
2119 .SH DEFINING NEW OPTIONS
2120 The Internet Systems Consortium DHCP client and server provide the
2121 capability to define new options. Each DHCP option has a name, a
2122 code, and a structure. The name is used by you to refer to the
2123 option. The code is a number, used by the DHCP server and client to
2124 refer to an option. The structure describes what the contents of an
2125 option looks like.
2126 .PP
2127 To define a new option, you need to choose a name for it that is not
2128 in use for some other option - for example, you can't use "host-name"
2129 because the DHCP protocol already defines a host-name option, which is
2130 documented earlier in this manual page. If an option name doesn't
2131 appear in this manual page, you can use it, but it's probably a good
2132 idea to put some kind of unique string at the beginning so you can be
2133 sure that future options don't take your name. For example, you
2134 might define an option, "local-host-name", feeling some confidence
2135 that no official DHCP option name will ever start with "local".
2136 .PP
2137 Once you have chosen a name, you must choose a code. All codes between
2138 224 and 254 are reserved as \'site-local\' DHCP options, so you can pick
2139 any one of these for your site (not for your product/application). In
2140 RFC3942, site-local space was moved from starting at 128 to starting at
2141 224. In practice, some vendors have interpreted the protocol rather
2142 loosely and have used option code values greater than 128 themselves.
2143 There's no real way to avoid this problem, and it was thought to be
2144 unlikely to cause too much trouble in practice. If you come across
2145 a vendor-documented option code in either the new or old site-local
2146 spaces, please contact your vendor and inform them about rfc3942.
2147 .PP
2148 The structure of an option is simply the format in which the option
2149 data appears. The ISC DHCP server currently supports a few simple
2150 types, like integers, booleans, strings and IP addresses, and it also
2151 supports the ability to define arrays of single types or arrays of
2152 fixed sequences of types.
2153 .PP
2154 New options are declared as follows:
2155 .PP
2156 .B option
2157 .I new-name
2158 .B code
2159 .I new-code
2160 .B =
2161 .I definition
2162 .B ;
2163 .PP
2164 The values of
2165 .I new-name
2166 and
2167 .I new-code
2168 should be the name you have chosen for the new option and the code you
2169 have chosen. The
2170 .I definition
2171 should be the definition of the structure of the option.
2172 .PP
2173 The following simple option type definitions are supported:
2174 .PP
2175 .B BOOLEAN
2176 .PP
2177 .B option
2178 .I new-name
2179 .B code
2180 .I new-code
2181 .B =
2182 .B boolean
2183 .B ;
2184 .PP
2185 An option of type boolean is a flag with a value of either on or off
2186 (or true or false). So an example use of the boolean type would be:
2187 .nf
2188
2189 option use-zephyr code 180 = boolean;
2190 option use-zephyr on;
2191
2192 .fi
2193 .B INTEGER
2194 .PP
2195 .B option
2196 .I new-name
2197 .B code
2198 .I new-code
2199 .B =
2200 .I sign
2201 .B integer
2202 .I width
2203 .B ;
2204 .PP
2205 The \fIsign\fR token should either be blank, \fIunsigned\fR
2206 or \fIsigned\fR. The width can be either 8, 16 or 32, and refers to
2207 the number of bits in the integer. So for example, the following two
2208 lines show a definition of the sql-connection-max option and its use:
2209 .nf
2210
2211 option sql-connection-max code 192 = unsigned integer 16;
2212 option sql-connection-max 1536;
2213
2214 .fi
2215 .B IP-ADDRESS
2216 .PP
2217 .B option
2218 .I new-name
2219 .B code
2220 .I new-code
2221 .B =
2222 .B ip-address
2223 .B ;
2224 .PP
2225 An option whose structure is an IP address can be expressed either as
2226 a domain name or as a dotted quad. So the following is an example use
2227 of the ip-address type:
2228 .nf
2229
2230 option sql-server-address code 193 = ip-address;
2231 option sql-server-address sql.example.com;
2232
2233 .fi
2234 .B IP6-ADDRESS
2235 .PP
2236 .B option
2237 .I new-name
2238 .B code
2239 .I new-code
2240 .B =
2241 .B ip6-address
2242 .B ;
2243 .PP
2244 An option whose structure is an IPv6 address must be expressed as
2245 a valid IPv6 address. The following is an example use of the
2246 ip6-address type:
2247 .nf
2248
2249 option dhcp6.some-server code 1234 = array of ip6-address;
2250 option dhcp6.some-server 3ffe:bbbb:aaaa:aaaa::1, 3ffe:bbbb:aaaa:aaaa::2;
2251
2252 .fi
2253 .PP
2254 .B TEXT
2255 .PP
2256 .B option
2257 .I new-name
2258 .B code
2259 .I new-code
2260 .B =
2261 .B text
2262 .B ;
2263 .PP
2264 An option whose type is text will encode an ASCII text string. For
2265 example:
2266 .nf
2267
2268 option sql-default-connection-name code 194 = text;
2269 option sql-default-connection-name "PRODZA";
2270
2271 .fi
2272 .PP
2273 .B DATA STRING
2274 .PP
2275 .B option
2276 .I new-name
2277 .B code
2278 .I new-code
2279 .B =
2280 .B string
2281 .B ;
2282 .PP
2283 An option whose type is a data string is essentially just a collection
2284 of bytes, and can be specified either as quoted text, like the text
2285 type, or as a list of hexadecimal contents separated by colons whose
2286 values must be between 0 and FF. For example:
2287 .nf
2288
2289 option sql-identification-token code 195 = string;
2290 option sql-identification-token 17:23:19:a6:42:ea:99:7c:22;
2291
2292 .fi
2293 .PP
2294 .B DOMAIN-LIST
2295 .PP
2296 .B option
2297 .I new-name
2298 .B code
2299 .I new-code
2300 .B =
2301 .B domain-list
2302 .B [compressed]
2303 .B ;
2304 .PP
2305 An option whose type is \fBdomain-list\fR is an RFC1035 formatted (on the
2306 wire, "DNS Format") list of domain names, separated by root labels. The
2307 optional \fBcompressed\fR keyword indicates if the option should be
2308 compressed relative to the start of the option contents (not the packet
2309 contents).
2310 .PP
2311 When in doubt, omit the \fBcompressed\fR keyword. When the software receives
2312 an option that is compressed and the \fBcompressed\fR keyword is omitted, it
2313 will still decompress the option (relative to the option contents field). The
2314 keyword only controls whether or not transmitted packets are compressed.
2315 .PP
2316 Note that when
2317 .B domain-list
2318 formatted options are output as environment variables to
2319 .B dhclient-script(8),
2320 the standard DNS \-escape mechanism is used: they are decimal. This is
2321 appropriate for direct use in eg /etc/resolv.conf.
2322 .nf
2323
2324 .fi
2325 .PP
2326 .B ENCAPSULATION
2327 .PP
2328 .B option
2329 .I new-name
2330 .B code
2331 .I new-code
2332 .B =
2333 .B encapsulate
2334 .I identifier
2335 .B ;
2336 .PP
2337 An option whose type is \fBencapsulate\fR will encapsulate the
2338 contents of the option space specified in \fIidentifier\fR. Examples
2339 of encapsulated options in the DHCP protocol as it currently exists
2340 include the vendor-encapsulated-options option, the netware-suboptions
2341 option and the relay-agent-information option.
2342 .nf
2343
2344 option space local;
2345 option local.demo code 1 = text;
2346 option local-encapsulation code 197 = encapsulate local;
2347 option local.demo "demo";
2348
2349 .fi
2350 .PP
2351 .B ARRAYS
2352 .PP
2353 Options can contain arrays of any of the above types except for the
2354 text and data string types, which aren't currently supported in
2355 arrays. An example of an array definition is as follows:
2356 .nf
2357
2358 option kerberos-servers code 200 = array of ip-address;
2359 option kerberos-servers 10.20.10.1, 10.20.11.1;
2360
2361 .fi
2362 .B RECORDS
2363 .PP
2364 Options can also contain data structures consisting of a sequence of
2365 data types, which is sometimes called a record type. For example:
2366 .nf
2367
2368 option contrived-001 code 201 = { boolean, integer 32, text };
2369 option contrived-001 on 1772 "contrivance";
2370
2371 .fi
2372 It's also possible to have options that are arrays of records, for
2373 example:
2374 .nf
2375
2376 option new-static-routes code 201 = array of {
2377 ip-address, ip-address, ip-address, integer 8 };
2378 option static-routes
2379 10.0.0.0 255.255.255.0 net-0-rtr.example.com 1,
2380 10.0.1.0 255.255.255.0 net-1-rtr.example.com 1,
2381 10.2.0.0 255.255.224.0 net-2-0-rtr.example.com 3;
2382
2383 .fi
2384 .SH VENDOR ENCAPSULATED OPTIONS
2385 The DHCP protocol defines the \fBvendor-encapsulated-options\fR
2386 option, which allows vendors to define their own options that will be
2387 sent encapsulated in a standard DHCP option. It also defines
2388 the \fBVendor Identified Vendor Sub Options\fR option ("VIVSO"), and the
2389 DHCPv6 protocol defines the \fBVendor-specific Information Option\fR
2390 ("VSIO"). The format of all of these options is usually internally a
2391 string of options, similarly to other normal DHCP options. The VIVSO
2392 and VSIO options differ in that they contain options that correspond
2393 to vendor Enterprise-ID numbers (assigned by IANA), which then contain
2394 options according to each Vendor's specifications. You will need to refer
2395 to your vendor's documentation in order to form options to their
2396 specification.
2397 .PP
2398 The value of these options can be set in one of two ways. The first
2399 way is to simply specify the data directly, using a text string or a
2400 colon-separated list of hexadecimal values. For help in forming these
2401 strings, please refer to \fBRFC2132\fR for the DHCPv4 \fBVendor Specific
2402 Information Option\fR, \fBRFC3925\fR for the DHCPv4 \fBVendor Identified Vendor
2403 Sub Options\fR, or \fBRFC3315\fR for the DHCPv6 \fBVendor-specific Information
2404 Option\fR. For example:
2405 .PP
2406 .nf
2407 option vendor-encapsulated-options
2408 2:4:
2409 AC:11:41:1:
2410 3:12:
2411 73:75:6e:64:68:63:70:2d:73:65:72:76:65:72:31:37:2d:31:
2412 4:12:
2413 2f:65:78:70:6f:72:74:2f:72:6f:6f:74:2f:69:38:36:70:63;
2414 option vivso
2415 00:00:09:bf:0E:
2416 01:0c:
2417 48:65:6c:6c:6f:20:77:6f:72:6c:64:21;
2418 option dhcp6.vendor-opts
2419 00:00:09:bf:
2420 00:01:00:0c:
2421 48:65:6c:6c:6f:20:77:6f:72:6c:64:21;
2422 .fi
2423 .PP
2424 The second way of setting the value of these options is to have the DHCP
2425 server generate a vendor-specific option buffer. To do this, you
2426 must do four things: define an option space, define some options in
2427 that option space, provide values for them, and specify that that
2428 option space should be used to generate the relevant option.
2429 .PP
2430 To define a new option space in which vendor options can be stored,
2431 use the \fRoption space\fP statement:
2432 .PP
2433 .B option
2434 .B space
2435 .I name
2436 .B [ [ code width
2437 .I number
2438 .B ] [ length width
2439 .I number
2440 .B ] [ hash size
2441 .I number
2442 .B ] ] ;
2443 .PP
2444 Where the numbers following \fBcode width\fR, \fBlength width\fR,
2445 and \fBhash size\fR respectively identify the number of bytes used to
2446 describe option codes, option lengths, and the size in buckets of the
2447 hash tables to hold options in this space (most DHCPv4 option spaces
2448 use 1 byte codes and lengths, which is the default, whereas most
2449 DHCPv6 option spaces use 2 byte codes and lengths).
2450 .PP
2451 The code and length widths are used in DHCP protocol - you must configure
2452 these numbers to match the applicable option space you are configuring.
2453 They each default to 1. Valid values for code widths are 1, 2 or 4.
2454 Valid values for length widths are 0, 1 or 2. Most DHCPv4 option spaces
2455 use 1 byte codes and lengths, which is the default, whereas most DHCPv6
2456 option spaces use 2 byte codes and lengths. A zero-byte length produces
2457 options similar to the DHCPv6 Vendor-specific Information Option - but
2458 not their contents!
2459 .PP
2460 The hash size defaults depend upon the \fBcode width\fR selected, and
2461 may be 254 or 1009. Valid values range between 1 and 65535. Note
2462 that the higher you configure this value, the more memory will be used. It
2463 is considered good practice to configure a value that is slightly larger
2464 than the estimated number of options you plan to configure within the
2465 space. Previous versions of ISC DHCP (up to and including DHCP 3.0.*),
2466 this value was fixed at 9973.
2467 .PP
2468 The name can then be used in option definitions, as described earlier in
2469 this document. For example:
2470 .nf
2471
2472 option space SUNW code width 1 length width 1 hash size 3;
2473 option SUNW.server-address code 2 = ip-address;
2474 option SUNW.server-name code 3 = text;
2475 option SUNW.root-path code 4 = text;
2476
2477 option space ISC code width 1 length width 1 hash size 3;
2478 option ISC.sample code 1 = text;
2479 option vendor.ISC code 2495 = encapsulate vivso-sample;
2480 option vendor-class.ISC code 2495 = text;
2481
2482 option ISC.sample "configuration text here";
2483 option vendor-class.ISC "vendor class here";
2484
2485 option space docsis code width 2 length width 2 hash size 17;
2486 option docsis.tftp-servers code 32 = array of ip6-address;
2487 option docsis.cablelabs-configuration-file code 33 = text;
2488 option docsis.cablelabs-syslog-servers code 34 = array of ip6-address;
2489 option docsis.device-id code 36 = string;
2490 option docsis.time-servers code 37 = array of ip6-address;
2491 option docsis.time-offset code 38 = signed integer 32;
2492 option vsio.docsis code 4491 = encapsulate docsis;
2493
2494 .fi
2495 Once you have defined an option space and the format of some options,
2496 you can set up scopes that define values for those options, and you
2497 can say when to use them. For example, suppose you want to handle
2498 two different classes of clients. Using the option space definition
2499 shown in the previous example, you can send different option values to
2500 different clients based on the vendor-class-identifier option that the
2501 clients send, as follows:
2502 .PP
2503 .nf
2504 class "vendor-classes" {
2505 match option vendor-class-identifier;
2506 }
2507
2508 subclass "vendor-classes" "SUNW.Ultra-5_10" {
2509 vendor-option-space SUNW;
2510 option SUNW.root-path "/export/root/sparc";
2511 }
2512
2513 subclass "vendor-classes" "SUNW.i86pc" {
2514 vendor-option-space SUNW;
2515 option SUNW.root-path "/export/root/i86pc";
2516 }
2517
2518 option SUNW.server-address 172.17.65.1;
2519 option SUNW.server-name "sundhcp-server17-1";
2520
2521 option vivso-sample.sample "Hello world!";
2522
2523 option docsis.tftp-servers ::1;
2524
2525 .fi
2526 .PP
2527 As you can see in the preceding example, regular scoping rules apply,
2528 so you can define values that are global in the global scope, and only
2529 define values that are specific to a particular class in the local
2530 scope. The \fBvendor-option-space\fR declaration tells the DHCP
2531 server to use options in the SUNW option space to construct the DHCPv4
2532 .B vendor-encapsulated-options
2533 option. This is a limitation of that option - the DHCPv4 VIVSO and the
2534 DHCPv6 VSIO options can have multiple vendor definitions all at once (even
2535 transmitted to the same client), so it is not necessary to configure this.
2536 .SH SEE ALSO
2537 dhcpd.conf(5), dhcpd.leases(5), dhclient.conf(5), dhcp-eval(5), dhcpd(8),
2538 dhclient(8), RFC2132, RFC2131, RFC3046, RFC3315.
2539 .SH AUTHOR
2540 Information about Internet Systems Consortium can be found at
2541 .B https://www.isc.org.