Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

DHCP Spoofing

Direct answer

DHCP spoofing runs a rogue DHCP server that hands out a malicious gateway or DNS server. DHCP snooping on switches allows DHCP offers only from trusted ports.

When to use this

Use this when a rogue DHCP server hands out malicious settings.

First 30 seconds

1. DHCP spoofing: rogue server hands out attacker gateway/DNS.

2. DHCP snooping with trusted ports only.

3. Detect rogue servers.

4. Port security.

5. Feeds DAI and IP Source Guard.

Operational verification

rogue DHCP offer → dropped on untrusted port

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Incident response and forensics
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformIncident response and forensics
Key commandshow ip dhcp snooping
Scope / prerequisiteUse this when a rogue DHCP server hands out malicious settings.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Checks Verify boundary
show ip dhcp snooping
show ip dhcp snooping statistics
show ip dhcp snooping binding

Ports toward real DHCP servers must be ip dhcp snooping trust; all access ports untrusted. A rising Packets dropped from untrusted ports counter shows rogue DHCP offers being blocked.

Step 2 Common mistakes Narrow the fault
  • DHCP snooping without trusted uplinks configured.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Rogue DHCP can set a malicious gateway or DNS.
  • DHCP snooping allows offers only from trusted ports.
  • It also builds bindings for DAI.
Key checks
  • show ip dhcp snooping binding — bindings
  • show ip dhcp snooping statistics — drops
  • Rogue DHCP detection (dhcp_probe/nmap broadcast-dhcp-discover) — unknown servers
ReferenceHow it works1 section · depth on demand

How it works

A rogue DHCP server (or a misconfigured home router plugged in) answers DHCPDISCOVER faster than the real server and hands out its own gateway and DNS, giving the attacker a MitM position. DHCP starvation (exhausting the real server's pool with fake MACs) is often used first. Port security and DHCP snooping rate limits stop both.

ReferenceConfiguration & state1 section · depth on demand

Configuration

ip dhcp snooping
ip dhcp snooping vlan 10,20
no ip dhcp snooping information option   ! if the DHCP server rejects option 82
interface GigabitEthernet1/0/48
 description Uplink to DHCP server side
 ip dhcp snooping trust

Documented example, not captured output. All other ports are untrusted and drop DHCP offers. show ip dhcp snooping binding shows learned leases.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docIncident response and forensics current

Authoritative/upstream documentation reviewed for bounded claims in Common Attacks → DHCP Spoofing. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://attack.mitre.org/techniques/enterprise/ · confidence 94%
Confirmation

Confirm action

Continue?