liveBook · Manning

Arp

As explained in Acing the CCNA Exam: Volume 1 Fundamentals and Protocols

ARP is a protocol that resolves an IPv4 address to the MAC address of a host on the local network.

Address Resolution Protocol (ARP) resolves an IPv4 address to a MAC address so a host can place an IP packet inside an Ethernet frame. It uses an ARP request, broadcast to ffff.ffff.ffff, followed by an ARP reply, sent as a unicast frame. section 6.4

An ARP exchange works as follows:

  • The sender broadcasts an ARP request naming the target IPv4 address. section 6.4
  • Switches flood the request throughout the broadcast domain; hosts that do not own the requested IP address ignore it. section 6.4 section 10.3
  • The host owning the IPv4 address returns an ARP reply containing its MAC address. section 6.4
  • Both devices can record IP-to-MAC mappings in their ARP tables, avoiding a new request before every packet. section 6.6 section 10.3

ARP resolves the MAC address needed on the current LAN, not necessarily the final destination. For a remote IPv4 destination, an end host resolves its default gateway’s MAC address. Each router then resolves the next hop’s MAC address; the final router resolves the destination host’s MAC address. section 10.1.1 section 10.1.2

PC1 sends to PC3

PC1 wants to reach PC3 at 192.168.3.11, which is outside PC1’s local network. PC1 uses ARP for the MAC address of its default gateway, R1 at 192.168.1.1, then sends the frame to R1. R1 routes the packet and uses ARP for R2’s MAC address; the final router uses ARP for PC3’s MAC address. section 10.1.1 section 10.1.2 section 10.1.4

Figure 6.6 An ARP request and reply exchange between PC1 and PC3. PC1 wants to send a message to PC3 but does not know PC3’s MAC address, so PC1 uses ARP to learn PC3’s MAC address.

Trace the broadcast ARP request from PC1 through the switches and the unicast reply from PC3 back to PC1. section 6.4

How Acing the CCNA Exam: Volume 1 Fundamentals and Protocols covers it

How deep it goes
Explains request and reply behavior, broadcast flooding, ARP tables, gateways, and per-hop resolution without detailing ARP packet fields.
Examples
Uses PC1-to-PC3 LAN resolution, PC1-to-R1 gateway resolution, router next-hop resolution, and R3-to-PC3 delivery.
What it assumes
Assumes Ethernet frames and MAC addresses, while deferring detailed IPv4-address structure until later.
What you can do after
Diagnose frame-delivery behavior by distinguishing ARP-table mappings from switch MAC-table entries and identifying the resolved hop.
How it connects
Connects ARP with Ethernet frames, MAC address tables, broadcast domains, default gateways, routing, switching, and ICMP.

Also explained in

Compare how 2 books explain arp →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 1 Fundamentals and Protocols. The section links point to the parts of the book it draws on.