xref: /illumos-gate/usr/src/cmd/cmd-inet/etc/dhcp/inittab (revision bbf215553c7233fbab8a0afdf1fac74c44781867)
1#
2# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4# Copyright (c) 2016, Chris Fraire <cfraire@me.com>.
5#
6# CDDL HEADER START
7#
8# The contents of this file are subject to the terms of the
9# Common Development and Distribution License, Version 1.0 only
10# (the "License").  You may not use this file except in compliance
11# with the License.
12#
13# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14# or http://www.opensolaris.org/os/licensing.
15# See the License for the specific language governing permissions
16# and limitations under the License.
17#
18# When distributing Covered Code, include this CDDL HEADER in each
19# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20# If applicable, add the following below this CDDL HEADER, with the
21# fields enclosed by brackets "[]" replaced with your own identifying
22# information: Portions Copyright [yyyy] [name of copyright owner]
23#
24# CDDL HEADER END
25#
26#
27# This file provides information about all supported DHCP options, for
28# use by DHCP-related programs.  This file should only be modified to
29# add support for SITE options for clients; no existing options should
30# be modified.  Only SITE options will be preserved during an upgrade.
31# If you need to configure the Solaris DHCP server to support the vendor
32# options of a different client, see dhcptab(5) for details.
33#
34# Please consult dhcp_inittab(5) for further information.  Note that
35# this interface is "Unstable" as defined by attributes(7).
36#
37
38Subnet		STANDARD,	1,	IP,	   1,	1,	sdmi
39UTCoffst	STANDARD,	2,	SNUMBER32, 1,	1,	sdmi
40Router		STANDARD,	3,	IP,	   1,	0,	sdmi
41Timeserv	STANDARD,	4,	IP,	   1,	0,	sdmi
42IEN116ns	STANDARD,	5,	IP,	   1,	0,	sdmi
43DNSserv		STANDARD,	6,	IP,	   1,	0,	sdmi
44Logserv		STANDARD,	7,	IP,	   1,	0,	sdmi
45Cookie		STANDARD,	8,	IP,	   1,	0,	sdmi
46Lprserv		STANDARD,	9,	IP,	   1,	0,	sdmi
47Impress		STANDARD,	10,	IP,	   1,	0,	sdmi
48Resource	STANDARD,	11,	IP,	   1,	0,	sdmi
49Hostname	STANDARD,	12,	ASCII,	   1,	0,	si
50Bootsize	STANDARD,	13,	UNUMBER16, 1,	1,	sdmi
51Dumpfile	STANDARD,	14,	ASCII,	   1,	0,	sdmi
52DNSdmain	STANDARD,	15,	ASCII,	   1,	0,	sdmi
53Swapserv	STANDARD,	16,	IP,	   1,	1,	sdmi
54Rootpath	STANDARD,	17,	ASCII,	   1,	0,	sdmi
55ExtendP		STANDARD,	18,	ASCII,	   1,	0,	sdmi
56IpFwdF		STANDARD,	19,	UNUMBER8,  1,	1,	sdmi
57NLrouteF	STANDARD,	20,	UNUMBER8,  1,	1,	sdmi
58PFilter		STANDARD,	21,	IP,	   2,	0,	sdmi
59MaxIpSiz	STANDARD,	22,	UNUMBER16, 1,	1,	sdmi
60IpTTL		STANDARD,	23,	UNUMBER8,  1,	1,	sdmi
61PathTO		STANDARD,	24,	UNUMBER32, 1,	1,	sdmi
62PathTbl		STANDARD,	25,	UNUMBER16, 1,	0,	sdmi
63MTU		STANDARD,	26,	UNUMBER16, 1,	1,	sdmi
64SameMtuF	STANDARD,	27,	UNUMBER8,  1,	1,	sdmi
65Broadcst	STANDARD,	28,	IP,	   1,	1,	sdmi
66MaskDscF	STANDARD,	29,	UNUMBER8,  1,	1,	sdmi
67MaskSupF	STANDARD,	30,	UNUMBER8,  1,	1,	sdmi
68RDiscvyF	STANDARD,	31,	UNUMBER8,  1,	1,	sdmi
69RSolictS	STANDARD,	32,	IP,	   1,	1,	sdmi
70StaticRt	STANDARD,	33,	IP,	   2,	0,	sdmi
71TrailerF	STANDARD,	34,	UNUMBER8,  1,	1,	sdmi
72ArpTimeO	STANDARD,	35,	UNUMBER32, 1,	1,	sdmi
73EthEncap	STANDARD,	36,	UNUMBER8,  1,	1,	sdmi
74TcpTTL		STANDARD,	37,	UNUMBER8,  1,	1,	sdmi
75TcpKaInt	STANDARD,	38,	UNUMBER32, 1,	1,	sdmi
76TcpKaGbF	STANDARD,	39,	UNUMBER8,  1,	1,	sdmi
77NISdmain	STANDARD,	40,	ASCII,	   1,	0,	sdmi
78NISservs	STANDARD,	41,	IP,	   1,	0,	sdmi
79NTPservs	STANDARD,	42,	IP,	   1,	0,	sdmi
80Vendor		STANDARD,	43,	OCTET,	   1,	0,	sdi
81NetBNms		STANDARD,	44,	IP,	   1,	0,	sdmi
82NetBDsts	STANDARD,	45,	IP,	   1,	0,	sdmi
83NetBNdT		STANDARD,	46,	UNUMBER8,  1,	1,	sdmi
84NetBScop	STANDARD,	47,	ASCII,	   1,	0,	sdmi
85XFontSrv	STANDARD,	48,	IP,	   1,	0,	sdmi
86XDispMgr	STANDARD,	49,	IP,	   1,	0,	sdmi
87ReqIP		STANDARD,	50,	IP,	   1,	1,	sdi
88LeaseTim	STANDARD,	51,	UNUMBER32, 1,	1,	sdmi
89OptOvrld	STANDARD,	52,	UNUMBER8,  1,	1,	sdi
90DHCPType	STANDARD,	53,	UNUMBER8,  1,	1,	sdi
91ServerID	STANDARD,	54,	IP,	   1,	1,	sdi
92ReqList		STANDARD,	55,	OCTET,	   1,	0,	sdi
93Message		STANDARD,	56,	ASCII,	   1,	0,	sdi
94DHCP_MTU	STANDARD,	57,	UNUMBER16, 1,	1,	sdi
95T1Time		STANDARD,	58,	UNUMBER32, 1,	1,	sdmi
96T2Time		STANDARD,	59,	UNUMBER32, 1,	1,	sdmi
97ClassID		STANDARD,	60,	ASCII,	   1,	0,	sdi
98ClientID	STANDARD,	61,	OCTET,	   1,	0,	sdi
99NW_dmain	STANDARD,	62,	ASCII,	   1,	0,	sdmi
100NWIPOpts	STANDARD,	63,	OCTET,	   1,	128,	sdmi
101NIS+dom		STANDARD,	64,	ASCII,	   1,	0,	sdmi
102NIS+serv	STANDARD,	65,	IP,	   1,	0,	sdmi
103TFTPsrvN	STANDARD,	66,	ASCII,	   1,	64,	sdmi
104OptBootF	STANDARD,	67,	ASCII,	   1,	128,	sdmi
105MblIPAgt	STANDARD,	68,	IP,	   1,	0,	sdmi
106SMTPserv	STANDARD,	69,	IP,	   1,	0,	sdmi
107POP3serv	STANDARD,	70,	IP,	   1,	0,	sdmi
108NNTPserv	STANDARD,	71,	IP,	   1,	0,	sdmi
109WWWservs	STANDARD,	72,	IP,	   1,	0,	sdmi
110Fingersv	STANDARD,	73,	IP,	   1,	0,	sdmi
111IRCservs	STANDARD,	74,	IP,	   1,	0,	sdmi
112STservs		STANDARD,	75,	IP,	   1,	0,	sdmi
113STDAservs	STANDARD,	76,	IP,	   1,	0,	sdmi
114UserClas	STANDARD,	77,	ASCII,	   1,	0,	sdi
115SLP_DA		STANDARD,	78,	OCTET,	   1,	0,	sdmi
116SLP_SS		STANDARD,	79,	OCTET,	   1,	0,	sdmi
117ClientFQDN	STANDARD,	81,	OCTET,	   1,	0,	sdmi
118AgentOpt	STANDARD,	82,	OCTET,	   1,	0,	sdi
119FQDN		STANDARD,	89,	OCTET,	   1,	0,	sdmi
120
121#
122# DHCP packet fields.	Code field is byte offset into DHCP packet.
123#
124
125Opcode		FIELD,		0,	UNUMBER8,  1,	1,	id
126Htype		FIELD,		1,	UNUMBER8,  1,	1,	id
127HLen		FIELD,		2,	UNUMBER8,  1,	1,	id
128Hops		FIELD,		3,	UNUMBER8,  1,	1,	id
129Xid		FIELD,		4,	UNUMBER32, 1,	1,	id
130Secs		FIELD,		8,	UNUMBER16, 1,	1,	id
131Flags		FIELD,		10,	OCTET,	   1,	2,	id
132Ciaddr		FIELD,		12,	IP,	   1,	1,	id
133Yiaddr		FIELD,		16,	IP,	   1,	1,	id
134BootSrvA	FIELD,		20,	IP,	   1,	1,	idm
135Giaddr		FIELD,		24,	IP,	   1,	1,	id
136Chaddr		FIELD,		28,	OCTET,	   1,	16,	id
137BootSrvN	FIELD,		44,	ASCII,	   1,	64,	idm
138BootFile	FIELD,		108,	ASCII,	   1,	128,	idm
139Magic		FIELD,		236,	OCTET,	   1,	4,	id
140Options		FIELD,		240,	OCTET,	   1,	60,	id
141
142
143#
144# Internal fields.
145#
146
147Hostname	INTERNAL,	1024,	BOOL,	   0,	0,	dm
148LeaseNeg	INTERNAL,	1025,	BOOL,	   0,	0,	dm
149EchoVC		INTERNAL,	1026,	BOOL,	   0,	0,	dm
150BootPath	INTERNAL,	1027,	ASCII,	   1,	128,	dm
151
152
153#
154# SunOS vendor space -- see the Solaris System Administrator
155# documentation for more information on these options.
156#
157
158SrootOpt	VENDOR,		1,	ASCII,	   1,	0,	smi
159SrootIP4	VENDOR,		2,	IP,	   1,	1,	smi
160SrootNM		VENDOR,		3,	ASCII,	   1,	0,	smi
161SrootPTH	VENDOR,		4,	ASCII,	   1,	0,	smi
162SswapIP4	VENDOR,		5,	IP,	   1,	1,	smi
163SswapPTH	VENDOR,		6,	ASCII,	   1,	0,	smi
164SbootFIL	VENDOR,		7,	ASCII,	   1,	0,	smi
165Stz		VENDOR,		8,	ASCII,	   1,	0,	smi
166SbootRS		VENDOR,		9,	UNUMBER16, 1,	1,	smi
167SinstIP4	VENDOR,		10,	IP,	   1,	1,	smi
168SinstNM		VENDOR,		11,	ASCII,	   1,	0,	smi
169SinstPTH	VENDOR,		12,	ASCII,	   1,	0,	smi
170SsysidCF	VENDOR,		13,	ASCII,	   1,	0,	smi
171SjumpsCF	VENDOR,		14,	ASCII,	   1,	0,	smi
172Sterm		VENDOR,		15,	ASCII,	   1,	0,	smi
173SbootURI	VENDOR,		16,	ASCII,	   1,	0,	smi
174SHTTPproxy	VENDOR,		17,	ASCII,	   1,	0,	smi
175
176#
177# Site option example:
178# The following option describes an option named ipPairs, that is in
179# the  SITE category, meaning it is defined by each individual site.
180# It is option code 132, which is of type IP Address, consisting of
181# a potentially infinite number of pairs of IP addresses.  (See
182# dhcp_inittab(5) for details)
183#
184# ipPairs     SITE,           132,    IP,     2,      0,      sdmi
185#
186