Use this topic when a router or Layer-3 interface should learn its address dynamically, or when verifying whether the interface successfully received a lease.
DHCP Client
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.
1. DHCP client: discover, offer, request, ack (DORA).
2. Router interfaces can be clients (ip address dhcp).
3. Lease renews at 50 % (T1).
4. APIPA/no address means failure.
5. Check relay and VLAN.
discover → offer → request → ack → address
Check interface state and then test gateway/DNS as separate boundaries.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
ip address dhcpPrimary Commands
Configuration and operational commands for this Topic.
Show Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
show dhcp leaseShowDisplay DHCP lease information learned by the local Cisco DHCP client.
Use when: Use to verify that the interface received lease parameters and to inspect lease state.
Quick note: Pair with interface state and packet evidence during acquisition/renewal failures.
Cisco IOS / IOS XE · serviceshow ip interface briefShowCompact IPv4 interface/address/protocol state.
Use when: Use as the prior manifest-approved bounded observation/validation surface for this exact Topic.
Quick note: Restores exact/ ownership only; this authored guidance is not observed production Evidence.
Cisco IOS XE · stateVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification and output interpretation Verify boundary
Verify the acquired address, mask/prefix, gateway, DNS, lease lifetime and server identity on the exact interface, then distinguish those facts from ARP/route/DNS/application state. Verification should correlate one client identity and one subnet across the exact transaction. Inspect interface/VLAN state, helper or server reachability, bindings/pool utilization and the parameters ultimately installed on the client. A packet capture or counters can show message progress, while client route/ARP/DNS checks show later stages. Keep protocol success separate from service success.
Step 2 Client verification Narrow the fault
Verify interface state first. Then confirm ip address dhcp, inspect show dhcp lease, and confirm the resulting address with show ip interface brief. If no lease exists, packet evidence should show whether Discover is transmitted and whether any Offer returns.
Evidence · 2 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
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.
show ip interface brief— address learned via DHCPshow dhcp lease— lease details- Client: ipconfig /all, ip addr — lease
ReferenceWhat it is1 section · depth on demand
What a DHCP client does
A DHCP client starts with insufficient IPv4 configuration and negotiates a lease. A Cisco interface configured with ip address dhcp can use the same process to learn its own IPv4 address and options.
ReferenceImportant terms & boundaries4 sections · depth on demand
In depth
A DHCP client asks for and maintains its IP configuration. RFC 2131 describes the client states: INIT, SELECTING (collecting offers), REQUESTING, BOUND, then RENEWING at timer T1 (unicast to the leasing server) and REBINDING at T2 (broadcast to any server); a client that reboots with a remembered address uses INIT-REBOOT and REBOOTING to confirm it with a shortened exchange.
Client behaviour (RFC 2131)
| Behaviour | Detail |
|---|---|
| Broadcast flag | Set by clients that can't receive unicast before configuration |
| Address check | Client should verify the address (for example with ARP); if in use, send DECLINE and wait at least 10 s |
| Lease times | Relative, in seconds; servers may shorten them for clock drift |
| INFORM | A statically addressed client can still request options |
Cisco IOS XE as a DHCP client
R1(config)# interface GigabitEthernet0/0/0
R1(config-if)# description ISP-A
R1(config-if)# ip address dhcp client-id GigabitEthernet0/0/0
R1(config-if)# no shutdown
R1# show dhcp lease
Temp IP addr: 198.51.100.2 for peer on Interface: GigabitEthernet0/0/0
Temp sub net mask: 255.255.255.0
DHCP Lease server: 198.51.100.1, state: 5 Bound
DHCP transaction id: 1A2B
Lease: 86400 secs, Renewal: 43200 secs, Rebind: 75600 secs
R1# show ip route 0.0.0.0
S* 0.0.0.0/0 [254/0] via 198.51.100.1
The default route learned from DHCP gets distance 254, so a configured static default wins.
Clients on other systems
C:\> ipconfig /all | findstr /i "DHCP Lease"
DHCP Enabled. . . . . . . . . . . : Yes
Lease Obtained. . . . . . . . . . : 28. november 2026 10:41:22
DHCP Server . . . . . . . . . . . : 10.20.0.10
C:\> ipconfig /renew
host$ nmcli -f DHCP4 device show eth0 | grep -E "ip_address|routers|domain_name_servers"
Troubleshooting
| Symptom | Check |
|---|---|
| 169.254.x.x address (Windows) | No DHCP answer: VLAN, relay, server, DHCP snooping trust |
| Wrong subnet | Relay giaddr or wrong VLAN |
| Address works, no name resolution | DNS option missing |
| Duplicate address | Static device inside the pool; exclude it |
Documented example, not captured output.
Quick reference
A DHCP client obtains its IP address and settings automatically. On Cisco IOS an interface can be a DHCP client too, commonly on internet-facing interfaces, and it can install the received default route.
interface Gi0/0
ip address dhcp
no shutdown
show dhcp lease
show ip interface brief
Documented example, not captured output.
On hosts, ipconfig /renew (Windows) or dhclient/NetworkManager (Linux) requests a lease; a 169.254.x.x address means no DHCP server answered.
Protocol/service mechanics and state model
A DHCP client begins without usable IPv4 configuration, discovers available service, selects an offer, requests that lease and applies the ACKed parameters locally. Renewal and rebinding later extend the lease without repeating the entire initial path when possible. Client state therefore combines protocol exchange, timer state and the operating system or device interface configuration that resulted from the lease. DHCP should be read as a stateful configuration-delivery protocol across Layer-2 and Layer-3 boundaries. Broadcast discovery, relay behavior, server pool selection, client identity, lease timers and applied interface state are separate pieces of evidence. Server and client can each look locally healthy while a relay, VRF, helper target, return route or VLAN boundary prevents the complete exchange. DORA is useful shorthand, but operational certainty comes from following one exact client through message direction, selected scope and resulting lease.
Limits and common misconceptions
A client showing BOUND or an assigned address does not show the gateway responds, that DNS is valid, or that upstream policy permits traffic. Do not treat DHCP as a universal connectivity test. An address lease shows configuration delivery, not gateway forwarding, DNS health, security policy or application reachability. Conversely, a static-address test succeeding does not show DHCP itself works. Preserve the distinction between discovery transport, server allocation logic, relay context, client-applied state and the later forwarding path.
ReferenceConfiguration & state2 sections · depth on demand
Cisco interface as DHCP client
Configure ip address dhcp under the intended routed interface. The interface still needs normal Layer-1/Layer-2 reachability and a reachable DHCP service before it can receive an address.
Design and configuration intent
Use DHCP client mode only where dynamic addressing is intended and understand what local configuration is replaced or retained. Lease timers, client identifiers and interface resets can materially affect address continuity. Configuration should preserve a clear ownership boundary between the client subnet, relay/default gateway and server scopes. Address ranges, exclusions, default-router and DNS options, lease times and relay targets should reflect the real routed design. Avoid using a broad helper or pool as evidence of correctness; a syntactically valid configuration can still choose the wrong scope or source context.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in IP Services → DHCP → DHCP Client. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc2131.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
DHCP Client · operational reference
Compact protocol/state/evidence reference for fast lookup.
| Client evidence | Proves |
|---|---|
| Bound/leased | DHCP transaction completed |
| Gateway option | Parameter received |
| Lease timers | Renewal lifecycle |
| Ping/DNS | Separate service evidence |
Deep reference
Healthy vs suspicious evidence
Healthy vs suspicious client evidence
Healthy: interface is up/up, show dhcp lease reports an active lease and show ip interface brief shows the expected dynamically learned address.
Suspicious: interface down, no lease, unexpected subnet, repeated lease acquisition, or address present but gateway/DNS tests fail.