Option Field Format; Table 3-33: Dhcp Message Option Code Definition - Wiznet W5100E01-AVR User Manual

Table of Contents

Advertisement

Code 0 and Code 255 are composed of {Code} only. For further explanation of each Code of Option Field,
refer to RFC1533.
Code
Enumeration Type
0
padOption
1
subnetMask
3
routersOnSubnet
6
dns
12
hostName
50
dhcpRequestedIPaddr
51
dhcpIPaddrLeaseTime
53
dhcpMessageType
54
dhcpServerIdentifier
55
dhcpParamRequest
61
dhcpClientIdentifier
255
endOption
In the Option Field of 312 Bytes, the unused bytes are denoted with 0's padding.
<Table 3-34> is defined as enumeration data type in "inet/dhcp.h" and shows most common Option Codes
that are used in DHCP Client Program.
Other codes that are not defined in <Table 3-34> are skipped from DHCP Client Program.
<Fig 3.27: DHCP Message's Option Field Format>
<Table 3-33: DHCP Message Option Code Definition>
used to cause subsequent fields to align on word boundaries
specifies the client's subnet mask
a list of IP addresses for routers on the client's subnet
specifies a list of DNS servers available to the client
specifies the name of the client
request that a particular IP address be assigned by the server
a lease time for the IP address
used to convey the type of the DHCP message
the IP address of the selected server
request values for specified configuration parameters
specify client unique identifier
marks the end of valid information
© Copyright 2007 WIZnet Co., Inc. All rights reserved.
Description
68

Advertisement

Table of Contents
loading

Table of Contents