Pcornel
Networking · IP Services › DHCP

DHCP Client

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

Back to the Topic

Answer

A DHCP client requests addressing parameters from a server instead of using a manually configured address. Cisco IOS/IOS XE interfaces can themselves act as DHCP clients.

Remember

An administratively or physically down interface cannot complete normal DHCP exchange. An assigned address proves a lease was accepted, not that upstream application connectivity works.

First checks

  • show ip interface brief — address learned via DHCP
  • show dhcp lease — lease details
  • Client: ipconfig /all, ip addr — lease

Commands

show ip interface brief
Compact IPv4 interface/address/protocol state.
ip address dhcp
Configure a Cisco IOS/IOS XE interface to obtain its IPv4 address by DHCP.
show dhcp lease
Display DHCP lease information learned by the local Cisco DHCP client.

Verify in this order

discover → offer → request → ack → address

Where it usually breaks

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

DHCP Client · operational reference

Client evidenceProves
Bound/leasedDHCP transaction completed
Gateway optionParameter received
Lease timersRenewal lifecycle
Ping/DNSSeparate service evidence

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

Confirmation

Confirm action

Continue?