About this tool
DHCP gives a device the addressing details it needs without someone typing them in. This animation follows Discover, Offer, Request and Acknowledge, then explores lease renewal. It is a useful starting point for understanding how a laptop joins a network. The pool, packet details and lease display connect the simple story to actual DHCP fields.
How it works
- Select the available acquisition and renewal scenario.
- Play DORA and watch the client and server exchange messages.
- Check the offered address, lease and packet details.
- Continue into renewal or expiry to see what changes.
Worked example
A client receives 192.168.10.100/24, gateway 192.168.10.1 and a 24-hour lease. With default timer proportions, it attempts renewal at 12 hours and rebinding at 21 hours. If no server extends the lease before 24 hours, it must stop using the leased address.
Common mistakes
An Offer is not the final permission to use an address; the ACK completes the successful exchange. Renewal usually uses DHCPREQUEST, not a fresh four-message DORA. A leased address is temporary rather than a permanent identity.
FAQ
Which ports does DHCP use?
DHCPv4 clients use UDP 68 and servers use UDP 67. Initial broadcasts stay within their broadcast domain unless a DHCP relay forwards the request.