Layer 2 Security Threats and Mitigation in CCNA
Layer 2 threats exploit vulnerabilities in switches, and are mitigated using features like Port Security, Dynamic ARP Inspection (DAI), and DHCP Snooping.
MAC Address Spoofing and Flooding
Attackers spoof MAC addresses or flood the CAM table to intercept traffic. Port Security limits the number of valid MAC addresses allowed on a port.
DHCP Spoofing and Starvation
Rogue DHCP servers can distribute malicious IP settings. DHCP Snooping validates DHCP messages and blocks traffic from untrusted sources.
ARP Spoofing
ARP spoofing associates an attacker's MAC address with the IP address of the default gateway. Dynamic ARP Inspection (DAI) prevents this by validating ARP packets.
❓ Frequently Asked Questions
What is Port Security used for?
It restricts input to an interface by limiting and identifying MAC addresses of the stations allowed to access the port.
How does DHCP Snooping protect the network?
It filters untrusted DHCP messages and builds a binding table used by other security features.
What does DAI do?
Dynamic ARP Inspection validates ARP packets in a network to prevent ARP spoofing attacks.