Communication Networks · Visualized
Address Resolution Protocol (ARP)
Addressing & Names
How devices get numbers, find each other on the LAN, and turn human-readable names into addresses.
7 interactive subtopics — each one animated, step-through and explained.
Address Resolution Protocol (ARP)
Addressing & NamesIP addresses route packets between networks, but the final delivery on a local network uses MAC addresses. ARP answers "who has this IP?" by shouting an Ethernet broadcast to everyone on the LAN; the owner of the IP replies unicast with its MAC, and both sides cache the pair so ordinary traffic never needs to ask again.
How Address Resolution Protocol (ARP) Works
- A host wants to send to an IP on the same subnet and checks its ARP cache first.
- Cache miss → it broadcasts an ARP request to ff:ff:ff:ff:ff:ff: "Who has 192.168.1.7?"
- Every LAN host receives it; only the owner of that IP replies unicast with its MAC address.
- The requester caches the IP→MAC pair (typically for a few minutes); the responder caches the requester too.
- Frames can now be addressed directly; routers act as the gateway for destinations off-subnet.
Address Resolution Protocol (ARP) Worked Example
Try it: Host 192.168.1.5 sends its first packet to 192.168.1.7.
Cache miss → broadcast request floods the switch to all ports. 192.168.1.7 answers "192.168.1.7 is at aa:bb:cc:dd:ee:07" directly to the requester. Both cache the mapping — the next thousand packets flow with zero extra overhead.
Address Resolution Protocol (ARP): Key Facts to Remember
Recommended resourcesAffiliate links · may earn us a commission
Recommended for learners
See how packets really travel
Networks are built on the structures and algorithms you can watch step by step — queues, trees, and routing algorithms.