Master the fundamental protocol that bridges Layer 3 (Network) and Layer 2 (Data Link) in TCP/IP networks. Learn how IP addresses are mapped to MAC addresses for local network communication.
Address Resolution Protocol (ARP) is a communication protocol used for discovering the link layer address (MAC address) associated with a given internet layer address (IP address). It is a critical component of the TCP/IP protocol suite.
ARP operates at the boundary between Layer 2 (Data Link Layer) and Layer 3 (Network Layer) of the OSI model, often referred to as Layer 2.5.
| IP Address | MAC Address | Type | TTL |
|---|---|---|---|
| 192.168.1.1 | 00:1A:2B:3C:4D:5E | Dynamic | 120s |
| 192.168.1.105 | 00:5E:4D:3C:2B:1A | Static | Permanent |
| 192.168.1.254 | 00:AA:BB:CC:DD:EE | Dynamic | 45s |
ARP tables cache mappings to reduce network traffic. Dynamic entries expire (typically 2-20 minutes).
Click "Send ARP Request" to begin the address resolution process
FF:FF:FF:FF:FF:FF
00:00:00:00:00:00
Click on a field in the packet diagram to see detailed information.
Router responds to ARP requests on behalf of hosts on other networks.
Host broadcasts ARP request for its own IP address.
Obsolete protocol for diskless workstations to discover IP address.
Used in Frame Relay and ATM networks to map DLCI to IP.
Attackers send forged ARP messages to associate their MAC address with the IP address of another host (default gateway), enabling Man-in-the-Middle attacks.
| Security Feature | Mechanism | Effectiveness | Impact |
|---|---|---|---|
| Static ARP | Manual binding | High | High admin overhead |
| DAI | Switch intercept/validate | Very High | Requires DHCP snooping |
| Private VLANs | Isolate layer 2 | Medium | Limits communication |
| S-ARP / Cryptography | Signed ARP replies | Very High | Not widely deployed |
Determine if ARP is needed or if destination is local
Convert MAC address formats and identify OUI