Made with Palestinian hands Support EmuPath ☕

No results found.

Try another search or remove some filters.

WORKED LEARNING GUIDE

Diagnose a DHCP Lease Failure

Trace a fictional client through address allocation and distinguish a lease problem from a DNS or routing problem.

Before you start: Understand IPv4 addresses, subnets and gateways

The scenario

A training office uses 192.168.40.0/24. Its DHCP pool contains 192.168.40.100 through 192.168.40.149: fifty addresses before exclusions. A newly connected laptop has no usable lease while existing clients still work. Do not replace the router or widen the pool until you locate the failed step.

1. Record the client state

In an authorized lab, record the client interface, link state, configured address, subnet mask, gateway and resolver. Compare a working client on the same intended network. Existing clients can continue using valid leases while new allocation fails, so their success does not prove that the server can issue another lease. A manually configured address also does not demonstrate DHCP success.

2. Follow the exchange

For an initial DHCPv4 allocation, distinguish Discover, Offer, Request and Acknowledgment. A captured Discover with no observed Offer narrows the investigation but does not identify one cause: the capture point, server reachability, pool availability or relay configuration may matter. DHCPv4 normally uses UDP server port 67 and client port 68. Broadcast discovery does not automatically cross a router; examine the intended relay path when the server is on another subnet.

3. Check the scope before changing it

In the fictional pool there are fifty candidate addresses, not 254. Compare active leases, exclusions and reservations with the configuration. Do not blindly shorten lease times or assign an address already in use. In a manufacturer demo, locate the relevant settings and write down the intended change; a demo cannot prove that your physical switch forwards the packets.

4. Validate the complete result

After an authorized correction, verify the assigned subnet, gateway and resolver, then test an allowed application by hostname. An acknowledged lease proves an allocation step, not internet connectivity. Keep a record containing observation, hypothesis, controlled test and result. If the client receives correct settings but only names fail, investigate DNS separately instead of repeatedly resetting DHCP.

Existing clients work, but a new client cannot obtain an address. What is justified?

Try two more cases

How many addresses are in the inclusive range .100 through .149?

A correct lease is received, but names fail while an allowed service works by address. Which boundary deserves attention?

Practice with EmuPath

Check the primary reference

Examples are educational scenarios. Verify the current documentation and your own environment before changing a real system.

Explore another lesson