location of option12

Jeffrey Hutzelman jhutz at cmu.edu
Tue Nov 11 16:07:17 UTC 2008

--On Tuesday, November 11, 2008 01:24:15 PM +0530 abhijit khadatare 
<anks030 at gmail.com> wrote:

> hi everybody,
>       Can anyone tell me  location of option 12 in dhcp frame i.e it is
> compulsory to place between some option or it is before end option??
>       what is the max length of hostname?

DHCP options are not located at specific positions within the packet; they 
are encoded one after the other in a tag-length-value format.  See RFC2132 
section 2 for more on how DHCP options are encoded.

More information about the dhcp-users mailing list