| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
DHCP Options, Option Format and "Option Overloading" (Page 2 of 4) Options and Option Format DHCP maintains, formalizes and further extends the idea of using the Vend field to carry general-purpose parameters. Instead of being called vendor information extensions, or vendor information fields, these fields are now called simply DHCP options. Similarly, the Vend field has been renamed the Options field, reflecting its new role as a way of conveying vendor-independent options between client and server. Keeping with the desire to maintain compatibility between BOOTP and DHCP, the DHCP Options field is in most ways the same as the vendor-independent interpretation of the BOOTP Vend field introduced by RFC 1048. The first four bytes of the field still carry the magic cookie value 99.130.83.99 to identify the information as vendor-independent option fields. The rest of the Option field consists of one or more subfields, each of which has a type, length, value (TLV-encoded) substructure as in BOOTP. The main differences between BOOTP vendor information fields and DHCP options are the field names and the fact that the DHCP Options field is variable in length where the BOOTP Vend field is fixed at 64 bytes. The structure of the DHCP Options field as a whole is shown in Figure 268; the subfield names of each option are described in Table 190.
All of the DHCP options follow the format of Table 190, except for two special cases, again the same as BOOTP. A Code value of 0 is used as a pad, when subfields need to be aligned on word boundaries; it contains no information. The value 255 is used to mark the end of the vendor information fields. Both of these codes contain no actual data, so to save space, when either is used just the single Code value is included; the Len and Data fields are omitted. A device seeing a Code value of 0 just skips it as filler; a device seeing a Code value of 255 knows it has reached the end of the fields in this Options field.
Home - Table Of Contents - Contact Us The TCP/IP Guide (http://www.TCPIPGuide.com) Version 3.0 - Version Date: September 20, 2005 © Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved. Not responsible for any loss resulting from the use of this site. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||