Pcornel
Networking · IP Services › DHCP › DHCP Server

Lease

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

Back to the Topic

Answer

A DHCP lease grants an address and options for a limited lifetime. Clients normally renew before the lease expires.

Remember

Lease duration controls how long the assignment is valid; it does not by itself control whether a client keeps the same address across every renewal.

First checks

  • show ip dhcp binding — lease expiry per client.
  • show running-config | section ip dhcp pool — lease <days> <hours> <minutes>.
  • Client: ipconfig /all — Lease Obtained / Lease Expires.
  • show ip dhcp server statistics — REQUESTs (renewals) counted.

Commands

ip dhcp remember
show ip dhcp binding remembered
ip dhcp database

Verify in this order

lease granted → client renews at T1 (50 %) by unicast → rebinds at T2 (87.5 %) by broadcast → ACK extends the lease → expired leases return to the pool

Where it usually breaks

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

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

Confirmation

Confirm action

Continue?