Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

DHCP Client

Direct 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.

When to use this

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.

First 30 seconds

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.

Operational verification

discover → offer → request → ack → address

Evidence · next step

Check interface state and then test gateway/DNS as separate boundaries.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · Cisco IOS / IOS XE · Cisco IOS XE
Key commandip address dhcp
Scope / prerequisiteUse this topic when a router or Layer-3 interface should learn its address dynamically, or when verifying whether the i…
Configure · 1Show · 2
What next?3 suggested next steps
Catalog command links3
Evidence2
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

state · 1command output · 1
Command lookup Jump straight to Cisco syntax
Key points

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.

Key checks
  • show ip interface brief — address learned via DHCP
  • show 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

DHCP client

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)

BehaviourDetail
Broadcast flagSet by clients that can't receive unicast before configuration
Address checkClient should verify the address (for example with ARP); if in use, send DECLINE and wait at least 10 s
Lease timesRelative, in seconds; servers may shorten them for clock drift
INFORMA 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

SymptomCheck
169.254.x.x address (Windows)No DHCP answer: VLAN, relay, server, DHCP snooping trust
Wrong subnetRelay giaddr or wrong VLAN
Address works, no name resolutionDNS option missing
Duplicate addressStatic device inside the pool; exclude it

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 2131

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%
Terminology layer

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.

Aliases that resolve here
router dhcp client
Embedded reference data

Quick lookup tables

DHCP Client · operational reference

Compact protocol/state/evidence reference for fast lookup.

Client evidenceProves
Bound/leasedDHCP transaction completed
Gateway optionParameter received
Lease timersRenewal lifecycle
Ping/DNSSeparate service evidence
Depth when you need it

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.

Confirmation

Confirm action

Continue?