ARP maps known IPv4 addresses to unknown MAC addresses on a local network segment. It is the essential bridge between the Network Layer (Layer 3) and the Data Link Layer (Layer 2), operating only within a single broadcast domain and never crossing IP routers.
| IP Address | MAC Address | Type | TTL | Interface |
|---|
| Feature | 🔍 ARP | ↩️ RARP | 📣 Gratuitous ARP |
|---|---|---|---|
| Direction | IP → MAC | MAC → IP | Self-announcement |
| Operation Code | 1 (Request) / 2 (Reply) | 3 (Request) / 4 (Reply) | 2 (Reply, unsolicited) |
| Who Sends | Any host needing MAC | Diskless workstation | Host announcing itself |
| Broadcast? | Request = broadcast | Request = broadcast | Reply = broadcast |
| SPA Value | Sender's known IP | 0.0.0.0 (unknown) | Sender's IP (self) |
| THA Value | 00:00:00:00:00:00 | Same as SHA | FF:FF:FF:FF:FF:FF |
| TPA Value | IP being resolved | 0.0.0.0 in req / filled in reply | Sender's own IP |
| ARP Cache Update | Yes — fills cache | No cache involvement | Forces cache update |
| Security Risk | Can be poisoned | Obsolete — DHCP used instead | Primary poisoning vector |
| Legitimate Use | Normal Layer-2 operation | Legacy diskless boot | Failover, IP conflict detection |