xref: /titanic_52/usr/src/cmd/cmd-inet/etc/dhcp/inittab (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
1*7c478bd9Sstevel@tonic-gate#
2*7c478bd9Sstevel@tonic-gate# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3*7c478bd9Sstevel@tonic-gate# Use is subject to license terms.
4*7c478bd9Sstevel@tonic-gate#
5*7c478bd9Sstevel@tonic-gate# CDDL HEADER START
6*7c478bd9Sstevel@tonic-gate#
7*7c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
8*7c478bd9Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only
9*7c478bd9Sstevel@tonic-gate# (the "License").  You may not use this file except in compliance
10*7c478bd9Sstevel@tonic-gate# with the License.
11*7c478bd9Sstevel@tonic-gate#
12*7c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13*7c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
14*7c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
15*7c478bd9Sstevel@tonic-gate# and limitations under the License.
16*7c478bd9Sstevel@tonic-gate#
17*7c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
18*7c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19*7c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
20*7c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
21*7c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
22*7c478bd9Sstevel@tonic-gate#
23*7c478bd9Sstevel@tonic-gate# CDDL HEADER END
24*7c478bd9Sstevel@tonic-gate#
25*7c478bd9Sstevel@tonic-gate# ident	"%Z%%M%	%I%	%E% SMI"
26*7c478bd9Sstevel@tonic-gate#
27*7c478bd9Sstevel@tonic-gate# This file provides information about all supported DHCP options, for
28*7c478bd9Sstevel@tonic-gate# use by DHCP-related programs.  This file should only be modified to
29*7c478bd9Sstevel@tonic-gate# add support for SITE options for clients; no existing options should
30*7c478bd9Sstevel@tonic-gate# be modified.  Only SITE options will be preserved during an upgrade.
31*7c478bd9Sstevel@tonic-gate# If you need to configure the Solaris DHCP server to support the vendor
32*7c478bd9Sstevel@tonic-gate# options of a different client, see dhcptab(4) for details.
33*7c478bd9Sstevel@tonic-gate#
34*7c478bd9Sstevel@tonic-gate# Please consult dhcp_inittab(4) for further information.  Note that
35*7c478bd9Sstevel@tonic-gate# this interface is "Unstable" as defined by attributes(5).
36*7c478bd9Sstevel@tonic-gate#
37*7c478bd9Sstevel@tonic-gate
38*7c478bd9Sstevel@tonic-gateSubnet		STANDARD,	1,	IP,	   1,	1,	sdmi
39*7c478bd9Sstevel@tonic-gateUTCoffst	STANDARD,	2,	SNUMBER32, 1,	1,	sdmi
40*7c478bd9Sstevel@tonic-gateRouter		STANDARD,	3,	IP,	   1,	0,	sdmi
41*7c478bd9Sstevel@tonic-gateTimeserv	STANDARD,	4,	IP,	   1,	0,	sdmi
42*7c478bd9Sstevel@tonic-gateIEN116ns	STANDARD,	5,	IP,	   1,	0,	sdmi
43*7c478bd9Sstevel@tonic-gateDNSserv		STANDARD,	6,	IP,	   1,	0,	sdmi
44*7c478bd9Sstevel@tonic-gateLogserv		STANDARD,	7,	IP,	   1,	0,	sdmi
45*7c478bd9Sstevel@tonic-gateCookie		STANDARD,	8,	IP,	   1,	0,	sdmi
46*7c478bd9Sstevel@tonic-gateLprserv		STANDARD,	9,	IP,	   1,	0,	sdmi
47*7c478bd9Sstevel@tonic-gateImpress		STANDARD,	10,	IP,	   1,	0,	sdmi
48*7c478bd9Sstevel@tonic-gateResource	STANDARD,	11,	IP,	   1,	0,	sdmi
49*7c478bd9Sstevel@tonic-gateHostname	STANDARD,	12,	ASCII,	   1,	0,	si
50*7c478bd9Sstevel@tonic-gateBootsize	STANDARD,	13,	UNUMBER16, 1,	1,	sdmi
51*7c478bd9Sstevel@tonic-gateDumpfile	STANDARD,	14,	ASCII,	   1,	0,	sdmi
52*7c478bd9Sstevel@tonic-gateDNSdmain	STANDARD,	15,	ASCII,	   1,	0,	sdmi
53*7c478bd9Sstevel@tonic-gateSwapserv	STANDARD,	16,	IP,	   1,	1,	sdmi
54*7c478bd9Sstevel@tonic-gateRootpath	STANDARD,	17,	ASCII,	   1,	0,	sdmi
55*7c478bd9Sstevel@tonic-gateExtendP		STANDARD,	18,	ASCII,	   1,	0,	sdmi
56*7c478bd9Sstevel@tonic-gateIpFwdF		STANDARD,	19,	UNUMBER8,  1,	1,	sdmi
57*7c478bd9Sstevel@tonic-gateNLrouteF	STANDARD,	20,	UNUMBER8,  1,	1,	sdmi
58*7c478bd9Sstevel@tonic-gatePFilter		STANDARD,	21,	IP,	   2,	0,	sdmi
59*7c478bd9Sstevel@tonic-gateMaxIpSiz	STANDARD,	22,	UNUMBER16, 1,	1,	sdmi
60*7c478bd9Sstevel@tonic-gateIpTTL		STANDARD,	23,	UNUMBER8,  1,	1,	sdmi
61*7c478bd9Sstevel@tonic-gatePathTO		STANDARD,	24,	UNUMBER32, 1,	1,	sdmi
62*7c478bd9Sstevel@tonic-gatePathTbl		STANDARD,	25,	UNUMBER16, 1,	0,	sdmi
63*7c478bd9Sstevel@tonic-gateMTU		STANDARD,	26,	UNUMBER16, 1,	1,	sdmi
64*7c478bd9Sstevel@tonic-gateSameMtuF	STANDARD,	27,	UNUMBER8,  1,	1,	sdmi
65*7c478bd9Sstevel@tonic-gateBroadcst	STANDARD,	28,	IP,	   1,	1,	sdmi
66*7c478bd9Sstevel@tonic-gateMaskDscF	STANDARD,	29,	UNUMBER8,  1,	1,	sdmi
67*7c478bd9Sstevel@tonic-gateMaskSupF	STANDARD,	30,	UNUMBER8,  1,	1,	sdmi
68*7c478bd9Sstevel@tonic-gateRDiscvyF	STANDARD,	31,	UNUMBER8,  1,	1,	sdmi
69*7c478bd9Sstevel@tonic-gateRSolictS	STANDARD,	32,	IP,	   1,	1,	sdmi
70*7c478bd9Sstevel@tonic-gateStaticRt	STANDARD,	33,	IP,	   2,	0,	sdmi
71*7c478bd9Sstevel@tonic-gateTrailerF	STANDARD,	34,	UNUMBER8,  1,	1,	sdmi
72*7c478bd9Sstevel@tonic-gateArpTimeO	STANDARD,	35,	UNUMBER32, 1,	1,	sdmi
73*7c478bd9Sstevel@tonic-gateEthEncap	STANDARD,	36,	UNUMBER8,  1,	1,	sdmi
74*7c478bd9Sstevel@tonic-gateTcpTTL		STANDARD,	37,	UNUMBER8,  1,	1,	sdmi
75*7c478bd9Sstevel@tonic-gateTcpKaInt	STANDARD,	38,	UNUMBER32, 1,	1,	sdmi
76*7c478bd9Sstevel@tonic-gateTcpKaGbF	STANDARD,	39,	UNUMBER8,  1,	1,	sdmi
77*7c478bd9Sstevel@tonic-gateNISdmain	STANDARD,	40,	ASCII,	   1,	0,	sdmi
78*7c478bd9Sstevel@tonic-gateNISservs	STANDARD,	41,	IP,	   1,	0,	sdmi
79*7c478bd9Sstevel@tonic-gateNTPservs	STANDARD,	42,	IP,	   1,	0,	sdmi
80*7c478bd9Sstevel@tonic-gateVendor		STANDARD,	43,	OCTET,	   1,	0,	sdi
81*7c478bd9Sstevel@tonic-gateNetBNms		STANDARD,	44,	IP,	   1,	0,	sdmi
82*7c478bd9Sstevel@tonic-gateNetBDsts	STANDARD,	45,	IP,	   1,	0,	sdmi
83*7c478bd9Sstevel@tonic-gateNetBNdT		STANDARD,	46,	UNUMBER8,  1,	1,	sdmi
84*7c478bd9Sstevel@tonic-gateNetBScop	STANDARD,	47,	ASCII,	   1,	0,	sdmi
85*7c478bd9Sstevel@tonic-gateXFontSrv	STANDARD,	48,	IP,	   1,	0,	sdmi
86*7c478bd9Sstevel@tonic-gateXDispMgr	STANDARD,	49,	IP,	   1,	0,	sdmi
87*7c478bd9Sstevel@tonic-gateReqIP		STANDARD,	50,	IP,	   1,	1,	sdi
88*7c478bd9Sstevel@tonic-gateLeaseTim	STANDARD,	51,	UNUMBER32, 1,	1,	sdmi
89*7c478bd9Sstevel@tonic-gateOptOvrld	STANDARD,	52,	UNUMBER8,  1,	1,	sdi
90*7c478bd9Sstevel@tonic-gateDHCPType	STANDARD,	53,	UNUMBER8,  1,	1,	sdi
91*7c478bd9Sstevel@tonic-gateServerID	STANDARD,	54,	IP,	   1,	1,	sdi
92*7c478bd9Sstevel@tonic-gateReqList		STANDARD,	55,	OCTET,	   1,	0,	sdi
93*7c478bd9Sstevel@tonic-gateMessage		STANDARD,	56,	ASCII,	   1,	0,	sdi
94*7c478bd9Sstevel@tonic-gateDHCP_MTU	STANDARD,	57,	UNUMBER16, 1,	1,	sdi
95*7c478bd9Sstevel@tonic-gateT1Time		STANDARD,	58,	UNUMBER32, 1,	1,	sdmi
96*7c478bd9Sstevel@tonic-gateT2Time		STANDARD,	59,	UNUMBER32, 1,	1,	sdmi
97*7c478bd9Sstevel@tonic-gateClassID		STANDARD,	60,	ASCII,	   1,	0,	sdi
98*7c478bd9Sstevel@tonic-gateClientID	STANDARD,	61,	OCTET,	   1,	0,	sdi
99*7c478bd9Sstevel@tonic-gateNW_dmain	STANDARD,	62,	ASCII,	   1,	0,	sdmi
100*7c478bd9Sstevel@tonic-gateNWIPOpts	STANDARD,	63,	OCTET,	   1,	128,	sdmi
101*7c478bd9Sstevel@tonic-gateNIS+dom		STANDARD,	64,	ASCII,	   1,	0,	sdmi
102*7c478bd9Sstevel@tonic-gateNIS+serv	STANDARD,	65,	IP,	   1,	0,	sdmi
103*7c478bd9Sstevel@tonic-gateTFTPsrvN	STANDARD,	66,	ASCII,	   1,	64,	sdmi
104*7c478bd9Sstevel@tonic-gateOptBootF	STANDARD,	67,	ASCII,	   1,	128,	sdmi
105*7c478bd9Sstevel@tonic-gateMblIPAgt	STANDARD,	68,	IP,	   1,	0,	sdmi
106*7c478bd9Sstevel@tonic-gateSMTPserv	STANDARD,	69,	IP,	   1,	0,	sdmi
107*7c478bd9Sstevel@tonic-gatePOP3serv	STANDARD,	70,	IP,	   1,	0,	sdmi
108*7c478bd9Sstevel@tonic-gateNNTPserv	STANDARD,	71,	IP,	   1,	0,	sdmi
109*7c478bd9Sstevel@tonic-gateWWWservs	STANDARD,	72,	IP,	   1,	0,	sdmi
110*7c478bd9Sstevel@tonic-gateFingersv	STANDARD,	73,	IP,	   1,	0,	sdmi
111*7c478bd9Sstevel@tonic-gateIRCservs	STANDARD,	74,	IP,	   1,	0,	sdmi
112*7c478bd9Sstevel@tonic-gateSTservs		STANDARD,	75,	IP,	   1,	0,	sdmi
113*7c478bd9Sstevel@tonic-gateSTDAservs	STANDARD,	76,	IP,	   1,	0,	sdmi
114*7c478bd9Sstevel@tonic-gateUserClas	STANDARD,	77,	ASCII,	   1,	0,	sdi
115*7c478bd9Sstevel@tonic-gateSLP_DA		STANDARD,	78,	OCTET,	   1,	0,	sdmi
116*7c478bd9Sstevel@tonic-gateSLP_SS		STANDARD,	79,	OCTET,	   1,	0,	sdmi
117*7c478bd9Sstevel@tonic-gateAgentOpt	STANDARD,	82,	OCTET,	   1,	0,	sdi
118*7c478bd9Sstevel@tonic-gateFQDN		STANDARD,	89,	OCTET,	   1,	0,	sdmi
119*7c478bd9Sstevel@tonic-gate
120*7c478bd9Sstevel@tonic-gate#
121*7c478bd9Sstevel@tonic-gate# DHCP packet fields.	Code field is byte offset into DHCP packet.
122*7c478bd9Sstevel@tonic-gate#
123*7c478bd9Sstevel@tonic-gate
124*7c478bd9Sstevel@tonic-gateOpcode		FIELD,		0,	UNUMBER8,  1,	1,	id
125*7c478bd9Sstevel@tonic-gateHtype		FIELD,		1,	UNUMBER8,  1,	1,	id
126*7c478bd9Sstevel@tonic-gateHLen		FIELD,		2,	UNUMBER8,  1,	1,	id
127*7c478bd9Sstevel@tonic-gateHops		FIELD,		3,	UNUMBER8,  1,	1,	id
128*7c478bd9Sstevel@tonic-gateXid		FIELD,		4,	UNUMBER32, 1,	1,	id
129*7c478bd9Sstevel@tonic-gateSecs		FIELD,		8,	UNUMBER16, 1,	1,	id
130*7c478bd9Sstevel@tonic-gateFlags		FIELD,		10,	OCTET,	   1,	2,	id
131*7c478bd9Sstevel@tonic-gateCiaddr		FIELD,		12,	IP,	   1,	1,	id
132*7c478bd9Sstevel@tonic-gateYiaddr		FIELD,		16,	IP,	   1,	1,	id
133*7c478bd9Sstevel@tonic-gateBootSrvA	FIELD,		20,	IP,	   1,	1,	idm
134*7c478bd9Sstevel@tonic-gateGiaddr		FIELD,		24,	IP,	   1,	1,	id
135*7c478bd9Sstevel@tonic-gateChaddr		FIELD,		28,	OCTET,	   1,	16,	id
136*7c478bd9Sstevel@tonic-gateBootSrvN	FIELD,		44,	ASCII,	   1,	64,	idm
137*7c478bd9Sstevel@tonic-gateBootFile	FIELD,		108,	ASCII,	   1,	128,	idm
138*7c478bd9Sstevel@tonic-gateMagic		FIELD,		236,	OCTET,	   1,	4,	id
139*7c478bd9Sstevel@tonic-gateOptions		FIELD,		240,	OCTET,	   1,	60,	id
140*7c478bd9Sstevel@tonic-gate
141*7c478bd9Sstevel@tonic-gate
142*7c478bd9Sstevel@tonic-gate#
143*7c478bd9Sstevel@tonic-gate# Internal fields.
144*7c478bd9Sstevel@tonic-gate#
145*7c478bd9Sstevel@tonic-gate
146*7c478bd9Sstevel@tonic-gateHostname	INTERNAL,	1024,	BOOL,	   0,	0,	dm
147*7c478bd9Sstevel@tonic-gateLeaseNeg	INTERNAL,	1025,	BOOL,	   0,	0,	dm
148*7c478bd9Sstevel@tonic-gateEchoVC		INTERNAL,	1026,	BOOL,	   0,	0,	dm
149*7c478bd9Sstevel@tonic-gateBootPath	INTERNAL,	1027,	ASCII,	   1,	128,	dm
150*7c478bd9Sstevel@tonic-gate
151*7c478bd9Sstevel@tonic-gate
152*7c478bd9Sstevel@tonic-gate#
153*7c478bd9Sstevel@tonic-gate# SunOS vendor space -- see the Solaris System Administrator
154*7c478bd9Sstevel@tonic-gate# documentation for more information on these options.
155*7c478bd9Sstevel@tonic-gate#
156*7c478bd9Sstevel@tonic-gate
157*7c478bd9Sstevel@tonic-gateSrootOpt	VENDOR,		1,	ASCII,	   1,	0,	smi
158*7c478bd9Sstevel@tonic-gateSrootIP4	VENDOR,		2,	IP,	   1,	1,	smi
159*7c478bd9Sstevel@tonic-gateSrootNM		VENDOR,		3,	ASCII,	   1,	0,	smi
160*7c478bd9Sstevel@tonic-gateSrootPTH	VENDOR,		4,	ASCII,	   1,	0,	smi
161*7c478bd9Sstevel@tonic-gateSswapIP4	VENDOR,		5,	IP,	   1,	1,	smi
162*7c478bd9Sstevel@tonic-gateSswapPTH	VENDOR,		6,	ASCII,	   1,	0,	smi
163*7c478bd9Sstevel@tonic-gateSbootFIL	VENDOR,		7,	ASCII,	   1,	0,	smi
164*7c478bd9Sstevel@tonic-gateStz		VENDOR,		8,	ASCII,	   1,	0,	smi
165*7c478bd9Sstevel@tonic-gateSbootRS		VENDOR,		9,	UNUMBER16, 1,	1,	smi
166*7c478bd9Sstevel@tonic-gateSinstIP4	VENDOR,		10,	IP,	   1,	1,	smi
167*7c478bd9Sstevel@tonic-gateSinstNM		VENDOR,		11,	ASCII,	   1,	0,	smi
168*7c478bd9Sstevel@tonic-gateSinstPTH	VENDOR,		12,	ASCII,	   1,	0,	smi
169*7c478bd9Sstevel@tonic-gateSsysidCF	VENDOR,		13,	ASCII,	   1,	0,	smi
170*7c478bd9Sstevel@tonic-gateSjumpsCF	VENDOR,		14,	ASCII,	   1,	0,	smi
171*7c478bd9Sstevel@tonic-gateSterm		VENDOR,		15,	ASCII,	   1,	0,	smi
172*7c478bd9Sstevel@tonic-gateSbootURI	VENDOR,		16,	ASCII,	   1,	0,	smi
173*7c478bd9Sstevel@tonic-gateSHTTPproxy	VENDOR,		17,	ASCII,	   1,	0,	smi
174*7c478bd9Sstevel@tonic-gate
175*7c478bd9Sstevel@tonic-gate#
176*7c478bd9Sstevel@tonic-gate# Site option example:
177*7c478bd9Sstevel@tonic-gate# The following option describes an option named ipPairs, that is in
178*7c478bd9Sstevel@tonic-gate# the  SITE category, meaning it is defined by each individual site.
179*7c478bd9Sstevel@tonic-gate# It is option code 132, which is of type IP Address, consisting of
180*7c478bd9Sstevel@tonic-gate# a potentially infinite number of pairs of IP addresses.  (See
181*7c478bd9Sstevel@tonic-gate# dhcp_inittab(4) for details)
182*7c478bd9Sstevel@tonic-gate#
183*7c478bd9Sstevel@tonic-gate# ipPairs     SITE,           132,    IP,     2,      0,      sdmi
184*7c478bd9Sstevel@tonic-gate#
185