DHCP Snooping
Also: DHCP snooping binding tableip dhcp snooping trusttrusted portuntrusted portoption 82DHCP Option 82relay agent information option
Filters DHCP messages on untrusted ports (all ports by default): server messages such as OFFER and ACK arriving on untrusted ports are dropped, which blocks rogue DHCP servers. It builds a binding table of IP, MAC, VLAN and port that DAI uses, and ports toward legitimate DHCP servers must be trusted.
NetworkChuck0
Not taught as a topic in NetworkChuck Free CCNA. Mentioned fewer than twice, if at all.
Jeremy's IT Lab6
- Day 50 DHCP Snooping
DHCP SnoopingA switch feature that filters DHCP messages on untrusted ports (all ports are untrusted by default; trust uplinks with ip dhcp snooping trust). It discards server messages on untrusted ports, checks client messages against the frame's MAC or the binding table (show ip dhcp snooping binding: MAC, IP, lease, VLAN, interface), and can rate-limit DHCP messages.
10:41It’s an important part of understanding DHCP snooping. Next, I’ll give you an outline of DHCP snooping operations. By that I mean, how it works to filter DHCP messages.
Said 75× - Day 51 Dynamic ARP Inspection
DHCP SnoopingDAI normally relies on the DHCP snooping binding table: an ARP message is forwarded only if its sender MAC and IP match a lease entry. DHCP snooping rate limiting is off by default and is set only per second.
10:01However, just like in DHCP snooping all ports are untrusted by default, so you have to manually specify which ports are trusted. So, DAI operations are usually reliant on DHCP snooping, but actually there is another opti…
Said 42× - Day 51 Lab Dynamic ARP Inspection
DHCP SnoopingFilters DHCP messages on untrusted ports and builds the binding table that DAI relies on. Enabled globally with ip dhcp snooping and per VLAN with ip dhcp snooping vlan.
6:06There’s the DAI and DHCP snooping configs, let’s look at the interfaces. Notice G0/2 is trusted for both DAI and DHCP snooping, but G0/1 is trusted only for DAI.
Said 21× - Day 50 Lab DHCP Snooping
DHCP SnoopingEnabled with ip dhcp snooping plus ip dhcp snooping vlan 1 on each switch, with the uplink toward the DHCP server trusted using ip dhcp snooping trust.
2:01But, that isn’t enough to actually enable DHCP snooping. We need to tell SW1 which VLANs to enable it for. Only VLAN 1 is being used in this network, so IP DHCP SNOOPING VLAN 1.
Said 17× - Mega Lab Complete Network Configuration
DHCP SnoopingEnabled globally with ip dhcp snooping and per VLAN, with the uplinks toward the DHCP server trusted. The lab disables option 82 insertion (a commonly forgotten step that can break DHCP) and rate-limits untrusted ports to 15 pps, or 100 pps on the WLC port.
136:09Now let’s move on to step 3, in which we’ll configure DHCP Snooping on these switches. There are a few requirements. 3a says to enable DHCP Snooping for all active VLANs in each LAN.
Said 16× - Day 49 Port SecuritySaid 2×
Related terms
Flashcards that test it
Jeremy's IT LabWhat is the default DHCP snooping trust state of switch ports, and which ports are usually made trusted?
All ports are untrusted by default. Uplink ports toward the DHCP server or relay are usually trusted; downlinks to end hosts stay untrusted.
Jeremy's IT LabWhat does DHCP snooping do with an OFFER, ACK or NAK received on an untrusted port?
It always discards it, because server messages should never arrive on untrusted ports.
Jeremy's IT LabWhat does DHCP snooping check for DISCOVER and REQUEST messages on an untrusted port?
That the frame's source MAC address matches the DHCP message's CHADDR field; if not, the message is discarded.
Jeremy's IT LabWhat does DHCP snooping check for RELEASE and DECLINE messages on an untrusted port?
That the packet's source IP and the receiving interface match the entry in the DHCP snooping binding table.
Jeremy's IT LabWhat two commands enable DHCP snooping for VLAN 1?
ip dhcp snooping (global) and ip dhcp snooping vlan 1
Jeremy's IT LabWhich interface command makes a port trusted for DHCP snooping?
ip dhcp snooping trust
Jeremy's IT LabWhich item is NOT stored in the DHCP snooping binding table: MAC, IP, lease time, VLAN, interface, default gateway?
The default gateway.
Jeremy's IT LabWhich command limits DHCP messages on an interface to 1 per second, and what happens if the limit is exceeded?
ip dhcp snooping limit rate 1. The interface is err-disabled.