Switch security
DHCP snooping and ARP inspection
Switch features that learn which device holds which address, and drop answers that do not match.
DHCP snooping and dynamic ARP inspection make a switch check who holds which address. DHCP snooping allows DHCP offers only from trusted ports and records each lease in a binding table (MAC, IP, port). Dynamic ARP inspection drops ARP replies that contradict it. Ports toward the DHCP server, other switches and devices with hand-set addresses must be trusted: they have no lease to check.
Read next
- ARP How a device finds the MAC address behind an IP address on its own network.
- DHCP How a device gets its address, gateway and DNS server when it joins a network.
- Man in the middle A machine placed on the path between two parties, able to read and alter what is not protected end to end.
- Rogue DHCP server An attacker's own DHCP server answering devices on the LAN, handing out a poisoned gateway and DNS.
- DHCP starvation Claiming every address in a DHCP pool under forged MAC addresses so no real device can get one.
- Port security A limit on how many MAC addresses one switch port accepts; one more is a violation that drops the frame or shuts the port.
- ARP spoofing Forged ARP messages that tie someone else's IP address, usually the gateway's, to the attacker's MAC address.