
SNMP, BootP, BootP/DHCP Relay, DHCP Server, and RARP Concepts
117362-C Rev 00
2-21
Table 2-4. Fields in a DHCP Packet
Field Octets Description
Operation 1 Message operation code or message type.
• 1= BOOTREQUEST
• 2= BOOTREPLY
Hardware type 1 Hardware address type.
For example, 1= 10mb Ethernet
Hardware address length 1 Hardware address length. For example, “6” for
10mb Ethernet
Hops 1 DHCP client sets to zero.
Transaction ID 4 A random number chosen by the client. The DHCP
client and the DHCP server use this number to
associate messages and responses exchanged
between them.
Seconds 2 The number of seconds that elapsed since a client
started trying to boot. The client fills in this number.
Flags 2 If the flags field contains the value 1, the client
does not know its own IP address. The router
broadcasts the DHCPREPLY packets to the IP
broadcast address (255.255.255.255).
If the flags field contains the value 0, the client
knows its own IP address, which appears in the
client IP address field of the DHCPREPLY packet.
The router sends the DHCPREPLY packet to that
IP address and the link-layer address that appears
in the client hardware address field.
Client IP address 4 The DHCP client IP address. This field is filled in
only if the DHCP client is in BOUND, RENEW, or
REBINDING state and can respond to ARP
requests.
Your IP address 4 “Your” (DHCP client) IP address.
Gateway IP address 16 IP address of the DHCP server to use in the next
step of the client’s bootstrap process. The DHCP
server returns this address when it sends
DHCPOFFER and DHCPACK messages to the
client.
Client hardware address 16 The hardware address of the client.
(continued)
Comentarios a estos manuales