xref: /illumos-gate/usr/src/cmd/cmd-inet/etc/dhcp/inittab (revision bbf21555)
17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
37c478bd9Sstevel@tonic-gate# Use is subject to license terms.
4b31320a7SChris Fraire# Copyright (c) 2016, Chris Fraire <cfraire@me.com>.
57c478bd9Sstevel@tonic-gate#
67c478bd9Sstevel@tonic-gate# CDDL HEADER START
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
97c478bd9Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only
107c478bd9Sstevel@tonic-gate# (the "License").  You may not use this file except in compliance
117c478bd9Sstevel@tonic-gate# with the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
147c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
157c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
167c478bd9Sstevel@tonic-gate# and limitations under the License.
177c478bd9Sstevel@tonic-gate#
187c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
197c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
207c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
217c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
227c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
237c478bd9Sstevel@tonic-gate#
247c478bd9Sstevel@tonic-gate# CDDL HEADER END
257c478bd9Sstevel@tonic-gate#
267c478bd9Sstevel@tonic-gate#
277c478bd9Sstevel@tonic-gate# This file provides information about all supported DHCP options, for
287c478bd9Sstevel@tonic-gate# use by DHCP-related programs.  This file should only be modified to
297c478bd9Sstevel@tonic-gate# add support for SITE options for clients; no existing options should
307c478bd9Sstevel@tonic-gate# be modified.  Only SITE options will be preserved during an upgrade.
317c478bd9Sstevel@tonic-gate# If you need to configure the Solaris DHCP server to support the vendor
32*bbf21555SRichard Lowe# options of a different client, see dhcptab(5) for details.
337c478bd9Sstevel@tonic-gate#
34*bbf21555SRichard Lowe# Please consult dhcp_inittab(5) for further information.  Note that
35*bbf21555SRichard Lowe# this interface is "Unstable" as defined by attributes(7).
367c478bd9Sstevel@tonic-gate#
377c478bd9Sstevel@tonic-gate
387c478bd9Sstevel@tonic-gateSubnet		STANDARD,	1,	IP,	   1,	1,	sdmi
397c478bd9Sstevel@tonic-gateUTCoffst	STANDARD,	2,	SNUMBER32, 1,	1,	sdmi
407c478bd9Sstevel@tonic-gateRouter		STANDARD,	3,	IP,	   1,	0,	sdmi
417c478bd9Sstevel@tonic-gateTimeserv	STANDARD,	4,	IP,	   1,	0,	sdmi
427c478bd9Sstevel@tonic-gateIEN116ns	STANDARD,	5,	IP,	   1,	0,	sdmi
437c478bd9Sstevel@tonic-gateDNSserv		STANDARD,	6,	IP,	   1,	0,	sdmi
447c478bd9Sstevel@tonic-gateLogserv		STANDARD,	7,	IP,	   1,	0,	sdmi
457c478bd9Sstevel@tonic-gateCookie		STANDARD,	8,	IP,	   1,	0,	sdmi
467c478bd9Sstevel@tonic-gateLprserv		STANDARD,	9,	IP,	   1,	0,	sdmi
477c478bd9Sstevel@tonic-gateImpress		STANDARD,	10,	IP,	   1,	0,	sdmi
487c478bd9Sstevel@tonic-gateResource	STANDARD,	11,	IP,	   1,	0,	sdmi
497c478bd9Sstevel@tonic-gateHostname	STANDARD,	12,	ASCII,	   1,	0,	si
507c478bd9Sstevel@tonic-gateBootsize	STANDARD,	13,	UNUMBER16, 1,	1,	sdmi
517c478bd9Sstevel@tonic-gateDumpfile	STANDARD,	14,	ASCII,	   1,	0,	sdmi
527c478bd9Sstevel@tonic-gateDNSdmain	STANDARD,	15,	ASCII,	   1,	0,	sdmi
537c478bd9Sstevel@tonic-gateSwapserv	STANDARD,	16,	IP,	   1,	1,	sdmi
547c478bd9Sstevel@tonic-gateRootpath	STANDARD,	17,	ASCII,	   1,	0,	sdmi
557c478bd9Sstevel@tonic-gateExtendP		STANDARD,	18,	ASCII,	   1,	0,	sdmi
567c478bd9Sstevel@tonic-gateIpFwdF		STANDARD,	19,	UNUMBER8,  1,	1,	sdmi
577c478bd9Sstevel@tonic-gateNLrouteF	STANDARD,	20,	UNUMBER8,  1,	1,	sdmi
587c478bd9Sstevel@tonic-gatePFilter		STANDARD,	21,	IP,	   2,	0,	sdmi
597c478bd9Sstevel@tonic-gateMaxIpSiz	STANDARD,	22,	UNUMBER16, 1,	1,	sdmi
607c478bd9Sstevel@tonic-gateIpTTL		STANDARD,	23,	UNUMBER8,  1,	1,	sdmi
617c478bd9Sstevel@tonic-gatePathTO		STANDARD,	24,	UNUMBER32, 1,	1,	sdmi
627c478bd9Sstevel@tonic-gatePathTbl		STANDARD,	25,	UNUMBER16, 1,	0,	sdmi
637c478bd9Sstevel@tonic-gateMTU		STANDARD,	26,	UNUMBER16, 1,	1,	sdmi
647c478bd9Sstevel@tonic-gateSameMtuF	STANDARD,	27,	UNUMBER8,  1,	1,	sdmi
657c478bd9Sstevel@tonic-gateBroadcst	STANDARD,	28,	IP,	   1,	1,	sdmi
667c478bd9Sstevel@tonic-gateMaskDscF	STANDARD,	29,	UNUMBER8,  1,	1,	sdmi
677c478bd9Sstevel@tonic-gateMaskSupF	STANDARD,	30,	UNUMBER8,  1,	1,	sdmi
687c478bd9Sstevel@tonic-gateRDiscvyF	STANDARD,	31,	UNUMBER8,  1,	1,	sdmi
697c478bd9Sstevel@tonic-gateRSolictS	STANDARD,	32,	IP,	   1,	1,	sdmi
707c478bd9Sstevel@tonic-gateStaticRt	STANDARD,	33,	IP,	   2,	0,	sdmi
717c478bd9Sstevel@tonic-gateTrailerF	STANDARD,	34,	UNUMBER8,  1,	1,	sdmi
727c478bd9Sstevel@tonic-gateArpTimeO	STANDARD,	35,	UNUMBER32, 1,	1,	sdmi
737c478bd9Sstevel@tonic-gateEthEncap	STANDARD,	36,	UNUMBER8,  1,	1,	sdmi
747c478bd9Sstevel@tonic-gateTcpTTL		STANDARD,	37,	UNUMBER8,  1,	1,	sdmi
757c478bd9Sstevel@tonic-gateTcpKaInt	STANDARD,	38,	UNUMBER32, 1,	1,	sdmi
767c478bd9Sstevel@tonic-gateTcpKaGbF	STANDARD,	39,	UNUMBER8,  1,	1,	sdmi
777c478bd9Sstevel@tonic-gateNISdmain	STANDARD,	40,	ASCII,	   1,	0,	sdmi
787c478bd9Sstevel@tonic-gateNISservs	STANDARD,	41,	IP,	   1,	0,	sdmi
797c478bd9Sstevel@tonic-gateNTPservs	STANDARD,	42,	IP,	   1,	0,	sdmi
807c478bd9Sstevel@tonic-gateVendor		STANDARD,	43,	OCTET,	   1,	0,	sdi
817c478bd9Sstevel@tonic-gateNetBNms		STANDARD,	44,	IP,	   1,	0,	sdmi
827c478bd9Sstevel@tonic-gateNetBDsts	STANDARD,	45,	IP,	   1,	0,	sdmi
837c478bd9Sstevel@tonic-gateNetBNdT		STANDARD,	46,	UNUMBER8,  1,	1,	sdmi
847c478bd9Sstevel@tonic-gateNetBScop	STANDARD,	47,	ASCII,	   1,	0,	sdmi
857c478bd9Sstevel@tonic-gateXFontSrv	STANDARD,	48,	IP,	   1,	0,	sdmi
867c478bd9Sstevel@tonic-gateXDispMgr	STANDARD,	49,	IP,	   1,	0,	sdmi
877c478bd9Sstevel@tonic-gateReqIP		STANDARD,	50,	IP,	   1,	1,	sdi
887c478bd9Sstevel@tonic-gateLeaseTim	STANDARD,	51,	UNUMBER32, 1,	1,	sdmi
897c478bd9Sstevel@tonic-gateOptOvrld	STANDARD,	52,	UNUMBER8,  1,	1,	sdi
907c478bd9Sstevel@tonic-gateDHCPType	STANDARD,	53,	UNUMBER8,  1,	1,	sdi
917c478bd9Sstevel@tonic-gateServerID	STANDARD,	54,	IP,	   1,	1,	sdi
927c478bd9Sstevel@tonic-gateReqList		STANDARD,	55,	OCTET,	   1,	0,	sdi
937c478bd9Sstevel@tonic-gateMessage		STANDARD,	56,	ASCII,	   1,	0,	sdi
947c478bd9Sstevel@tonic-gateDHCP_MTU	STANDARD,	57,	UNUMBER16, 1,	1,	sdi
957c478bd9Sstevel@tonic-gateT1Time		STANDARD,	58,	UNUMBER32, 1,	1,	sdmi
967c478bd9Sstevel@tonic-gateT2Time		STANDARD,	59,	UNUMBER32, 1,	1,	sdmi
977c478bd9Sstevel@tonic-gateClassID		STANDARD,	60,	ASCII,	   1,	0,	sdi
987c478bd9Sstevel@tonic-gateClientID	STANDARD,	61,	OCTET,	   1,	0,	sdi
997c478bd9Sstevel@tonic-gateNW_dmain	STANDARD,	62,	ASCII,	   1,	0,	sdmi
1007c478bd9Sstevel@tonic-gateNWIPOpts	STANDARD,	63,	OCTET,	   1,	128,	sdmi
1017c478bd9Sstevel@tonic-gateNIS+dom		STANDARD,	64,	ASCII,	   1,	0,	sdmi
1027c478bd9Sstevel@tonic-gateNIS+serv	STANDARD,	65,	IP,	   1,	0,	sdmi
1037c478bd9Sstevel@tonic-gateTFTPsrvN	STANDARD,	66,	ASCII,	   1,	64,	sdmi
1047c478bd9Sstevel@tonic-gateOptBootF	STANDARD,	67,	ASCII,	   1,	128,	sdmi
1057c478bd9Sstevel@tonic-gateMblIPAgt	STANDARD,	68,	IP,	   1,	0,	sdmi
1067c478bd9Sstevel@tonic-gateSMTPserv	STANDARD,	69,	IP,	   1,	0,	sdmi
1077c478bd9Sstevel@tonic-gatePOP3serv	STANDARD,	70,	IP,	   1,	0,	sdmi
1087c478bd9Sstevel@tonic-gateNNTPserv	STANDARD,	71,	IP,	   1,	0,	sdmi
1097c478bd9Sstevel@tonic-gateWWWservs	STANDARD,	72,	IP,	   1,	0,	sdmi
1107c478bd9Sstevel@tonic-gateFingersv	STANDARD,	73,	IP,	   1,	0,	sdmi
1117c478bd9Sstevel@tonic-gateIRCservs	STANDARD,	74,	IP,	   1,	0,	sdmi
1127c478bd9Sstevel@tonic-gateSTservs		STANDARD,	75,	IP,	   1,	0,	sdmi
1137c478bd9Sstevel@tonic-gateSTDAservs	STANDARD,	76,	IP,	   1,	0,	sdmi
1147c478bd9Sstevel@tonic-gateUserClas	STANDARD,	77,	ASCII,	   1,	0,	sdi
1157c478bd9Sstevel@tonic-gateSLP_DA		STANDARD,	78,	OCTET,	   1,	0,	sdmi
1167c478bd9Sstevel@tonic-gateSLP_SS		STANDARD,	79,	OCTET,	   1,	0,	sdmi
117b31320a7SChris FraireClientFQDN	STANDARD,	81,	OCTET,	   1,	0,	sdmi
1187c478bd9Sstevel@tonic-gateAgentOpt	STANDARD,	82,	OCTET,	   1,	0,	sdi
1197c478bd9Sstevel@tonic-gateFQDN		STANDARD,	89,	OCTET,	   1,	0,	sdmi
1207c478bd9Sstevel@tonic-gate
1217c478bd9Sstevel@tonic-gate#
1227c478bd9Sstevel@tonic-gate# DHCP packet fields.	Code field is byte offset into DHCP packet.
1237c478bd9Sstevel@tonic-gate#
1247c478bd9Sstevel@tonic-gate
1257c478bd9Sstevel@tonic-gateOpcode		FIELD,		0,	UNUMBER8,  1,	1,	id
1267c478bd9Sstevel@tonic-gateHtype		FIELD,		1,	UNUMBER8,  1,	1,	id
1277c478bd9Sstevel@tonic-gateHLen		FIELD,		2,	UNUMBER8,  1,	1,	id
1287c478bd9Sstevel@tonic-gateHops		FIELD,		3,	UNUMBER8,  1,	1,	id
1297c478bd9Sstevel@tonic-gateXid		FIELD,		4,	UNUMBER32, 1,	1,	id
1307c478bd9Sstevel@tonic-gateSecs		FIELD,		8,	UNUMBER16, 1,	1,	id
1317c478bd9Sstevel@tonic-gateFlags		FIELD,		10,	OCTET,	   1,	2,	id
1327c478bd9Sstevel@tonic-gateCiaddr		FIELD,		12,	IP,	   1,	1,	id
1337c478bd9Sstevel@tonic-gateYiaddr		FIELD,		16,	IP,	   1,	1,	id
1347c478bd9Sstevel@tonic-gateBootSrvA	FIELD,		20,	IP,	   1,	1,	idm
1357c478bd9Sstevel@tonic-gateGiaddr		FIELD,		24,	IP,	   1,	1,	id
1367c478bd9Sstevel@tonic-gateChaddr		FIELD,		28,	OCTET,	   1,	16,	id
1377c478bd9Sstevel@tonic-gateBootSrvN	FIELD,		44,	ASCII,	   1,	64,	idm
1387c478bd9Sstevel@tonic-gateBootFile	FIELD,		108,	ASCII,	   1,	128,	idm
1397c478bd9Sstevel@tonic-gateMagic		FIELD,		236,	OCTET,	   1,	4,	id
1407c478bd9Sstevel@tonic-gateOptions		FIELD,		240,	OCTET,	   1,	60,	id
1417c478bd9Sstevel@tonic-gate
1427c478bd9Sstevel@tonic-gate
1437c478bd9Sstevel@tonic-gate#
1447c478bd9Sstevel@tonic-gate# Internal fields.
1457c478bd9Sstevel@tonic-gate#
1467c478bd9Sstevel@tonic-gate
1477c478bd9Sstevel@tonic-gateHostname	INTERNAL,	1024,	BOOL,	   0,	0,	dm
1487c478bd9Sstevel@tonic-gateLeaseNeg	INTERNAL,	1025,	BOOL,	   0,	0,	dm
1497c478bd9Sstevel@tonic-gateEchoVC		INTERNAL,	1026,	BOOL,	   0,	0,	dm
1507c478bd9Sstevel@tonic-gateBootPath	INTERNAL,	1027,	ASCII,	   1,	128,	dm
1517c478bd9Sstevel@tonic-gate
1527c478bd9Sstevel@tonic-gate
1537c478bd9Sstevel@tonic-gate#
1547c478bd9Sstevel@tonic-gate# SunOS vendor space -- see the Solaris System Administrator
1557c478bd9Sstevel@tonic-gate# documentation for more information on these options.
1567c478bd9Sstevel@tonic-gate#
1577c478bd9Sstevel@tonic-gate
1587c478bd9Sstevel@tonic-gateSrootOpt	VENDOR,		1,	ASCII,	   1,	0,	smi
1597c478bd9Sstevel@tonic-gateSrootIP4	VENDOR,		2,	IP,	   1,	1,	smi
1607c478bd9Sstevel@tonic-gateSrootNM		VENDOR,		3,	ASCII,	   1,	0,	smi
1617c478bd9Sstevel@tonic-gateSrootPTH	VENDOR,		4,	ASCII,	   1,	0,	smi
1627c478bd9Sstevel@tonic-gateSswapIP4	VENDOR,		5,	IP,	   1,	1,	smi
1637c478bd9Sstevel@tonic-gateSswapPTH	VENDOR,		6,	ASCII,	   1,	0,	smi
1647c478bd9Sstevel@tonic-gateSbootFIL	VENDOR,		7,	ASCII,	   1,	0,	smi
1657c478bd9Sstevel@tonic-gateStz		VENDOR,		8,	ASCII,	   1,	0,	smi
1667c478bd9Sstevel@tonic-gateSbootRS		VENDOR,		9,	UNUMBER16, 1,	1,	smi
1677c478bd9Sstevel@tonic-gateSinstIP4	VENDOR,		10,	IP,	   1,	1,	smi
1687c478bd9Sstevel@tonic-gateSinstNM		VENDOR,		11,	ASCII,	   1,	0,	smi
1697c478bd9Sstevel@tonic-gateSinstPTH	VENDOR,		12,	ASCII,	   1,	0,	smi
1707c478bd9Sstevel@tonic-gateSsysidCF	VENDOR,		13,	ASCII,	   1,	0,	smi
1717c478bd9Sstevel@tonic-gateSjumpsCF	VENDOR,		14,	ASCII,	   1,	0,	smi
1727c478bd9Sstevel@tonic-gateSterm		VENDOR,		15,	ASCII,	   1,	0,	smi
1737c478bd9Sstevel@tonic-gateSbootURI	VENDOR,		16,	ASCII,	   1,	0,	smi
1747c478bd9Sstevel@tonic-gateSHTTPproxy	VENDOR,		17,	ASCII,	   1,	0,	smi
1757c478bd9Sstevel@tonic-gate
1767c478bd9Sstevel@tonic-gate#
1777c478bd9Sstevel@tonic-gate# Site option example:
1787c478bd9Sstevel@tonic-gate# The following option describes an option named ipPairs, that is in
1797c478bd9Sstevel@tonic-gate# the  SITE category, meaning it is defined by each individual site.
1807c478bd9Sstevel@tonic-gate# It is option code 132, which is of type IP Address, consisting of
1817c478bd9Sstevel@tonic-gate# a potentially infinite number of pairs of IP addresses.  (See
182*bbf21555SRichard Lowe# dhcp_inittab(5) for details)
1837c478bd9Sstevel@tonic-gate#
1847c478bd9Sstevel@tonic-gate# ipPairs     SITE,           132,    IP,     2,      0,      sdmi
1857c478bd9Sstevel@tonic-gate#
186