← PROTOCOL LIBRARY

ARP

NETWORK ACCESS

Find the MAC address for an IPv4 neighbor

LESSON PROGRESS1/2
READ FIRST · 60-SECOND BRIEF

THE PROBLEM

An IP packet needs a local link destination before Ethernet can deliver it to the next hop.

THE NAIVE APPROACH

Sending an Ethernet frame to an IP address directly does not work: Ethernet needs a MAC destination.

THE KEY INSIGHT

A host broadcasts a request asking who owns an IPv4 address; the owner replies with its hardware address.

WHERE YOU MEET IT

  • • A laptop reaching another device on the same LAN
  • • A host finding its default gateway MAC
  • • A printer responding to a workstation

ANALOGY / HISTORY

Like asking a building receptionist which desk belongs to a person.

Context: ARP filled the IPv4-to-Ethernet address-resolution role on local networks.

3D NETWORK TOPOLOGY
SIMULATION
3D topologypacket animationlocal simulation
SELECTED NODE · CLIENT
Drag to orbit · packet movement is illustrative
CURRENT EXCHANGE
ARP request

client → server · REQUEST BROADCAST

CONTROLLED LAB SIM

ARP request

The requester broadcasts an Ethernet/IPv4 address-resolution request. The target hardware address is unknown and set to zero.

BREAK IT · LOCAL ONLY
WHY THIS MATTERS

ARP resolves only local-link neighbors. For a remote destination, a host normally resolves its default gateway instead.

BYTE INSPECTOR
0000 00 01 08 00 06 04 00 01 02 00 00 00 00 10 c0 a8 |................| 0010 01 0a 00 00 00 00 00 00 c0 a8 01 14 |............|
FIELD EXPLANATION

ARP for Ethernet/IPv4 is 28 bytes: hardware/protocol types and lengths, opcode, sender MAC/IP and target MAC/IP.

Educational simulator · Byte examples are labelled by their level of fidelity in the lesson notes.
← Back to protocol library