How does your device find another device's hardware address on a local network?
In short: Before one computer can send data to another on the same local network, it often has to ask a simple question out loud: who has this IP address? The Address Resolution Protocol, defined in 1982, does exactly that, turning a familiar network address into the hardware address that actually delivers the packet.
The Address Resolution Protocol, or ARP, solves a basic mismatch in networking. Software works with internet layer addresses, usually IPv4 addresses, but the local network delivers traffic using link layer addresses such as MAC addresses. ARP bridges the two. A host that wants to reach a neighbour on its own subnetwork broadcasts a request containing the target's IP address, and the node that owns that address replies with its MAC address. The sender can then address its data frame correctly. The protocol was defined in 1982 by RFC 826, and it is never routed beyond a single subnetwork. The exchange is simple but efficient.
Each machine typically keeps an ARP cache, a table linking IP addresses to MAC addresses, so it does not need to broadcast again for every packet. Requests go to the broadcast address, so every node on the segment sees them, but only the target responds. The same message format can also serve other purposes. A host can send an ARP probe to check whether an address is already in use before it starts using it, and a gratuitous announcement can update other hosts' caches when an address or MAC address changes, which is useful after a network card is replaced.
The protocol's place in the layered model is debated. RFC 826 treats it as part of the link layer, while later texts associate it with the network layer or describe an intermediate layer. Its design is also a known weakness. ARP replies are not authenticated, so a malicious machine can answer for another address and intercept traffic, a technique called ARP spoofing. ARP itself offers no protection against this, although separate software can detect it. IPv6 handles the same job differently. There, the Neighbor Discovery Protocol takes over ARP's functions. Older approaches such as RARP, which obtained a host's own address, have been replaced by BOOTP and then DHCP, showing how networking has steadily moved toward more capable configuration methods.
Opens the Intellect+ feed with this card first. Swipe up for the next one.
Sources
- Summary by Intellect · source: Address Resolution Protocol
To cite this card, link to https://intellectplus.co.uk/app/technology-address-resolution-protocol.
How we source, check and correct cards: Editorial standards.
General information, not professional advice. Spotted an error? Flag the card or see corrections and complaints.
Intellect Plus is a visual educational discovery platform for exploring fascinating facts and ideas. Brain Food, Not Brain Rot. What is Intellect Plus?
Related
More in Inventions · More in Technology · Latest · A–Z · All topics