DHCP Relay (ip helper-address) for CCNA: DHCP Server on Another Network
DHCP Discover messages are broadcasts and do not cross routers. With DHCP relay (ip helper-address) the router turns the broadcast into unicast toward a central DHCP server, allowing one server for many VLANs and sites.

Edit this template Download .json
Learning objectives
- Understand why DHCP needs a relay agent between networks.
- Configure ip helper-address on the clients' interface.
- Verify that each VLAN gets an IP from its pool.
Devices and addressing
| Device | Type | Details |
|---|---|---|
| PC1 | PC / user | DHCP VLAN 10 |
| PC2 | PC / user | DHCP VLAN 20 |
| SW1 | Switch | Switch Trunk |
| R1 · Relay | Router | G0/0.10 192.168.10.1; G0/0.20 192.168.20.1 G0/1 10.0.0.1/24 |
| DHCP-SRV | Server | 10.0.0.10/24 Pools 10 and 20 |
Reference configuration (Cisco IOS)
R1
interface g0/0.10
encapsulation dot1q 10
ip address 192.168.10.1 255.255.255.0
ip helper-address 10.0.0.10
interface g0/0.20
encapsulation dot1q 20
ip address 192.168.20.1 255.255.255.0
ip helper-address 10.0.0.10
interface g0/1
ip address 10.0.0.1 255.255.255.0
Verification commands
show ip interface g0/0.10 | include Helpershow ip dhcp relay information trusted-sourcesdebug ip dhcp server packetipconfig /all (en el PC)
CCNA exam tips
The command goes on the interface that receives the clients' broadcast, not on the server's one.
ip helper-address also forwards other UDP services such as TFTP, DNS and NetBIOS.
How to use this template
Press “Edit this template”: the editor opens with the topology loaded and ready to change (undo with Ctrl+Z). You can also copy the JSON and paste it into the editor with File ▸ Import JSON…. Then add devices, change IPs and export to PDF, PNG or SVG.
To practice, rebuild the topology in Cisco Packet Tracer, GNS3 or Cisco Modeling Labs and paste the reference configuration on each device. Addresses and names are examples: change them to create your own variants.
JSON template for the editor
This is the full diagram in JSON format. Paste it into the editor (File ▸ Import JSON…) or press the edit button to load it automatically.
Frequently asked questions
What does ip helper-address do?
It forwards UDP service broadcasts such as DHCP as unicast to the given IP.
Where is it configured?
On the router interface or SVI that is the clients' gateway.