xref: /freebsd-src/sbin/dhclient/dhcp-options.5 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
147c08596SBrooks Davis.\"	$OpenBSD: dhcp-options.5,v 1.5 2005/03/02 15:30:42 jmc Exp $
247c08596SBrooks Davis.\"
347c08596SBrooks Davis.\" Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium.
447c08596SBrooks Davis.\" All rights reserved.
547c08596SBrooks Davis.\"
647c08596SBrooks Davis.\" Redistribution and use in source and binary forms, with or without
747c08596SBrooks Davis.\" modification, are permitted provided that the following conditions
847c08596SBrooks Davis.\" are met:
947c08596SBrooks Davis.\"
1047c08596SBrooks Davis.\" 1. Redistributions of source code must retain the above copyright
1147c08596SBrooks Davis.\"    notice, this list of conditions and the following disclaimer.
1247c08596SBrooks Davis.\" 2. Redistributions in binary form must reproduce the above copyright
1347c08596SBrooks Davis.\"    notice, this list of conditions and the following disclaimer in the
1447c08596SBrooks Davis.\"    documentation and/or other materials provided with the distribution.
1547c08596SBrooks Davis.\" 3. Neither the name of The Internet Software Consortium nor the names
1647c08596SBrooks Davis.\"    of its contributors may be used to endorse or promote products derived
1747c08596SBrooks Davis.\"    from this software without specific prior written permission.
1847c08596SBrooks Davis.\"
1947c08596SBrooks Davis.\" THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND
2047c08596SBrooks Davis.\" CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
2147c08596SBrooks Davis.\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
2247c08596SBrooks Davis.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2347c08596SBrooks Davis.\" DISCLAIMED.  IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
2447c08596SBrooks Davis.\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2547c08596SBrooks Davis.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2647c08596SBrooks Davis.\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
2747c08596SBrooks Davis.\" USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
2847c08596SBrooks Davis.\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
2947c08596SBrooks Davis.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
3047c08596SBrooks Davis.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3147c08596SBrooks Davis.\" SUCH DAMAGE.
3247c08596SBrooks Davis.\"
3347c08596SBrooks Davis.\" This software has been written for the Internet Software Consortium
3447c08596SBrooks Davis.\" by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
3547c08596SBrooks Davis.\" Enterprises.  To learn more about the Internet Software Consortium,
3647c08596SBrooks Davis.\" see ``http://www.isc.org/isc''.  To learn more about Vixie
3747c08596SBrooks Davis.\" Enterprises, see ``http://www.vix.com''.
3847c08596SBrooks Davis.\"
3947c08596SBrooks Davis.Dd January 1, 1995
4047c08596SBrooks Davis.Dt DHCP-OPTIONS 5
4147c08596SBrooks Davis.Os
4247c08596SBrooks Davis.Sh NAME
4347c08596SBrooks Davis.Nm dhcp-options
4447c08596SBrooks Davis.Nd Dynamic Host Configuration Protocol options
4547c08596SBrooks Davis.Sh DESCRIPTION
4647c08596SBrooks DavisThe Dynamic Host Configuration protocol allows the client to receive
4747c08596SBrooks Davis.Ic options
4847c08596SBrooks Davisfrom the DHCP server describing the network configuration and various
4947c08596SBrooks Davisservices that are available on the network.
5047c08596SBrooks DavisWhen configuring
5147c08596SBrooks Davis.Xr dhcpd 8
5247c08596SBrooks Davisor
5347c08596SBrooks Davis.Xr dhclient 8 ,
5447c08596SBrooks Davisoptions must often be declared.
5547c08596SBrooks DavisThe syntax for declaring options, and the names and formats of the options
5647c08596SBrooks Davisthat can be declared, are documented here.
5747c08596SBrooks Davis.Sh REFERENCE: OPTION STATEMENTS
5847c08596SBrooks DavisDHCP
5947c08596SBrooks Davis.Ic option
6047c08596SBrooks Davisstatements always start with the
6147c08596SBrooks Davis.Ic option
6247c08596SBrooks Daviskeyword, followed by an option name, followed by option data.
6347c08596SBrooks DavisThe option names and data formats are described below.
649a7feaa1SRuslan ErmilovIt is not necessary to exhaustively specify all DHCP options -
6547c08596SBrooks Davisonly those options which are needed by clients must be specified.
6647c08596SBrooks Davis.Pp
6747c08596SBrooks DavisOption data comes in a variety of formats, as defined below:
6847c08596SBrooks Davis.Pp
6947c08596SBrooks DavisThe
7047c08596SBrooks Davis.Ar ip-address
7147c08596SBrooks Davisdata type can be entered either as an explicit IP address
729a7feaa1SRuslan Ermilov(e.g.,
739a7feaa1SRuslan Ermilov.Li 239.254.197.10 )
749a7feaa1SRuslan Ermilovor as a domain name (e.g.,
759a7feaa1SRuslan Ermilov.Li haagen.isc.org ) .
7647c08596SBrooks DavisA domain name must resolve to a single IP address.
7747c08596SBrooks Davis.Pp
7847c08596SBrooks DavisThe
7947c08596SBrooks Davis.Ar int32
8047c08596SBrooks Davisdata type specifies a signed 32-bit integer.
8147c08596SBrooks DavisThe
8247c08596SBrooks Davis.Ar uint32
8347c08596SBrooks Davisdata type specifies an unsigned 32-bit integer.
8447c08596SBrooks DavisThe
8547c08596SBrooks Davis.Ar int16
8647c08596SBrooks Davisand
8747c08596SBrooks Davis.Ar uint16
8847c08596SBrooks Davisdata types specify signed and unsigned 16-bit integers.
8947c08596SBrooks DavisThe
9047c08596SBrooks Davis.Ar int8
9147c08596SBrooks Davisand
9247c08596SBrooks Davis.Ar uint8
9347c08596SBrooks Davisdata types specify signed and unsigned 8-bit integers.
9447c08596SBrooks DavisUnsigned 8-bit integers are also sometimes referred to as octets.
9547c08596SBrooks Davis.Pp
9647c08596SBrooks DavisThe
9747c08596SBrooks Davis.Ar string
9847c08596SBrooks Davisdata type specifies an
9947c08596SBrooks Davis.Tn NVT
10047c08596SBrooks Davis.Pq Network Virtual Terminal
10147c08596SBrooks Davis.Tn ASCII
1029a7feaa1SRuslan Ermilovstring, which must be enclosed in double quotes - for example,
10347c08596SBrooks Davisto specify a domain-name option, the syntax would be
10447c08596SBrooks Davis.Pp
1059a7feaa1SRuslan Ermilov.Dl option domain-name \&"isc.org";
10647c08596SBrooks Davis.Pp
10747c08596SBrooks DavisThe
10847c08596SBrooks Davis.Ar flag
10947c08596SBrooks Davisdata type specifies a boolean value.
1109a7feaa1SRuslan ErmilovBooleans can be either
1119a7feaa1SRuslan Ermilov.Li true
1129a7feaa1SRuslan Ermilovor
1139a7feaa1SRuslan Ermilov.Li false
1149a7feaa1SRuslan Ermilov(or
1159a7feaa1SRuslan Ermilov.Li on
1169a7feaa1SRuslan Ermilovor
1179a7feaa1SRuslan Ermilov.Li off ,
1189a7feaa1SRuslan Ermilovif that makes more sense to you).
11947c08596SBrooks Davis.Pp
12047c08596SBrooks DavisThe
12147c08596SBrooks Davis.Ar data-string
12247c08596SBrooks Davisdata type specifies either an
12347c08596SBrooks Davis.Tn NVT ASCII
12447c08596SBrooks Davisstring enclosed in double quotes, or a series of octets specified in
12547c08596SBrooks Davishexadecimal, separated by colons.
12647c08596SBrooks DavisFor example:
12747c08596SBrooks Davis.Pp
1289a7feaa1SRuslan Ermilov.Dl option dhcp-client-identifier \&"CLIENT-FOO";
12947c08596SBrooks Davisor
13047c08596SBrooks Davis.Dl option dhcp-client-identifier 43:4c:49:45:54:2d:46:4f:4f;
13147c08596SBrooks Davis.Pp
13247c08596SBrooks DavisThe documentation for the various options mentioned below is taken
13347c08596SBrooks Davisfrom the IETF draft document on DHCP options, RFC 2132.
13447c08596SBrooks DavisOptions which are not listed by name may be defined by the name
1359a7feaa1SRuslan Ermilov.Li option- Ns Ar nnn ,
13647c08596SBrooks Daviswhere
13747c08596SBrooks Davis.Ar nnn
13847c08596SBrooks Davisis the decimal number of the option code.
13947c08596SBrooks DavisThese options may be followed either by a string, enclosed in quotes, or by
14047c08596SBrooks Davisa series of octets, expressed as two-digit hexadecimal numbers separated
14147c08596SBrooks Davisby colons.
14247c08596SBrooks DavisFor example:
14347c08596SBrooks Davis.Bd -literal -offset indent
14447c08596SBrooks Davisoption option-133 "my-option-133-text";
14547c08596SBrooks Davisoption option-129 1:54:c9:2b:47;
14647c08596SBrooks Davis.Ed
14747c08596SBrooks Davis.Pp
14847c08596SBrooks DavisBecause
14947c08596SBrooks Davis.Xr dhcpd 8
15047c08596SBrooks Davisdoes not know the format of these undefined option codes,
15147c08596SBrooks Davisno checking is done to ensure the correctness of the entered data.
15247c08596SBrooks Davis.Pp
15347c08596SBrooks DavisThe standard options are:
15447c08596SBrooks Davis.Ss RFC 1497 Vendor Extensions
1559a7feaa1SRuslan Ermilov.Bl -tag -width indent
15647c08596SBrooks Davis.It Ic option subnet-mask Ar ip-address ;
15747c08596SBrooks DavisThe
15847c08596SBrooks Davis.Ic subnet-mask
15947c08596SBrooks Davisoption specifies the client's subnet mask as per RFC 950.
16047c08596SBrooks DavisIf no subnet-mask option is provided anywhere in scope, as a last resort
16147c08596SBrooks Davis.Xr dhcpd 8
16247c08596SBrooks Daviswill use the subnet mask from the subnet declaration for the network on
16347c08596SBrooks Daviswhich an address is being assigned.
16447c08596SBrooks DavisHowever,
16547c08596SBrooks Davis.Em any
16647c08596SBrooks Davissubnet-mask option declaration that is in scope for the address being
16747c08596SBrooks Davisassigned will override the subnet mask specified in the subnet declaration.
16847c08596SBrooks Davis.It Ic option time-offset Ar int32 ;
16947c08596SBrooks DavisThe
17047c08596SBrooks Davis.Ic time-offset
17147c08596SBrooks Davisoption specifies the offset of the client's subnet in seconds from
17247c08596SBrooks DavisCoordinated Universal Time (UTC).
17347c08596SBrooks Davis.It Xo
17447c08596SBrooks Davis.Ic option routers Ar ip-address
17547c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
17647c08596SBrooks Davis.Xc
17747c08596SBrooks DavisThe
17847c08596SBrooks Davis.Ic routers
17947c08596SBrooks Davisoption specifies a list of IP addresses for routers on the client's subnet.
18047c08596SBrooks DavisRouters should be listed in order of preference.
18147c08596SBrooks Davis.It Xo
18247c08596SBrooks Davis.Ic option time-servers Ar ip-address
18347c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
18447c08596SBrooks Davis.Xc
18547c08596SBrooks DavisThe
18647c08596SBrooks Davis.Ic time-server
18747c08596SBrooks Davisoption specifies a list of RFC 868 time servers available to the client.
18847c08596SBrooks DavisServers should be listed in order of preference.
18947c08596SBrooks Davis.It Xo
19047c08596SBrooks Davis.Ic option ien116-name-servers Ar ip-address
19147c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
19247c08596SBrooks Davis.Xc
19347c08596SBrooks DavisThe
19447c08596SBrooks Davis.Ic ien116-name-servers
19547c08596SBrooks Davisoption specifies a list of IEN 116 name servers available to the client.
19647c08596SBrooks DavisServers should be listed in order of preference.
19747c08596SBrooks Davis.It Xo
19847c08596SBrooks Davis.Ic option domain-name-servers Ar ip-address
19947c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
20047c08596SBrooks Davis.Xc
20147c08596SBrooks DavisThe
20247c08596SBrooks Davis.Ic domain-name-servers
20347c08596SBrooks Davisoption specifies a list of Domain Name System (STD 13, RFC 1035) name servers
20447c08596SBrooks Davisavailable to the client.
20547c08596SBrooks DavisServers should be listed in order of preference.
20647c08596SBrooks Davis.It Xo
20747c08596SBrooks Davis.Ic option log-servers Ar ip-address
20847c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
20947c08596SBrooks Davis.Xc
21047c08596SBrooks DavisThe
21147c08596SBrooks Davis.Ic log-servers
21247c08596SBrooks Davisoption specifies a list of MIT-LCS UDP log servers available to the client.
21347c08596SBrooks DavisServers should be listed in order of preference.
21447c08596SBrooks Davis.It Xo
21547c08596SBrooks Davis.Ic option cookie-servers Ar ip-address
21647c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
21747c08596SBrooks Davis.Xc
21847c08596SBrooks DavisThe
21947c08596SBrooks Davis.Ic cookie-servers
22047c08596SBrooks Davisoption specifies a list of RFC 865 cookie servers available to the client.
22147c08596SBrooks DavisServers should be listed in order of preference.
22247c08596SBrooks Davis.It Xo
22347c08596SBrooks Davis.Ic option lpr-servers Ar ip-address
22447c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
22547c08596SBrooks Davis.Xc
22647c08596SBrooks DavisThe
22747c08596SBrooks Davis.Ic lpr-servers
22847c08596SBrooks Davisoption specifies a list of RFC 1179 line printer servers available to the
22947c08596SBrooks Davisclient.
23047c08596SBrooks DavisServers should be listed in order of preference.
23147c08596SBrooks Davis.It Xo
23247c08596SBrooks Davis.Ic option impress-servers Ar ip-address
23347c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
23447c08596SBrooks Davis.Xc
23547c08596SBrooks DavisThe
23647c08596SBrooks Davis.Ic impress-servers
23747c08596SBrooks Davisoption specifies a list of Imagen Impress servers available to the client.
23847c08596SBrooks DavisServers should be listed in order of preference.
23947c08596SBrooks Davis.It Xo
24047c08596SBrooks Davis.Ic option resource-location-servers Ar ip-address
24147c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
24247c08596SBrooks Davis.Xc
24347c08596SBrooks DavisThis option specifies a list of RFC 887 Resource Location servers available
24447c08596SBrooks Davisto the client.
24547c08596SBrooks DavisServers should be listed in order of preference.
24647c08596SBrooks Davis.It Ic option host-name Ar string ;
24747c08596SBrooks DavisThis option specifies the name of the client.
24847c08596SBrooks DavisThe name may or may not be qualified with the local domain name
24947c08596SBrooks Davis(it is preferable to use the
25047c08596SBrooks Davis.Ic domain-name
25147c08596SBrooks Davisoption to specify the domain name).
25247c08596SBrooks DavisSee RFC 1035 for character set restrictions.
25347c08596SBrooks Davis.It Ic option boot-size Ar uint16 ;
25447c08596SBrooks DavisThis option specifies the length in 512-octet blocks of the default
25547c08596SBrooks Davisboot image for the client.
25647c08596SBrooks Davis.It Ic option merit-dump Ar string ;
25747c08596SBrooks DavisThis option specifies the pathname of a file to which the client's
25847c08596SBrooks Daviscore image should be dumped in the event the client crashes.
25947c08596SBrooks DavisThe path is formatted as a character string consisting of characters from
26047c08596SBrooks Davisthe
26147c08596SBrooks Davis.Tn NVT ASCII
26247c08596SBrooks Davischaracter set.
26347c08596SBrooks Davis.It Ic option domain-name Ar string ;
26447c08596SBrooks DavisThis option specifies the domain name that the client should use when
26547c08596SBrooks Davisresolving hostnames via the Domain Name System.
266409139f0SJean-Sébastien Pédron.It Ic option domain-search Ar string ;
267409139f0SJean-Sébastien PédronThis option specifies a list of domain names that the client should use
268*8b4948dbSGordon Berglingwhen resolving hostnames via the Domain Name System.
269*8b4948dbSGordon BerglingThis option is defined in RFC 3397.
27047c08596SBrooks Davis.It Ic option swap-server Ar ip-address ;
27147c08596SBrooks DavisThis specifies the IP address of the client's swap server.
27247c08596SBrooks Davis.It Ic option root-path Ar string ;
27347c08596SBrooks DavisThis option specifies the pathname that contains the client's root disk.
27447c08596SBrooks DavisThe path is formatted as a character string consisting of characters from
27547c08596SBrooks Davisthe
27647c08596SBrooks Davis.Tn NVT ASCII
27747c08596SBrooks Davischaracter set.
27847c08596SBrooks Davis.El
27947c08596SBrooks Davis.Ss IP Layer Parameters per Host
2809a7feaa1SRuslan Ermilov.Bl -tag -width indent
28147c08596SBrooks Davis.It Ic option ip-forwarding Ar flag ;
28247c08596SBrooks DavisThis option specifies whether the client should configure its IP layer
28347c08596SBrooks Davisfor packet forwarding.
28447c08596SBrooks DavisA value of 0 means disable IP forwarding, and a value of 1 means enable
28547c08596SBrooks DavisIP forwarding.
28647c08596SBrooks Davis.It Ic option non-local-source-routing Ar flag ;
28747c08596SBrooks DavisThis option specifies whether the client should configure its IP
28847c08596SBrooks Davislayer to allow forwarding of datagrams with non-local source routes
28947c08596SBrooks Davis(see Section 3.3.5 of [4] for a discussion of this topic).
29047c08596SBrooks DavisA value of 0 means disallow forwarding of such datagrams, and a value of 1
29147c08596SBrooks Davismeans allow forwarding.
29247c08596SBrooks Davis.It Xo
29347c08596SBrooks Davis.Ic option policy-filter Ar ip-address ip-address
29447c08596SBrooks Davis.Oo , Ar ip-address ip-address ... Oc ;
29547c08596SBrooks Davis.Xc
29647c08596SBrooks DavisThis option specifies policy filters for non-local source routing.
29747c08596SBrooks DavisThe filters consist of a list of IP addresses and masks which specify
29847c08596SBrooks Davisdestination/mask pairs with which to filter incoming source routes.
29947c08596SBrooks Davis.Pp
30047c08596SBrooks DavisAny source-routed datagram whose next-hop address does not match one
30147c08596SBrooks Davisof the filters should be discarded by the client.
30247c08596SBrooks Davis.Pp
30347c08596SBrooks DavisSee STD 3 (RFC 1122) for further information.
30447c08596SBrooks Davis.It Ic option max-dgram-reassembly Ar uint16 ;
30547c08596SBrooks DavisThis option specifies the maximum size datagram that the client should be
30647c08596SBrooks Davisprepared to reassemble.
30747c08596SBrooks DavisThe minimum legal value is 576.
30847c08596SBrooks Davis.It Ic option default-ip-ttl Ar uint8 ;
30947c08596SBrooks DavisThis option specifies the default time-to-live that the client should
31047c08596SBrooks Davisuse on outgoing datagrams.
31147c08596SBrooks Davis.It Ic option path-mtu-aging-timeout Ar uint32 ;
31247c08596SBrooks DavisThis option specifies the timeout (in seconds) to use when aging Path
31347c08596SBrooks DavisMTU values discovered by the mechanism defined in RFC 1191.
31447c08596SBrooks Davis.It Xo
31547c08596SBrooks Davis.Ic option path-mtu-plateau-table Ar uint16
31647c08596SBrooks Davis.Oo , Ar uint16 ... Oc ;
31747c08596SBrooks Davis.Xc
31847c08596SBrooks DavisThis option specifies a table of MTU sizes to use when performing
31947c08596SBrooks DavisPath MTU Discovery as defined in RFC 1191.
32047c08596SBrooks DavisThe table is formatted as a list of 16-bit unsigned integers,
32147c08596SBrooks Davisordered from smallest to largest.
32247c08596SBrooks DavisThe minimum MTU value cannot be smaller than 68.
32347c08596SBrooks Davis.El
32447c08596SBrooks Davis.Ss IP Layer Parameters per Interface
3259a7feaa1SRuslan Ermilov.Bl -tag -width indent
32647c08596SBrooks Davis.It Ic option interface-mtu Ar uint16 ;
32747c08596SBrooks DavisThis option specifies the MTU to use on this interface.
32847c08596SBrooks DavisThe minimum legal value for the MTU is 68.
32947c08596SBrooks Davis.It Ic option all-subnets-local Ar flag ;
33047c08596SBrooks DavisThis option specifies whether or not the client may assume that all subnets
33147c08596SBrooks Davisof the IP network to which the client is connected use the same MTU as the
33247c08596SBrooks Davissubnet of that network to which the client is directly connected.
33347c08596SBrooks DavisA value of 1 indicates that all subnets share the same MTU.
33447c08596SBrooks DavisA value of 0 means that the client should assume that some subnets of the
33547c08596SBrooks Davisdirectly connected network may have smaller MTUs.
33647c08596SBrooks Davis.It Ic option broadcast-address Ar ip-address ;
33747c08596SBrooks DavisThis option specifies the broadcast address in use on the client's subnet.
33847c08596SBrooks DavisLegal values for broadcast addresses are specified in section 3.2.1.3 of
33947c08596SBrooks DavisSTD 3 (RFC 1122).
34047c08596SBrooks Davis.It Ic option perform-mask-discovery Ar flag ;
34147c08596SBrooks DavisThis option specifies whether or not the client should perform subnet mask
34247c08596SBrooks Davisdiscovery using ICMP.
34347c08596SBrooks DavisA value of 0 indicates that the client should not perform mask discovery.
34447c08596SBrooks DavisA value of 1 means that the client should perform mask discovery.
34547c08596SBrooks Davis.It Ic option mask-supplier Ar flag ;
34647c08596SBrooks DavisThis option specifies whether or not the client should respond to subnet mask
34747c08596SBrooks Davisrequests using ICMP.
34847c08596SBrooks DavisA value of 0 indicates that the client should not respond.
34947c08596SBrooks DavisA value of 1 means that the client should respond.
35047c08596SBrooks Davis.It Ic option router-discovery Ar flag ;
35147c08596SBrooks DavisThis option specifies whether or not the client should solicit routers using
35247c08596SBrooks Davisthe Router Discovery mechanism defined in RFC 1256.
35347c08596SBrooks DavisA value of 0 indicates that the client should not perform router discovery.
35447c08596SBrooks DavisA value of 1 means that the client should perform router discovery.
35547c08596SBrooks Davis.It Ic option router-solicitation-address Ar ip-address ;
35647c08596SBrooks DavisThis option specifies the address to which the client should transmit
35747c08596SBrooks Davisrouter solicitation requests.
35847c08596SBrooks Davis.It Xo
35947c08596SBrooks Davis.Ic option static-routes Ar ip-address ip-address
36047c08596SBrooks Davis.Oo , Ar ip-address ip-address ... Oc ;
36147c08596SBrooks Davis.Xc
36247c08596SBrooks DavisThis option specifies a list of static routes that the client should
36347c08596SBrooks Davisinstall in its routing cache.
36447c08596SBrooks DavisIf multiple routes to the same destination are specified, they are listed
36547c08596SBrooks Davisin descending order of priority.
36647c08596SBrooks Davis.Pp
36747c08596SBrooks DavisThe routes consist of a list of IP address pairs.
36847c08596SBrooks DavisThe first address is the destination address,
36947c08596SBrooks Davisand the second address is the router for the destination.
37047c08596SBrooks Davis.Pp
37147c08596SBrooks DavisThe default route (0.0.0.0) is an illegal destination for a static route.
37247c08596SBrooks DavisTo specify the default route, use the
37347c08596SBrooks Davis.Ic routers
37447c08596SBrooks Davisoption.
37547c08596SBrooks Davis.El
37647c08596SBrooks Davis.Ss Link Layer Parameters per Interface
3779a7feaa1SRuslan Ermilov.Bl -tag -width indent
37847c08596SBrooks Davis.It Ic option trailer-encapsulation Ar flag ;
37947c08596SBrooks DavisThis option specifies whether or not the client should negotiate the
38047c08596SBrooks Davisuse of trailers (RFC 893 [14]) when using the ARP protocol.
38147c08596SBrooks DavisA value of 0 indicates that the client should not attempt to use trailers.
38247c08596SBrooks DavisA value of 1 means that the client should attempt to use trailers.
38347c08596SBrooks Davis.It Ic option arp-cache-timeout Ar uint32 ;
38447c08596SBrooks DavisThis option specifies the timeout in seconds for ARP cache entries.
38547c08596SBrooks Davis.It Ic option ieee802-3-encapsulation Ar flag ;
38647c08596SBrooks DavisThis option specifies whether or not the client should use Ethernet
38747c08596SBrooks DavisVersion 2 (RFC 894) or IEEE 802.3 (RFC 1042) encapsulation if the
38847c08596SBrooks Davisinterface is an Ethernet.
38947c08596SBrooks DavisA value of 0 indicates that the client should use RFC 894 encapsulation.
39047c08596SBrooks DavisA value of 1 means that the client should use RFC 1042 encapsulation.
39147c08596SBrooks Davis.El
39247c08596SBrooks Davis.Ss TCP Parameters
3939a7feaa1SRuslan Ermilov.Bl -tag -width indent
39447c08596SBrooks Davis.It Ic option default-tcp-ttl Ar uint8 ;
39547c08596SBrooks DavisThis option specifies the default TTL that the client should use when
39647c08596SBrooks Davissending TCP segments.
39747c08596SBrooks DavisThe minimum value is 1.
39847c08596SBrooks Davis.It Ic option tcp-keepalive-interval Ar uint32 ;
39947c08596SBrooks DavisThis option specifies the interval (in seconds) that the client TCP
40047c08596SBrooks Davisshould wait before sending a keepalive message on a TCP connection.
40147c08596SBrooks DavisThe time is specified as a 32-bit unsigned integer.
40247c08596SBrooks DavisA value of zero indicates that the client should not generate keepalive
40347c08596SBrooks Davismessages on connections unless specifically requested by an application.
40447c08596SBrooks Davis.It Ic option tcp-keepalive-garbage Ar flag ;
40547c08596SBrooks DavisThis option specifies whether or not the client should send TCP keepalive
40647c08596SBrooks Davismessages with an octet of garbage for compatibility with older implementations.
40747c08596SBrooks DavisA value of 0 indicates that a garbage octet should not be sent.
40847c08596SBrooks DavisA value of 1 indicates that a garbage octet should be sent.
40947c08596SBrooks Davis.El
41047c08596SBrooks Davis.Ss Application and Service Parameters
4119a7feaa1SRuslan Ermilov.Bl -tag -width indent
41247c08596SBrooks Davis.It Ic option nis-domain Ar string ;
41347c08596SBrooks DavisThis option specifies the name of the client's NIS (Sun Network Information
41447c08596SBrooks DavisServices) domain.
41547c08596SBrooks DavisThe domain is formatted as a character string consisting of characters
41647c08596SBrooks Davisfrom the
41747c08596SBrooks Davis.Tn NVT ASCII
41847c08596SBrooks Davischaracter set.
41947c08596SBrooks Davis.It Xo
42047c08596SBrooks Davis.Ic option nis-servers Ar ip-address
42147c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
42247c08596SBrooks Davis.Xc
42347c08596SBrooks DavisThis option specifies a list of IP addresses indicating NIS servers
42447c08596SBrooks Davisavailable to the client.
42547c08596SBrooks DavisServers should be listed in order of preference.
42647c08596SBrooks Davis.It Xo
42747c08596SBrooks Davis.Ic option ntp-servers Ar ip-address
42847c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
42947c08596SBrooks Davis.Xc
4306912d575SJesus R. CamouThis option specifies a list of IP addresses indicating NTP (RFC 1305)
43147c08596SBrooks Davisservers available to the client.
43247c08596SBrooks DavisServers should be listed in order of preference.
43347c08596SBrooks Davis.It Xo
43447c08596SBrooks Davis.Ic option netbios-name-servers Ar ip-address
43547c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
43647c08596SBrooks Davis.Xc
43747c08596SBrooks DavisThe NetBIOS name server (NBNS) option specifies a list of RFC 1001/1002
43847c08596SBrooks DavisNBNS name servers listed in order of preference.
43947c08596SBrooks DavisNetBIOS Name Service is currently more commonly referred to as WINS.
44047c08596SBrooks DavisWINS servers can be specified using the
44147c08596SBrooks Davis.Ic netbios-name-servers
44247c08596SBrooks Davisoption.
44347c08596SBrooks Davis.It Xo
44447c08596SBrooks Davis.Ic option netbios-dd-server Ar ip-address
44547c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
44647c08596SBrooks Davis.Xc
44747c08596SBrooks DavisThe NetBIOS datagram distribution server (NBDD) option specifies a
44847c08596SBrooks Davislist of RFC 1001/1002 NBDD servers listed in order of preference.
44947c08596SBrooks Davis.It Ic option netbios-node-type Ar uint8 ;
45047c08596SBrooks DavisThe NetBIOS node type option allows NetBIOS over TCP/IP clients which
45147c08596SBrooks Davisare configurable to be configured as described in RFC 1001/1002.
45247c08596SBrooks DavisThe value is specified as a single octet which identifies the client type.
45347c08596SBrooks Davis.Pp
45447c08596SBrooks DavisPossible node types are:
4559a7feaa1SRuslan Ermilov.Bl -tag -width indent
45647c08596SBrooks Davis.It 1
45747c08596SBrooks DavisB-node: Broadcast - no WINS
45847c08596SBrooks Davis.It 2
45947c08596SBrooks DavisP-node: Peer - WINS only
46047c08596SBrooks Davis.It 4
46147c08596SBrooks DavisM-node: Mixed - broadcast, then WINS
46247c08596SBrooks Davis.It 8
46347c08596SBrooks DavisH-node: Hybrid - WINS, then broadcast
46447c08596SBrooks Davis.El
46547c08596SBrooks Davis.It Ic option netbios-scope Ar string ;
46647c08596SBrooks DavisThe NetBIOS scope option specifies the NetBIOS over TCP/IP scope
46747c08596SBrooks Davisparameter for the client as specified in RFC 1001/1002.
46847c08596SBrooks DavisSee RFC 1001, RFC 1002, and RFC 1035 for character-set restrictions.
46947c08596SBrooks Davis.It Xo
47047c08596SBrooks Davis.Ic option font-servers Ar ip-address
47147c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
47247c08596SBrooks Davis.Xc
47347c08596SBrooks DavisThis option specifies a list of X Window System Font servers available
47447c08596SBrooks Davisto the client.
47547c08596SBrooks DavisServers should be listed in order of preference.
47647c08596SBrooks Davis.It Xo
47747c08596SBrooks Davis.Ic option x-display-manager Ar ip-address
47847c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
47947c08596SBrooks Davis.Xc
48047c08596SBrooks DavisThis option specifies a list of systems that are running the X Window
48147c08596SBrooks DavisSystem Display Manager and are available to the client.
48247c08596SBrooks DavisAddresses should be listed in order of preference.
48347c08596SBrooks Davis.It Ic option dhcp-client-identifier Ar data-string ;
48447c08596SBrooks DavisThis option can be used to specify a DHCP client identifier in a
48547c08596SBrooks Davishost declaration, so that
48647c08596SBrooks Davis.Xr dhcpd 8
48747c08596SBrooks Daviscan find the host record by matching against the client identifier.
48847c08596SBrooks Davis.It Ic option nisplus-domain Ar string ;
48947c08596SBrooks DavisThis option specifies the name of the client's NIS+ domain.
49047c08596SBrooks DavisThe domain is formatted as a character string consisting of characters
49147c08596SBrooks Davisfrom the
49247c08596SBrooks Davis.Tn NVT ASCII
49347c08596SBrooks Davischaracter set.
49447c08596SBrooks Davis.It Xo
49547c08596SBrooks Davis.Ic option nisplus-servers Ar ip-address
49647c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
49747c08596SBrooks Davis.Xc
49847c08596SBrooks DavisThis option specifies a list of IP addresses indicating NIS+ servers
49947c08596SBrooks Davisavailable to the client.
50047c08596SBrooks DavisServers should be listed in order of preference.
50147c08596SBrooks Davis.It Ic option tftp-server-name Ar string ;
50247c08596SBrooks DavisThis option is used to identify a TFTP server and, if supported by the
50347c08596SBrooks Davisclient, should have the same effect as the
50447c08596SBrooks Davis.Ic server-name
50547c08596SBrooks Davisdeclaration.
50647c08596SBrooks DavisBOOTP clients are unlikely to support this option.
50747c08596SBrooks DavisSome DHCP clients will support it, and others actually require it.
50847c08596SBrooks Davis.It Ic option bootfile-name Ar string ;
50947c08596SBrooks DavisThis option is used to identify a bootstrap file.
51047c08596SBrooks DavisIf supported by the client, it should have the same effect as the
51147c08596SBrooks Davis.Ic filename
51247c08596SBrooks Davisdeclaration.
51347c08596SBrooks DavisBOOTP clients are unlikely to support this option.
51447c08596SBrooks DavisSome DHCP clients will support it, and others actually require it.
51547c08596SBrooks Davis.It Xo
51647c08596SBrooks Davis.Ic option mobile-ip-home-agent Ar ip-address
51747c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
51847c08596SBrooks Davis.Xc
51947c08596SBrooks DavisThis option specifies a list of IP addresses indicating mobile IP
52047c08596SBrooks Davishome agents available to the client.
52147c08596SBrooks DavisAgents should be listed in order of preference, although normally there
52247c08596SBrooks Daviswill be only one such agent.
52347c08596SBrooks Davis.It Xo
52447c08596SBrooks Davis.Ic option smtp-server Ar ip-address
52547c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
52647c08596SBrooks Davis.Xc
52747c08596SBrooks DavisThe
52847c08596SBrooks Davis.Ic smtp-server
52947c08596SBrooks Davisoption specifies a list of SMTP servers available to the client.
53047c08596SBrooks DavisServers should be listed in order of preference.
53147c08596SBrooks Davis.It Xo
53247c08596SBrooks Davis.Ic option pop-server Ar ip-address
53347c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
53447c08596SBrooks Davis.Xc
53547c08596SBrooks DavisThe
53647c08596SBrooks Davis.Ic pop-server
53747c08596SBrooks Davisoption specifies a list of POP3 servers available to the client.
53847c08596SBrooks DavisServers should be listed in order of preference.
53947c08596SBrooks Davis.It Xo
54047c08596SBrooks Davis.Ic option nntp-server Ar ip-address
54147c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
54247c08596SBrooks Davis.Xc
54347c08596SBrooks DavisThe
54447c08596SBrooks Davis.Ic nntp-server
54547c08596SBrooks Davisoption specifies a list of NNTP servers available to the client.
54647c08596SBrooks DavisServers should be listed in order of preference.
54747c08596SBrooks Davis.It Xo
54847c08596SBrooks Davis.Ic option www-server Ar ip-address
54947c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
55047c08596SBrooks Davis.Xc
55147c08596SBrooks DavisThe
55247c08596SBrooks Davis.Ic www-server
55347c08596SBrooks Davisoption specifies a list of WWW servers available to the client.
55447c08596SBrooks DavisServers should be listed in order of preference.
55547c08596SBrooks Davis.It Xo
55647c08596SBrooks Davis.Ic option finger-server Ar ip-address
55747c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
55847c08596SBrooks Davis.Xc
55947c08596SBrooks DavisThe
56047c08596SBrooks Davis.Ic finger-server
56147c08596SBrooks Davisoption specifies a list of
56247c08596SBrooks Davis.Xr finger 1
56347c08596SBrooks Davisservers available to the client.
56447c08596SBrooks DavisServers should be listed in order of preference.
56547c08596SBrooks Davis.It Xo
56647c08596SBrooks Davis.Ic option irc-server Ar ip-address
56747c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
56847c08596SBrooks Davis.Xc
56947c08596SBrooks DavisThe
57047c08596SBrooks Davis.Ic irc-server
57147c08596SBrooks Davisoption specifies a list of IRC servers available to the client.
57247c08596SBrooks DavisServers should be listed in order of preference.
57347c08596SBrooks Davis.It Xo
57447c08596SBrooks Davis.Ic option streettalk-server Ar ip-address
57547c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
57647c08596SBrooks Davis.Xc
57747c08596SBrooks DavisThe
57847c08596SBrooks Davis.Ic streettalk-server
57947c08596SBrooks Davisoption specifies a list of StreetTalk servers available to the client.
58047c08596SBrooks DavisServers should be listed in order of preference.
58147c08596SBrooks Davis.It Xo
58247c08596SBrooks Davis.Ic option streettalk-directory-assistance-server Ar ip-address
58347c08596SBrooks Davis.Oo , Ar ip-address ... Oc ;
58447c08596SBrooks Davis.Xc
58547c08596SBrooks DavisThe StreetTalk Directory Assistance (STDA) server option specifies a
58647c08596SBrooks Davislist of STDA servers available to the client.
58747c08596SBrooks DavisServers should be listed in order of preference.
588130cfcf3SDave Cottlehuber.It Ic option url Ar string ;
589130cfcf3SDave CottlehuberThis option specifies the URL that the client may use when using UEFI
590130cfcf3SDave Cottlehuberboot from a HTTP server.
59147c08596SBrooks Davis.El
59247c08596SBrooks Davis.Sh SEE ALSO
59347c08596SBrooks Davis.Xr dhclient.conf 5 ,
59447c08596SBrooks Davis.Xr dhcpd.conf 5 ,
59547c08596SBrooks Davis.Xr dhcpd.leases 5 ,
59647c08596SBrooks Davis.Xr dhclient 8 ,
59747c08596SBrooks Davis.Xr dhcpd 8
5989a7feaa1SRuslan Ermilov.Rs
599130cfcf3SDave Cottlehuber.%R "RFC 2131, RFC 2132, RFC 3769"
6009a7feaa1SRuslan Ermilov.Re
60147c08596SBrooks Davis.Sh AUTHORS
6029a7feaa1SRuslan Ermilov.An -nosplit
6039a7feaa1SRuslan ErmilovThe
60447c08596SBrooks Davis.Xr dhcpd 8
6059a7feaa1SRuslan Ermilovutility
60647c08596SBrooks Daviswas written by
607bd0891ceSBaptiste Daroussin.An Ted Lemon Aq Mt mellon@vix.com
60847c08596SBrooks Davisunder a contract with Vixie Labs.
60947c08596SBrooks Davis.Pp
61047c08596SBrooks DavisThe current implementation was reworked by
611bd0891ceSBaptiste Daroussin.An Henning Brauer Aq Mt henning@openbsd.org .
612