Bitzu

CPSA ยท Network device management and Layer 2/3 protocols

ARP and DHCP security

ARP spoofing, rogue DHCP servers, starvation and defences like DHCP snooping and dynamic ARP inspection.

Key points

  • ARP: maps IP to MAC with no authentication; forged replies make an attacker a man in the middle (ARP spoofing).
  • DHCP: unauthenticated; a rogue server hands out a malicious gateway or DNS; starvation with fake requests exhausts the pool.
  • DHCP snooping: trusted and untrusted ports, blocks server messages on untrusted ones, builds an IP-MAC-port binding table.
  • Dynamic ARP inspection: checks ARP on untrusted ports against that table.

Practice questions

Single choice

What does a DHCP starvation attack do?

  1. Redirects clients to a fake gateway
  2. Exhausts the pool of available leases
  3. Encrypts DHCP messages
  4. Poisons the switch MAC table with ARP
Show answer

Answer: B. Exhausts the pool of available leases

It requests many leases with spoofed client MACs until the pool is empty, so legitimate clients get no address. Rogue servers are a different attack.

Select all that apply

Which features help prevent ARP spoofing and rogue DHCP servers on a switch?

  1. DHCP snooping
  2. CDP
  3. Dynamic ARP inspection
  4. VTP
  5. Telnet
Show answer

Answer: A. DHCP snooping, C. Dynamic ARP inspection

DHCP snooping and dynamic ARP inspection are the two purpose-built controls. CDP and VTP are discovery and VLAN protocols, not defences here.

True or false

Dynamic ARP inspection can validate ARP packets without any binding table or ARP ACL.

Show answer

Answer: False

False. DAI compares ARP packets with trusted IP-to-MAC bindings, normally from the DHCP snooping table or from ARP ACLs for static hosts.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More CPSA topics in this module