Dynamic ARP Inspection (DAI) Explained
Dynamic ARP Inspection (DAI) is a security feature that validates ARP packets on a network to prevent ARP spoofing and poisoning attacks.
The ARP Spoofing Vulnerability
The Address Resolution Protocol (ARP) is inherently insecure because it is stateless; hosts will accept an ARP Reply even if they didn't send an ARP Request. Attackers exploit this via **ARP Spoofing/Poisoning**, sending forged ARP replies to associate their MAC address with the IP address of another device (like the default gateway), facilitating traffic interception.
How DAI Protects the Network
**Dynamic ARP Inspection (DAI)** prevents these attacks by intercepting, logging, and discarding ARP packets with invalid MAC-to-IP address bindings. DAI relies on the **DHCP Snooping binding database** to determine whether an ARP packet is valid. If a user sends an ARP packet claiming an IP that doesn't match the MAC recorded in the snooping database, DAI drops the packet.
DAI Trust States
Similar to DHCP Snooping, DAI uses trust states on interfaces:
* **Untrusted Interfaces:** All ARP packets received on these interfaces are inspected and validated against the DHCP Snooping database. * **Trusted Interfaces:** Connect to other switches. ARP packets bypass all DAI validation checks. You must explicitly configure uplink ports as trusted.
❓ Frequently Asked Questions
What attack does DAI prevent?
DAI prevents ARP spoofing and ARP poisoning attacks.
What does DAI rely on to validate ARP packets?
DAI primarily relies on the DHCP Snooping binding database to verify MAC-to-IP address mappings.
Should an interface connected to a PC be trusted for DAI?
No, user-facing interfaces should remain untrusted so their ARP traffic is inspected.