1.The DHCP client requests an IP address by broadcasting a DHCP Discover message to thelocal subnet.2.The client is offered an address when a DHCP server responds with a DHCP Offer messagecontaining IP address and configuration information for lease to the client. If no DHCP server responds to the client request, the client can proceed in two ways:
If it is a Windows 2000–based client, and IP auto-configuration has not been disabled, the clientself-configures an IP address for its interface.
If the client is not a Windows 2000–based client, or IP auto-configuration has been disabled, theclient network initialization fails. The client continues to resend DHCP Discover messages in thebackground (four times, every 5 minutes) until it receives a DHCP Offer message from a DHCPserver.3.The client indicates acceptance of the offer by selecting the offered address and replying to theserver with a DHCP Request message.4.The client is assigned the address and the DHCP server sends a DHCH ACK message,approving the lease. Other DHCP option information might be included in the message.5.Once the client receives acknowledgment, it configures its TCP/IP properties using any DHCPoption information in the reply, and joins the network.In rare cases, a DHCP server might return a negative acknowledgment to the client. This canhappen if a client requests an invalid or duplicate address. If a client receives a negativeacknowledgment (DHCP Nack), the client must begin the entire lease process again.
Figure 3-5. DHCP client/server protocolQ. At what layer of OSI it functions?
A. DHCP works at Data link Layer. (Layer 2)
Q. What is
?A. Finally, the chosen DHCP server sends the lease information (the IP address, potentially a subnetmask, DNS server, WINS server, WINS node type, domain name, and default gateway) to theworkstation in a message called the DHCP ACK (data communications jargon for acknowledge). Youcan remember the four parts of a DHCP message by the mnemonic
- Discover, Offer,Request, and ACK.
Q. What is the default Lease Period in DHCP Client/Server communication?
A. The default lease is 8 days, after which a computer has to renew their use of the address they'vebeen leased by your DHCP server.