Use the DHCP Server topic when configuring a Cisco device as a DHCP server or when clients reach the server but leases are missing, exhausted or contain the wrong options.
DHCP Server
A DHCP server hands out IP addresses and settings — subnet mask, default gateway, DNS servers, domain name and lease time — from configured pools. On Cisco IOS it is set up with ip dhcp pool, with ip dhcp excluded-address for addresses it must not lease.
1. DHCP server on IOS: pool with network, default-router, dns-server.
2. Exclude static addresses.
3. Watch conflicts and utilisation.
4. Relay needed for remote subnets (ip helper-address).
5. Check lease time.
pool → offer/ack → binding
Verify client configuration and gateway/DNS options, then test the routed service path.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
- A pool network/mask that does not match the client subnet.
- Exhausted or over-excluded address ranges.
- Wrong
default-routerordns-servervalues. - Assuming a binding shows end-to-end connectivity.
- Clearing conflicts without understanding why the address was marked conflicting.
Operational reference
Fast context before you go deeper.
ip dhcp excluded-address <start> <end>Primary Commands
Configuration and operational commands for this Topic.
ip dhcp excluded-address <start> <end>ReferenceExclude infrastructure or reserved addresses from dynamic allocation.
Use when: Use before clients can lease addresses that are statically assigned elsewhere.
Quick note: Use show ip dhcp pool afterward to understand remaining capacity.
ip dhcp pool <name>ReferenceCreate or enter a Cisco IOS/IOS XE DHCP pool.
Use when: Use when defining the scope and options for a client subnet.
Quick note: Pair with network, default-router, DNS and lease options, then verify with show commands.
network <network> <mask>ReferenceDefine the IPv4 subnet served by the current DHCP pool.
Use when: Use inside DHCP pool configuration to match the client subnet.
Quick note: This command is context-sensitive: here it is the DHCP pool network statement.
Cisco IOS / IOS XE · mixeddefault-router <gateway>ReferenceProvide the client default-gateway option.
Use when: Use when clients in the pool need a Layer-3 gateway for off-subnet destinations.
Quick note: A correct option is a configuration boundary, not forwarding evidence.
Cisco IOS / IOS XE · mixeddns-server <server>ReferenceProvide one or more DNS resolver addresses to DHCP clients.
Use when: Use when centrally distributing DNS resolver settings.
Quick note: Separate DHCP delivery from DNS service verification.
Cisco IOS / IOS XE · mixeddomain-name <domain>ReferenceProvide a DNS domain/search suffix to DHCP clients.
Use when: Use when clients should receive a consistent local domain suffix.
Quick note: This option does not create or validate DNS zones.
Cisco IOS / IOS XE · mixedlease <days>ReferenceSet the lease duration for addresses in the current pool.
Use when: Use when the default lease duration does not fit the client population or operational policy.
Quick note: Use server/client lease state to verify effective timers.
Cisco IOS / IOS XE · mixedShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
show ip dhcp poolShowDisplay DHCP pool scope, utilization and address availability.
Use when: Use first when clients reach the server but may be failing because the intended pool is missing or exhausted.
Quick note: Use show ip dhcp binding next for a specific client lease.
show ip dhcp bindingShowIOS DHCP server lease bindings.
Use when: Use to confirm whether the local server granted a lease to the expected client.
Quick note: Correlate with client lease and packet transaction when identity is ambiguous.
Cisco IOS XE · mixedshow ip dhcp conflictShowDisplay addresses the local DHCP server has marked as conflicting.
Use when: Use when addresses unexpectedly disappear from the allocatable pool or clients report duplicate-address symptoms.
Quick note: Correlate with ARP/MAC evidence before remediation.
Cisco IOS / IOS XE · stateHow to read the output
show ip dhcp bindingLook first: IP, client identifier/MAC, lease state/expiry
Healthy: Expected client has the intended lease.
Warning: Missing/wrong binding, duplicate/conflict or unexpected scope.
Does not prove: A lease does not prove gateway, DNS or application reachability.
Verification & 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
Correlate one client MAC/client identifier with DISCOVER/OFFER/REQUEST/ACK semantics, pool utilization, binding/lease state and the exact options delivered. A free pool alone does not show that the request matched it. 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 Server verification Narrow the fault
Start with show ip dhcp pool for capacity and scope, then show ip dhcp binding for the client lease and show ip dhcp conflict for quarantined addresses. If the server has capacity but does not answer, verify that the request reaches the server and maps to the intended subnet/pool.
Evidence · 4 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
The official Cisco source documents this command in a bounded Cisco product/release or feature context.
command output · Evidence referenceDHCP pool capacityThe intended pool exists, matches the client subnet and has addresses available.
command output · Evidence referenceDHCP client bindingA binding for the expected client/address appears on the local DHCP server.
command output · Evidence referenceDHCP conflict stateThe conflict table is empty for a healthy pool, or a conflicting address is explicitly listed when duplicate-use evidence exists.
Subtopics
Go one level deeper into this subject.
DORA is the common four-message DHCP lease sequence: Discover, Offer, Request and ACK.
Subtopic PoolA DHCP pool defines the subnet and options from which the server builds client leases.
Subtopic Excluded AddressesExcluded addresses are kept out of dynamic allocation so gateways, servers and other statically addressed infrastructure are not leased to clients.
Subtopic Default Router OptionThe DHCP default-router option tells clients which Layer-3 gateway to use for destinations outside the local subnet.
Subtopic DNSThe DHCP DNS option supplies resolver addresses to clients so applications can translate names into IP addresses.
Subtopic LeaseA DHCP lease grants an address and options for a limited lifetime.
- Exclude infrastructure addresses before defining the usable pool.
- The
networkstatement defines the pool subnet; it is not a routing command in DHCP pool mode. - A binding shows a lease the local server actually owns.
- Conflicts can remove addresses from normal allocation until the cause is understood.
show ip dhcp binding— leasesshow ip dhcp pool— utilisationshow ip dhcp conflict— conflictsshow ip dhcp server statistics— message counters
ReferenceWhat it is1 section · depth on demand
What the DHCP server controls
The DHCP server selects an address from a matching pool and returns options such as default gateway, DNS server and lease lifetime. On Cisco IOS/IOS XE, globally excluded addresses are kept out of the dynamic allocation range.
ReferenceHow it works1 section · depth on demand
Lease selection and state
When a request arrives, the server identifies the client subnet, selects a matching pool, checks address availability/conflicts and creates or refreshes a binding. show ip dhcp pool, show ip dhcp binding and show ip dhcp conflict expose different parts of that state.
ReferenceImportant terms & boundaries4 sections · depth on demand
In depth
DHCP server on Cisco IOS XE
A router or Layer 3 switch can serve DHCP for small sites or labs. Cisco's IOS XE DHCP server guide configures it with ip dhcp pool (network, default router, DNS servers, domain name, lease and options), excludes static addresses with ip dhcp excluded-address, and lists the defaults: the service is enabled, leases last one day unless set, and the server pings a pool address twice (2-second timeout) before assigning it.
R1(config)# ip dhcp excluded-address 10.110.0.1 10.110.0.20
R1(config)# ip dhcp pool USERS-110
R1(dhcp-config)# network 10.110.0.0 255.255.255.0
R1(dhcp-config)# default-router 10.110.0.1
R1(dhcp-config)# dns-server 10.20.0.53 10.20.0.54
R1(dhcp-config)# domain-name example.net
R1(dhcp-config)# lease 0 8
R1(dhcp-config)# option 150 ip 10.20.0.60
R1(config)# ip dhcp database flash:dhcp-bindings.db write-delay 300
R1# show ip dhcp pool USERS-110
Pool USERS-110 :
Utilization mark (high/low) : 100 / 0
Subnet size (first/next) : 0 / 0
Total addresses : 254
Leased addresses : 87
Excluded addresses : 20
R1# show ip dhcp binding | include 10.110.0.64
10.110.0.64 0150.5400.1234.56 Nov 28 2026 06:41 PM Automatic Active Vlan110
R1# show ip dhcp conflict
R1# show ip dhcp server statistics
Features (DHCP server guide)
| Feature | Command |
|---|---|
| Manual binding | host, client-identifier or hardware-address in a pool |
| Database agent | ip dhcp database <url>; strongly recommended so bindings survive reloads |
| Utilisation alerts | utilization mark high <n> low <n> log |
| Options | option <code> {ascii | hex | ip} |
| Disable | no service dhcp (also disables the relay) |
Conflict detection (guide)
The server uses ping and gratuitous ARP to detect conflicts; conflicting addresses are removed from the pool until an administrator clears them (clear ip dhcp conflict).
When to use a central server instead
For larger networks, use central DHCP servers (with failover) and relays on the gateways; device DHCP suits small branches and labs.
Documented example, not captured output.
Quick reference
A Cisco IOS DHCP server hands out addresses from configured pools along with the gateway, DNS servers, domain name and lease time. Excluded addresses keep static devices out of the pool.
ip dhcp excluded-address 10.20.0.1 10.20.0.20
ip dhcp pool USERS
network 10.20.0.0 255.255.255.0
default-router 10.20.0.1
dns-server 10.0.0.53 10.0.0.54
domain-name corp.example.com
lease 1
show ip dhcp binding
show ip dhcp conflict
Documented example, not captured output.
The router pings an address before leasing it and records conflicts if something answers.
Protocol/service mechanics and state model
A server evaluates the incoming client identity and relay context, selects an eligible pool, allocates or reuses an address, returns options such as default gateway and DNS, and records lease state. DORA is protocol sequencing, while the lease database is durable server-side state that explains what address the server believes it owns for the client. 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
An ACK shows that DHCP completed a lease transaction, but it does not show ARP/ND, default-gateway reachability, DNS resolution or application connectivity. 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
Minimal Cisco server workflow
1. Exclude infrastructure/static addresses with ip dhcp excluded-address.
2. Create the pool with ip dhcp pool <name>.
3. Define the served subnet with network <network> <mask>.
4. Add default-router, dns-server, optional domain/lease settings.
5. Verify pool, binding and conflict state before packet-level troubleshooting.
Design and configuration intent
Keep scopes/pools aligned with routed subnets, exclude infrastructure addresses, make lease duration intentional, and ensure option values represent the gateway/DNS services actually reachable from that client segment. 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 Server. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc2131.html · confidence 94%Quick lookup tables
DHCP server command map
Which Cisco command answers which server-side question.
| Question | Command |
|---|---|
| Is the address scope configured and available? | show ip dhcp pool |
| Did this local server grant a client lease? | show ip dhcp binding |
| Has this server quarantined an address as conflicting? | show ip dhcp conflict |
| Which addresses must never be dynamically allocated? | ip dhcp excluded-address <start> <end> |
| Where are subnet/options configured? | ip dhcp pool <name> |
DHCP Server · operational reference
Compact protocol/state/evidence reference for fast lookup.
| State | Meaning |
|---|---|
| Pool eligible | Request maps to scope |
| Binding present | Lease state exists |
| Options delivered | Client parameters supplied |
| Client traffic | Separate forwarding proof |
Deep reference
Healthy vs suspicious evidence
Healthy vs suspicious server evidence
Healthy: matching pool exists, capacity remains, intended client binding appears after DORA, and conflict state is understood/empty.
Suspicious: wrong pool/mask, exhausted addresses, no binding despite received requests, or conflict entries consuming expected client addresses.