xref: /illumos-gate/usr/src/cmd/cmd-inet/etc/dhcp/inittab (revision f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01)
1#
2# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4#
5# CDDL HEADER START
6#
7# The contents of this file are subject to the terms of the
8# Common Development and Distribution License, Version 1.0 only
9# (the "License").  You may not use this file except in compliance
10# with the License.
11#
12# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13# or http://www.opensolaris.org/os/licensing.
14# See the License for the specific language governing permissions
15# and limitations under the License.
16#
17# When distributing Covered Code, include this CDDL HEADER in each
18# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19# If applicable, add the following below this CDDL HEADER, with the
20# fields enclosed by brackets "[]" replaced with your own identifying
21# information: Portions Copyright [yyyy] [name of copyright owner]
22#
23# CDDL HEADER END
24#
25# ident	"%Z%%M%	%I%	%E% SMI"
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(4) for details.
33#
34# Please consult dhcp_inittab(4) for further information.  Note that
35# this interface is "Unstable" as defined by attributes(5).
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
117AgentOpt	STANDARD,	82,	OCTET,	   1,	0,	sdi
118FQDN		STANDARD,	89,	OCTET,	   1,	0,	sdmi
119
120#
121# DHCP packet fields.	Code field is byte offset into DHCP packet.
122#
123
124Opcode		FIELD,		0,	UNUMBER8,  1,	1,	id
125Htype		FIELD,		1,	UNUMBER8,  1,	1,	id
126HLen		FIELD,		2,	UNUMBER8,  1,	1,	id
127Hops		FIELD,		3,	UNUMBER8,  1,	1,	id
128Xid		FIELD,		4,	UNUMBER32, 1,	1,	id
129Secs		FIELD,		8,	UNUMBER16, 1,	1,	id
130Flags		FIELD,		10,	OCTET,	   1,	2,	id
131Ciaddr		FIELD,		12,	IP,	   1,	1,	id
132Yiaddr		FIELD,		16,	IP,	   1,	1,	id
133BootSrvA	FIELD,		20,	IP,	   1,	1,	idm
134Giaddr		FIELD,		24,	IP,	   1,	1,	id
135Chaddr		FIELD,		28,	OCTET,	   1,	16,	id
136BootSrvN	FIELD,		44,	ASCII,	   1,	64,	idm
137BootFile	FIELD,		108,	ASCII,	   1,	128,	idm
138Magic		FIELD,		236,	OCTET,	   1,	4,	id
139Options		FIELD,		240,	OCTET,	   1,	60,	id
140
141
142#
143# Internal fields.
144#
145
146Hostname	INTERNAL,	1024,	BOOL,	   0,	0,	dm
147LeaseNeg	INTERNAL,	1025,	BOOL,	   0,	0,	dm
148EchoVC		INTERNAL,	1026,	BOOL,	   0,	0,	dm
149BootPath	INTERNAL,	1027,	ASCII,	   1,	128,	dm
150
151
152#
153# SunOS vendor space -- see the Solaris System Administrator
154# documentation for more information on these options.
155#
156
157SrootOpt	VENDOR,		1,	ASCII,	   1,	0,	smi
158SrootIP4	VENDOR,		2,	IP,	   1,	1,	smi
159SrootNM		VENDOR,		3,	ASCII,	   1,	0,	smi
160SrootPTH	VENDOR,		4,	ASCII,	   1,	0,	smi
161SswapIP4	VENDOR,		5,	IP,	   1,	1,	smi
162SswapPTH	VENDOR,		6,	ASCII,	   1,	0,	smi
163SbootFIL	VENDOR,		7,	ASCII,	   1,	0,	smi
164Stz		VENDOR,		8,	ASCII,	   1,	0,	smi
165SbootRS		VENDOR,		9,	UNUMBER16, 1,	1,	smi
166SinstIP4	VENDOR,		10,	IP,	   1,	1,	smi
167SinstNM		VENDOR,		11,	ASCII,	   1,	0,	smi
168SinstPTH	VENDOR,		12,	ASCII,	   1,	0,	smi
169SsysidCF	VENDOR,		13,	ASCII,	   1,	0,	smi
170SjumpsCF	VENDOR,		14,	ASCII,	   1,	0,	smi
171Sterm		VENDOR,		15,	ASCII,	   1,	0,	smi
172SbootURI	VENDOR,		16,	ASCII,	   1,	0,	smi
173SHTTPproxy	VENDOR,		17,	ASCII,	   1,	0,	smi
174
175#
176# Site option example:
177# The following option describes an option named ipPairs, that is in
178# the  SITE category, meaning it is defined by each individual site.
179# It is option code 132, which is of type IP Address, consisting of
180# a potentially infinite number of pairs of IP addresses.  (See
181# dhcp_inittab(4) for details)
182#
183# ipPairs     SITE,           132,    IP,     2,      0,      sdmi
184#
185