DHCP Snooping and DAI for CCNA: Trusted Ports and ARP Inspection
DHCP snooping blocks DHCP offers from unauthorized servers and builds an IP–MAC–port binding table. Dynamic ARP Inspection uses that table to drop forged ARP replies. Together they stop DHCP spoofing and ARP poisoning attacks.

Edit this template Download .json
Learning objectives
- Enable DHCP snooping per VLAN and mark trusted ports.
- Enable DAI and validate ARP against the binding table.
- Rate-limit DHCP/ARP messages on access ports.
Devices and addressing
| Device | Type | Details |
|---|---|---|
| Legitimate DHCP | DHCP | 192.168.10.2 Trusted port |
| Rogue DHCP | ROGUE | 192.168.10.99 Blocked |
| SW1 | Switch | Snooping + DAI VLAN 10 |
| PC1 | PC / user | DHCP Untrusted |
| PC2 | PC / user | DHCP Untrusted |
Reference configuration (Cisco IOS)
SW1
ip dhcp snooping
ip dhcp snooping vlan 10
ip arp inspection vlan 10
interface g0/1
description HACIA-SERVIDOR-DHCP
ip dhcp snooping trust
ip arp inspection trust
interface range f0/1 - 24
ip dhcp snooping limit rate 15
ip arp inspection limit rate 100
Verification commands
show ip dhcp snoopingshow ip dhcp snooping bindingshow ip arp inspectionshow ip arp inspection statistics vlan 10
CCNA exam tips
Ports toward the legitimate DHCP server and other switches must be trusted; user ports untrusted.
DAI depends on the DHCP snooping table to validate.
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
Which attack does DHCP snooping prevent?
DHCP spoofing, where a rogue server hands out malicious gateway or DNS.
What does DAI do?
It validates every ARP packet against the binding table and drops mismatches.