Protocols
Saved & recent

ARP

Also called: Address Resolution Protocol, ARP cache

Address Resolution Protocol lets an IPv4 host discover the link-layer address needed to reach a next hop on a local network. On Ethernet, a host can broadcast a request naming the IPv4 address it needs; the matching host replies with its MAC address. The learned mapping is normally kept in a cache.

For example, a laptop sending to a distant website resolves its local router’s IPv4 address, then addresses the Ethernet frame to that router. It does not ask for the remote website’s MAC address. ARP exchanges stay on the local link and do not provide authentication by themselves. IPv6 uses Neighbor Discovery for this role.

Read first
IPv4, MAC address
Related
IPv6 Neighbor Discovery, Routing, Ethernet
Further reading
IETF RFC 826 — An Ethernet Address Resolution Protocol
laptop next-hop router broadcast · who has 192.0.2.1? reply · router MAC local Ethernet router MAC IP packet · remote website subsequent Ethernet frame next-hop link address remote destination IP
Illustrative IPv4 exchange: ARP discovers the router’s local MAC address before the laptop sends a packet toward a remote destination.

View in the full Protocols collection