Protocol flows

ARP request, reply and the gateway frame

A host broadcasts an ARP request on its subnet, receives a unicast reply, then addresses its frame to the default gateway for an off-subnet destination.

Local subnet 192.0.2.0/24Access portAccess portAccess portAccess portUplinkUplinkRouted pathRouted pathARP requestARPARP requestARPARP requestARPHost A192.0.2.10Host A — 192.0.2.10Host B192.0.2.11Host B — 192.0.2.11Access switch192.0.2.2Access switch — 192.0.2.2Default gateway192.0.2.1Default gateway — 192.0.2.1Remote networkRemote network
Legend

Current step

ARP request is broadcast

Host A asks the whole subnet who owns the target address. Every device receives it; only the owner answers.

Question
Who owns 192.0.2.11?
Destination MAC
FF:FF:FF:FF:FF:FF
Scope
One broadcast domain only
ARP maps a known IP address to the MAC address of the next hop on the same link. For a local destination that is the host itself; for anything else it is the default gateway, and the frame keeps the gateway MAC while the packet keeps the final destination address.

Documentation example: addresses use the RFC 5737 ranges and ASNs use the reserved private range. Nothing here connects to a real network.

Tags

  • protocols
  • arp
  • ethernet
  • broadcast

Lessons using this diagram