StudyToCert

All certifications / CCNA / Lessons

Cisco CCNA 200-301 v2.0 · Domain 1: Network infrastructure & connectivity

DHCPv4 on IOS: server pools, excluded addresses, relay with ip helper-address, troubleshooting leases

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

DHCP is the service that hands out addresses automatically, so nobody has to type settings into every computer. When a computer joins the network, it shouts 'Is there a DHCP server out there?' The server offers an address, the computer says 'I will take it,' and the server confirms. A Cisco router can be that server for a small office. But shouts do not travel past a router, so if the server lives on a different network, the router must pass the request along. That is what the ip helper-address command does. You also tell the server which addresses never to hand out, such as the router's own address, so two devices do not end up with the same one.

The new VLAN 30 at Meadowbrook Library went live at 7 a.m. for the public computer lab. By 7:15 the branch manager, Ines, is on the phone: every PC in the lab shows an address starting with 169.254, and patrons are lining up. The central DHCP server is two subnets away and has handed out addresses for years. The switch is up, the SVI is up, and the router can ping the server. So why are the lab computers asking for addresses and hearing nothing back? Somewhere between a broadcast that cannot cross a router and a server that needs to know which subnet is asking, one or two lines of configuration are missing.

DHCP (Dynamic Host Configuration Protocol) hands out IP addresses and settings automatically so you do not configure every host by hand. A Cisco router or multilayer switch running IOS can act as a DHCP server for small sites, and more commonly as a relay agent that forwards requests to a central server. It can also be a DHCP client itself. The CCNA expects you to configure and verify all three roles and to troubleshoot why a client did not get a lease.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 7 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study CCNA for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the CCNA study plan