Troubleshooting notes · IP services

Cisco DHCP server gives no addresses: the whole pool is excluded

Clients get no address from an IOS DHCP server, although the pool looks right. How show ip dhcp pool reveals an excluded-address range that covers the whole subnet. Real output from Cisco IOS XE 17.18.

The symptom

PCs on the LAN get no address from the router's DHCP server. The pool's network, default router and DNS server all look right. show ip dhcp pool shows the problem in one line:

R1# show running-config | section dhcp
ip dhcp excluded-address 10.1.10.1 10.1.10.254
ip dhcp excluded-address 10.2.20.1 10.2.20.99
ip dhcp pool HQ
 network 10.1.10.0 255.255.255.0
 default-router 10.1.10.1 
 dns-server 10.1.10.53 
ip dhcp pool BRANCH
 network 10.2.2.0 255.255.255.0
 default-router 10.2.20.1 
 dns-server 10.1.10.53
R1# show ip dhcp pool HQ
Pool HQ :
 Utilization mark (high/low)    : 100 / 0
 Subnet size (first/next)       : 0 / 0 
 Total addresses                : 254
 Leased addresses               : 0
 Excluded addresses             : 254
 Pending event                  : none
 1 subnet is currently in the pool :
 Current index        IP address range                    Leased/Excluded/Total
 10.1.10.1            10.1.10.1        - 10.1.10.254       0     / 254   / 254

Why it happens

ip dhcp excluded-address keeps addresses out of the pools, usually for routers, printers and servers with fixed addresses. Here the excluded range is 10.1.10.1 to 10.1.10.254: every address in the subnet. The design only meant to reserve .1 to .99. The server receives the clients' Discovers, but it has nothing left to offer, so it stays silent. Watch the Excluded addresses and Leased/Excluded/Total numbers: if excluded equals total, the pool is empty.

The fix

Replace the range with the one the design reserves:

R1(config)# no ip dhcp excluded-address 10.1.10.1 10.1.10.254
R1(config)# ip dhcp excluded-address 10.1.10.1 10.1.10.99

Check it

Renew the address on a client (on a VPCS PC, ip dhcp), then run show ip dhcp binding on the router: the client should have an address above .99. If clients on another subnet still get nothing, check the relay next: ip helper-address belongs on the interface facing the clients.

Practise this fault

This fault is in CCNA Lab 05, one of the free labs: a ready-made GNS3 project where you find and fix it yourself, with the tested solution. Get it with 14 more free labs, by email:

We’ll email you the download links and occasional lab tips. Unsubscribe with one click, any time. Your address is never shared.

See CCNA Troubleshooting Labs · What's in the free labs