📖 What is DHCP?
Dynamic Host Configuration Protocol (DHCP) automates the assignment of IP addresses and network configuration parameters to devices on a network. This simplifies network administration by eliminating the need for manual IP address configuration. DHCP servers lease IP addresses for a specified duration.
"The DORA process (Discover, Offer, Request, Acknowledge) is fundamental. Understand DHCP scope configuration, lease times, and potential conflicts. The exam may present scenarios involving DHCP server failures or address exhaustion."
📚 Certification: CompTIA A+ Certification Exam Core 2 (220-1102)
🔑 What are the Key Concepts of DHCP?
- ▸ The DORA process is crucial: Discover, Offer, Request, Acknowledge – understand each step for troubleshooting and exam questions.
- ▸ DHCP scope defines the range of IP addresses available for assignment, along with subnet mask, default gateway, and DNS servers.
- ▸ Lease time determines how long an IP address is assigned to a client; shorter times offer faster address recovery, longer times reduce server load.
- ▸ DHCP reservations assign specific IP addresses to devices based on their MAC address, ensuring consistent addressing for servers or printers.
- ▸ Address exhaustion occurs when the DHCP scope runs out of available IP addresses; consider expanding the scope or shortening lease times.
🎯 How does DHCP appear on the 220-1102 Exam?
You may be asked to troubleshoot a scenario where a user cannot connect to the network, and the IP address shows as 169.254.x.x, indicating a DHCP failure.
A scenario might describe a network with a limited number of IP addresses; expect questions about optimizing DHCP scope configuration and lease times.
Expect questions about identifying the correct steps to configure a DHCP reservation for a specific device on the network.
❓ Frequently Asked Questions
What happens when a DHCP lease expires?
The client attempts to renew the lease. If the DHCP server is available, it typically extends the lease. If not, the client will attempt to rediscover an address, and may fall back to APIPA (169.254.x.x) if unsuccessful.
How can I prevent IP address conflicts with DHCP?
Exclude static IP addresses from the DHCP scope. Use DHCP reservations for devices needing consistent addresses. Regularly monitor the DHCP server for address exhaustion and potential conflicts.
What is the difference between a DHCP relay agent and a DHCP server?
A DHCP server assigns IP addresses. A relay agent forwards DHCP requests to a DHCP server on a different subnet, enabling DHCP across multiple networks without a server on each subnet.