NetworkingNetwork+

DHCP Implementation for CompTIA Network+ N10-009

DHCP (Dynamic Host Configuration Protocol) automatically assigns IP addresses and network configuration to clients. CompTIA Network+ N10-009 tests DHCP implementation across networking concepts, implementation, and troubleshooting domains. You must understand the DORA process, DHCP scope configuration, DHCP relay agents, reservations, and common DHCP failure scenarios. DHCP troubleshooting is a guaranteed exam topic.

8 min
3 sections · 7 exam key points
1 practice questions

The DORA Process

DHCP uses a four-step DORA process for IP address assignment using UDP ports 67 (server) and 68 (client): (1) Discover: client broadcasts DHCPDISCOVER to 255.255.255.255 — 'Is there a DHCP server?' (2) Offer: DHCP server responds with DHCPOFFER containing an available IP address, subnet mask, default gateway, DNS servers, and lease time. (3) Request: client broadcasts DHCPREQUEST accepting the offer — 'I'll take that IP.' (4) Acknowledge: server sends DHCPACK confirming the assignment. The client now has its IP configuration.

The process uses broadcasts because the client has no IP address at the start — it cannot send a unicast packet. This is also why DHCP uses UDP (broadcasts cannot use TCP's connection-oriented handshake).

DHCP Scope Configuration

A DHCP scope defines the pool of IP addresses and configuration parameters the server will assign. Key scope settings: address range (start and end IP), subnet mask, default gateway, DNS server addresses, lease duration, exclusion ranges (IPs reserved for static assignment — printers, servers, network devices), and options (NTP server, WINS, domain name).

DHCP reservations: binding a specific IP address to a specific client MAC address — the client always receives the same IP from DHCP. Useful for printers, servers, or cameras that need a consistent IP without full static configuration. Different from exclusions (exclusions prevent IPs from being assigned; reservations assign a specific IP to a specific MAC).

Lease duration: how long a client holds its assigned IP before needing to renew. At 50% of lease duration, the client attempts renewal with the original DHCP server (unicast). At 87.5%, it broadcasts a renewal to any DHCP server. Default lease times: home routers often 24 hours; enterprise may use 8 hours; wireless often shorter (1–2 hours) for high-churn environments.

DHCP Relay and Failover

DHCP relay agent (IP helper): allows DHCP to work across routed network segments. Broadcasts don't cross routers — without relay, each subnet would need its own DHCP server. A DHCP relay agent (configured on the router interface) forwards client DHCP broadcasts as unicast to the DHCP server, then relays the server's response back to the client.

DHCP failover: two DHCP servers configured to share a scope for redundancy. If one server fails, the other continues assigning addresses. Active-active failover (load balancing) or active-passive (hot standby). Without failover, a single DHCP server failure means clients cannot renew leases — those with expiring leases lose connectivity.

Key exam facts — Network+

  • DORA: Discover → Offer → Request → Acknowledge
  • DHCP uses UDP: client port 68, server port 67
  • DHCP relay agent (IP helper) forwards broadcasts to DHCP server across routers
  • Exclusions: IPs not assigned by DHCP; Reservations: specific IP bound to specific MAC
  • Lease renewal: 50% of lease = unicast to server; 87.5% = broadcast to any server
  • APIPA (169.254.x.x) assigned when DHCP fails
  • DHCP scope = address pool, mask, gateway, DNS, lease time, options

Common exam traps

DHCP assigns permanent IP addresses

DHCP assigns IP addresses for a lease duration — the client must renew before the lease expires or it loses the IP. Only DHCP reservations provide consistent (but not permanent) address assignment

Each subnet must have its own DHCP server

A single DHCP server can serve multiple subnets using a DHCP relay agent (IP helper) configured on the router interface for each subnet. This is the standard enterprise deployment

Practice questions — DHCP Implementation

These questions are representative of what you will see on Network+ exams. The correct answer and explanation are shown immediately below each question.

Q1.A client on a remote subnet cannot receive a DHCP address, but clients on the same subnet as the DHCP server work correctly. What is the most likely solution?

A.Add a second DHCP server on the remote subnet
B.Configure a DHCP relay agent (IP helper) on the router interface of the remote subnet
C.Increase the DHCP lease duration
D.Enable DHCP snooping on the remote subnet's switch

Explanation: DHCP Discover messages are broadcasts that don't cross routers. A DHCP relay agent (IP helper address) configured on the router interface of the remote subnet forwards DHCP broadcasts as unicast to the DHCP server and relays responses back. This allows a single DHCP server to serve multiple subnets without requiring a separate server on each.

Frequently asked questions — DHCP Implementation

What happens when the DHCP lease expires?

The client attempts renewal at 50% of lease time (unicast to server). If no response, it tries again at 87.5% (broadcast). If the lease expires without renewal, the client must restart DORA. If no DHCP server responds, the client falls back to APIPA (169.254.x.x). Devices with expired leases lose network connectivity until they receive a new lease.

Practice this topic

Test yourself on DHCP Implementation

JT Exams routes you to questions in your exact weak areas — automatically, after every session.

No credit card · Cancel anytime

Related certification topics