liveBook · Manning

DHCP pool

As explained in Acing the CCNA Exam: Volume 2 Advanced Networking and Security

A DHCP pool is a configured set of IP addresses and options that a DHCP server can lease to clients.

A DHCP pool is a configured set of IP addresses and client parameters that a Cisco IOS DHCP server leases to hosts. The pool defines an address range and can provide the default gateway, DNS servers, domain name, and lease duration. section 4.1.2 section 4.4

Address exclusions reserve selected addresses outside the leasable set, commonly for statically configured servers. Excluding the network address, broadcast address, or router address is unnecessary because the router does not lease them. section 4.1.2

Configure the pool and its client settings with these Cisco IOS commands:

  • Use ip dhcp pool name to enter DHCP pool configuration mode. section 4.4
  • Use network network-address {netmask | /prefix-length} to define the addresses available for leasing. section 4.1.2 section 4.4
  • Use default-router, dns-server, and domain-name to supply clients with gateway, DNS, and domain parameters. section 4.1.2 section 4.4
  • Use lease days hours minutes or lease infinite to set duration; the default lease period is 24 hours. section 4.4

A basic address pool

R1(config)# ip dhcp excluded-address 10.0.0.2 10.0.0.5 R1(config)# ip dhcp pool POOL1 R1(dhcp-config)# network 10.0.0.0 /24 R1(dhcp-config)# default-router 10.0.0.1 R1(dhcp-config)# dns-server 10.0.0.1 8.8.8.8 R1(dhcp-config)# domain-name jeremysitlab.com R1(dhcp-config)# lease 0 5 30 This reserves four addresses, then leases addresses from the 10.0.0.0/24 network with gateway, DNS, domain, and a five-hour-thirty-minute lease.

Verify active leases with show ip dhcp binding. Cisco IOS pings a selected address before offering it; a responding address is marked conflicted and removed from assignment until the conflict is resolved and cleared. section 4.4

Use show ip dhcp conflict to inspect conflicts, clear ip dhcp conflict {* | ip-address} to remove conflict records, and clear ip dhcp binding {* | ip-address} to remove active bindings. section 4.4

A multilayer switch can provide separate pools for management, internal, and guest VLANs. Each pool maps its subnet to a default gateway and can carry DHCP options such as option 42 for NTP and option 43 for a WLC address. section 21.1.1

How Acing the CCNA Exam: Volume 2 Advanced Networking and Security covers it

How deep it goes
Explains configuration, defaults, verification, and conflict handling, but does not descend into DHCP packet processing internals.
Examples
Uses a 10.0.0.0/24 router pool, active lease bindings, conflict detection, and separate management, internal, and guest pools.
What it assumes
Assumes subnet and IP-addressing familiarity while defining pool parameters and exclusions explicitly.
What you can do after
Operate/configure Cisco IOS DHCP pools, verify leases, and diagnose address conflicts with show and clear commands.
How it connects
Connects DHCP pools with IP addressing, default gateways, DNS, VLANs, wireless LANs, NTP, and DHCP options.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 2 Advanced Networking and Security. The section links point to the parts of the book it draws on.