ProtoStackv0.1

Interactive Protocol Visualizer

Back to all protocols
ICMPDHCP
Network & CoreCore trackBeginnerOSI: Data Link LayerDefault Port: N/A (Layer 2)Standard: RFC 826

ARP

— Address Resolution Protocol

When 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".

Read first: Ethernet (802.3), IPv4Content reviewed 2026-11-18

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

Simulated

Defensive education. Every step runs in this page; no traffic is generated or sent.

Attack library

ARP cache poisoning

Interception

Gratuitous ARP replies bind the gateway IP to the attacker MAC, placing the attacker on-path.

Attackersimulated
ARPtarget
Attack step 1 of 3
Send gratuitous replies

The attacker claims that the gateway address belongs to its own MAC.

What a defender can see

Repeated ARP replies without matching requests.

Impact if unmitigated

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)