Pcornel
Networking · IP Services › DHCP › DHCP Server

DORA

Cheat sheet · https://pcornel.dk/topic.php?topic=1190

Back to the Topic

Answer

DORA is the four-step DHCP exchange: Discover (client broadcasts), Offer (server proposes an address), Request (client asks for it) and Acknowledge (server confirms the lease). Seeing which step is missing tells you where DHCP fails.

Remember

  • Discover: client searches for servers.
  • Offer: server proposes an address and options.
  • Request: client selects/requests an offer.
  • ACK: server confirms the lease.

A NAK rejects the requested configuration and should be investigated separately.

First checks

  • show ip dhcp binding — leases handed out by the IOS server.
  • show ip dhcp pool — pool range, leased and free addresses.
  • show ip dhcp conflict — addresses found in use by ping or gratuitous ARP.
  • show ip dhcp server statistics — DISCOVER/OFFER/REQUEST/ACK counters.
  • show ip interface <if> | include Helper — relay address on the client VLAN.
  • debug ip dhcp server packet — DORA step by step (briefly).

Commands

show ip dhcp binding
IOS DHCP server lease bindings.
ip helper-address

Verify in this order

client broadcasts DISCOVER → local server or relay (ip helper-address) receives it → server picks the pool matching the subnet → OFFER → REQUEST → ACK → client configures address, gateway and DNS

Where it usually breaks

local configuration → reachability/transport → request/negotiation → server or policy decision → response/state installation → client-visible result

DORA message map

StepSenderMeaningUseful failure boundary
DiscoverClientSearches for DHCP serviceMissing: client/VLAN/local transmit
OfferServerProposes address/optionsMissing: relay/server/scope/return path
RequestClientSelects/requests offerMissing: Offer not received/accepted
ACKServerConfirms leaseMissing: server rejects/fails to finalize or return path

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1190

Confirmation

Confirm action

Continue?