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>.
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
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.
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]
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.
34 # Please consult dhcp_inittab(4) for further information. Note that
35 # this interface is "Unstable" as defined by attributes(5).
38 Subnet STANDARD, 1, IP, 1, 1, sdmi
39 UTCoffst STANDARD, 2, SNUMBER32, 1, 1, sdmi
40 Router STANDARD, 3, IP, 1, 0, sdmi
41 Timeserv STANDARD, 4, IP, 1, 0, sdmi
42 IEN116ns STANDARD, 5, IP, 1, 0, sdmi
43 DNSserv STANDARD, 6, IP, 1, 0, sdmi
44 Logserv STANDARD, 7, IP, 1, 0, sdmi
45 Cookie STANDARD, 8, IP, 1, 0, sdmi
46 Lprserv STANDARD, 9, IP, 1, 0, sdmi
47 Impress STANDARD, 10, IP, 1, 0, sdmi
48 Resource STANDARD, 11, IP, 1, 0, sdmi
49 Hostname STANDARD, 12, ASCII, 1, 0, si
50 Bootsize STANDARD, 13, UNUMBER16, 1, 1, sdmi
51 Dumpfile STANDARD, 14, ASCII, 1, 0, sdmi
52 DNSdmain STANDARD, 15, ASCII, 1, 0, sdmi
53 Swapserv STANDARD, 16, IP, 1, 1, sdmi
54 Rootpath STANDARD, 17, ASCII, 1, 0, sdmi
55 ExtendP STANDARD, 18, ASCII, 1, 0, sdmi
56 IpFwdF STANDARD, 19, UNUMBER8, 1, 1, sdmi
57 NLrouteF STANDARD, 20, UNUMBER8, 1, 1, sdmi
58 PFilter STANDARD, 21, IP, 2, 0, sdmi
59 MaxIpSiz STANDARD, 22, UNUMBER16, 1, 1, sdmi
60 IpTTL STANDARD, 23, UNUMBER8, 1, 1, sdmi
61 PathTO STANDARD, 24, UNUMBER32, 1, 1, sdmi
62 PathTbl STANDARD, 25, UNUMBER16, 1, 0, sdmi
63 MTU STANDARD, 26, UNUMBER16, 1, 1, sdmi
64 SameMtuF STANDARD, 27, UNUMBER8, 1, 1, sdmi
65 Broadcst STANDARD, 28, IP, 1, 1, sdmi
66 MaskDscF STANDARD, 29, UNUMBER8, 1, 1, sdmi
67 MaskSupF STANDARD, 30, UNUMBER8, 1, 1, sdmi
68 RDiscvyF STANDARD, 31, UNUMBER8, 1, 1, sdmi
69 RSolictS STANDARD, 32, IP, 1, 1, sdmi
70 StaticRt STANDARD, 33, IP, 2, 0, sdmi
71 TrailerF STANDARD, 34, UNUMBER8, 1, 1, sdmi
72 ArpTimeO STANDARD, 35, UNUMBER32, 1, 1, sdmi
73 EthEncap STANDARD, 36, UNUMBER8, 1, 1, sdmi
74 TcpTTL STANDARD, 37, UNUMBER8, 1, 1, sdmi
75 TcpKaInt STANDARD, 38, UNUMBER32, 1, 1, sdmi
76 TcpKaGbF STANDARD, 39, UNUMBER8, 1, 1, sdmi
77 NISdmain STANDARD, 40, ASCII, 1, 0, sdmi
78 NISservs STANDARD, 41, IP, 1, 0, sdmi
79 NTPservs STANDARD, 42, IP, 1, 0, sdmi
80 Vendor STANDARD, 43, OCTET, 1, 0, sdi
81 NetBNms STANDARD, 44, IP, 1, 0, sdmi
82 NetBDsts STANDARD, 45, IP, 1, 0, sdmi
83 NetBNdT STANDARD, 46, UNUMBER8, 1, 1, sdmi
84 NetBScop STANDARD, 47, ASCII, 1, 0, sdmi
85 XFontSrv STANDARD, 48, IP, 1, 0, sdmi
86 XDispMgr STANDARD, 49, IP, 1, 0, sdmi
87 ReqIP STANDARD, 50, IP, 1, 1, sdi
88 LeaseTim STANDARD, 51, UNUMBER32, 1, 1, sdmi
89 OptOvrld STANDARD, 52, UNUMBER8, 1, 1, sdi
90 DHCPType STANDARD, 53, UNUMBER8, 1, 1, sdi
91 ServerID STANDARD, 54, IP, 1, 1, sdi
92 ReqList STANDARD, 55, OCTET, 1, 0, sdi
93 Message STANDARD, 56, ASCII, 1, 0, sdi
94 DHCP_MTU STANDARD, 57, UNUMBER16, 1, 1, sdi
95 T1Time STANDARD, 58, UNUMBER32, 1, 1, sdmi
96 T2Time STANDARD, 59, UNUMBER32, 1, 1, sdmi
97 ClassID STANDARD, 60, ASCII, 1, 0, sdi
98 ClientID STANDARD, 61, OCTET, 1, 0, sdi
99 NW_dmain STANDARD, 62, ASCII, 1, 0, sdmi
100 NWIPOpts STANDARD, 63, OCTET, 1, 128, sdmi
101 NIS+dom STANDARD, 64, ASCII, 1, 0, sdmi
102 NIS+serv STANDARD, 65, IP, 1, 0, sdmi
103 TFTPsrvN STANDARD, 66, ASCII, 1, 64, sdmi
104 OptBootF STANDARD, 67, ASCII, 1, 128, sdmi
105 MblIPAgt STANDARD, 68, IP, 1, 0, sdmi
106 SMTPserv STANDARD, 69, IP, 1, 0, sdmi
107 POP3serv STANDARD, 70, IP, 1, 0, sdmi
108 NNTPserv STANDARD, 71, IP, 1, 0, sdmi
109 WWWservs STANDARD, 72, IP, 1, 0, sdmi
110 Fingersv STANDARD, 73, IP, 1, 0, sdmi
111 IRCservs STANDARD, 74, IP, 1, 0, sdmi
112 STservs STANDARD, 75, IP, 1, 0, sdmi
113 STDAservs STANDARD, 76, IP, 1, 0, sdmi
114 UserClas STANDARD, 77, ASCII, 1, 0, sdi
115 SLP_DA STANDARD, 78, OCTET, 1, 0, sdmi
116 SLP_SS STANDARD, 79, OCTET, 1, 0, sdmi
117 ClientFQDN STANDARD, 81, OCTET, 1, 0, sdmi
118 AgentOpt STANDARD, 82, OCTET, 1, 0, sdi
119 FQDN STANDARD, 89, OCTET, 1, 0, sdmi
122 # DHCP packet fields. Code field is byte offset into DHCP packet.
125 Opcode FIELD, 0, UNUMBER8, 1, 1, id
126 Htype FIELD, 1, UNUMBER8, 1, 1, id
127 HLen FIELD, 2, UNUMBER8, 1, 1, id
128 Hops FIELD, 3, UNUMBER8, 1, 1, id
129 Xid FIELD, 4, UNUMBER32, 1, 1, id
130 Secs FIELD, 8, UNUMBER16, 1, 1, id
131 Flags FIELD, 10, OCTET, 1, 2, id
132 Ciaddr FIELD, 12, IP, 1, 1, id
133 Yiaddr FIELD, 16, IP, 1, 1, id
134 BootSrvA FIELD, 20, IP, 1, 1, idm
135 Giaddr FIELD, 24, IP, 1, 1, id
136 Chaddr FIELD, 28, OCTET, 1, 16, id
137 BootSrvN FIELD, 44, ASCII, 1, 64, idm
138 BootFile FIELD, 108, ASCII, 1, 128, idm
139 Magic FIELD, 236, OCTET, 1, 4, id
140 Options FIELD, 240, OCTET, 1, 60, id
147 Hostname INTERNAL, 1024, BOOL, 0, 0, dm
148 LeaseNeg INTERNAL, 1025, BOOL, 0, 0, dm
149 EchoVC INTERNAL, 1026, BOOL, 0, 0, dm
150 BootPath INTERNAL, 1027, ASCII, 1, 128, dm
154 # SunOS vendor space -- see the Solaris System Administrator
155 # documentation for more information on these options.
158 SrootOpt VENDOR, 1, ASCII, 1, 0, smi
159 SrootIP4 VENDOR, 2, IP, 1, 1, smi
160 SrootNM VENDOR, 3, ASCII, 1, 0, smi
161 SrootPTH VENDOR, 4, ASCII, 1, 0, smi
162 SswapIP4 VENDOR, 5, IP, 1, 1, smi
163 SswapPTH VENDOR, 6, ASCII, 1, 0, smi
164 SbootFIL VENDOR, 7, ASCII, 1, 0, smi
165 Stz VENDOR, 8, ASCII, 1, 0, smi
166 SbootRS VENDOR, 9, UNUMBER16, 1, 1, smi
167 SinstIP4 VENDOR, 10, IP, 1, 1, smi
168 SinstNM VENDOR, 11, ASCII, 1, 0, smi
169 SinstPTH VENDOR, 12, ASCII, 1, 0, smi
170 SsysidCF VENDOR, 13, ASCII, 1, 0, smi
171 SjumpsCF VENDOR, 14, ASCII, 1, 0, smi
172 Sterm VENDOR, 15, ASCII, 1, 0, smi
173 SbootURI VENDOR, 16, ASCII, 1, 0, smi
174 SHTTPproxy VENDOR, 17, ASCII, 1, 0, smi
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(4) for details)
184 # ipPairs SITE, 132, IP, 2, 0, sdmi