Services

ip dhcp pool <name>

Create a DHCP pool. Inside the pool define network, default-router, dns-server, etc.

Works on: RouterMode: config

Example

R1(config)# ip dhcp pool LAN
R1(dhcp-config)# network 10.0.0.0 /24
R1(dhcp-config)# default-router 10.0.0.1
Run this command live

Don't just read it — type ip dhcp pool <name> in a real network simulator in your browser and watch it take effect. No install, no account needed to start.

Open the lab

Frequently asked

What does the "ip dhcp pool <name>" command do?

Create a DHCP pool. Inside the pool define network, default-router, dns-server, etc.

Example of "ip dhcp pool <name>"

R1(config)# ip dhcp pool LAN R1(dhcp-config)# network 10.0.0.0 /24 R1(dhcp-config)# default-router 10.0.0.1

More Services commands

← Back to the full command reference

ip dhcp pool <name> — network CLI command reference · NetForge-AI