BuildTheNet

Opening your workspace

Your learning content and tools are loading.

DHCP lab practice

Run a DHCP server on a router, relay requests across subnets with ip helper-address, and protect the LAN with DHCP snooping.

7 labs · 6 lessons · 5 commands · 4 projects

DHCP hands hosts their address, mask, default gateway and DNS servers through a four-message exchange (Discover, Offer, Request, Acknowledge). A Cisco router can be the server, and can relay requests to a server on another subnet with ip helper-address.

Because any host can answer a Discover, switches add DHCP snooping: only trusted ports may send server replies, and the leases snooping records feed Dynamic ARP Inspection.

Hands-on labs

To practise for free, build the topology in the free Sandbox.

Lessons, in order

  1. DHCP Fundamentals & DORA (4. IP Services, 11 min)
  2. DHCP Server & Relay Agent (ip helper) (4. IP Services, 11 min)
  3. DHCP Snooping Security (5. Security Fundamentals, 10 min)
  4. Enable DHCP snooping and place trust correctly (5. Security Fundamentals, 14 min)
  5. Serve or relay DHCP from the switch (Prerequisite review: CCNA topics from the CCNP courses, 9 min)
  6. A client has an address: trace the services it still needs (4. IP Services, 18 min)

Commands

Related projects

Related topics

Start the CCNA path · Free Sandbox