Operation Manual – DHCP
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 DHCP Overview
1-4
Figure 1-3
DHCP message format
z
op: Message type defined in option field. 1 = REQUEST, 2 = REPLY
z
htype,hlen: Hardware address type and length of a DHCP client.
z
hops: Number of relay agents a request message traveled.
z
xid: Transaction ID, a random number chosen by the client to identify an IP
address allocation.
z
secs: Filled in by the client, the number of seconds elapsed since the client began
address acquisition or renewal process. Currently this field is reserved and set to
0.
z
flags: The leftmost bit is defined as the BROADCAST (B) flag. If this flag is set to 0,
the DHCP server sent a reply back by unicast; if this flag is set to 1, the DHCP
server sent a reply back by broadcast. The remaining bits of the flags field are
reserved for future use.
z
ciaddr: Client IP address.
z
yiaddr: 'your' (client) IP address, assigned by the server.
z
siaddr: Server IP address, from which the clients obtained configuration
parameters.
z
giaddr: The first relay agent IP address a request message traveled.
z
chaddr: Client hardware address.
z
sname: The server host name, from which the client obtained configuration
parameters.
z
file: Bootfile name and routing information, defined by the server to the client.
z
options: Optional parameters field that is variable in length, which includes the
message type, lease, DNS IP address, WINS IP address and so forth.