ARP
— Address Resolution ProtocolWhen device A wants to talk to device B on the same local network, it knows B's IP address, but network switches and Ethernet cards only deliver frames using physical MAC addresses. ARP bridges this gap by broadcasting a query: "Who has IP X? Tell IP Y".
Interactive Session: How ARP Works
Step through the packet exchange sequence between nodes.
Interactive Execution Sandbox
Interact with a live or clearly-labelled simulated instance of ARP.
Threat Model & Attack Simulation
How this protocol is attacked in practice, what defenders can see, and which control stops it.
Threat model & attack simulation
SimulatedDefensive education. Every step runs in this page; no traffic is generated or sent.
ARP cache poisoning
InterceptionGratuitous ARP replies bind the gateway IP to the attacker MAC, placing the attacker on-path.
Send gratuitous replies
The attacker claims that the gateway address belongs to its own MAC.
Repeated ARP replies without matching requests.
Man-in-the-middle access to local traffic, including credentials.
Defences that matter
- Dynamic ARP Inspection
- DHCP snooping bindings
- Static ARP for critical gateways and segmentation
This is a conceptual model for defenders, not an exploit toolkit. It contains no payloads, tooling or instructions for attacking systems you do not own.
Protocol Specification & Architecture
Key characteristics, real-world deployment patterns, and trade-offs.
Core Technical Features
- Layer 2 broadcast request (FF:FF:FF:FF:FF:FF) and unicast reply
- Local ARP cache table with timeout entries
- Gratuitous ARP for IP conflict detection
- Hardware and protocol address length mapping
Real-World Use Cases
- LAN frame delivery
- Default gateway MAC resolution
- Virtual IP failover
Advantages & Strengths
- Completely automatic and transparent to operating systems
Limitations & Vulnerabilities
- Vulnerable to ARP spoofing/poisoning without dynamic ARP inspection (DAI)