Course overviewTopic 7 / 31
Computer Networks • Deep Lesson 10 min Physical & Data Link Layers

ARP Resolution: Interactive Request → Reply → Cache

ARP is a tiny protocol with a huge debugging payoff. When a host has an IPv4 destination but lacks a Layer 2 mapping for the next hop, it broadcasts a request. The target or gateway responds, the host caches the result, and the next frame can be sent without repeating the broadcast until the entry expires or changes.

LEARNING LOOPWatch→Read→Inspect→Retrieve→Teach back
ARP Resolution: Interactive Request → Reply → Cache
Week 1–2 · Topic 7 / 31
Visual model

Watch the structure first. Then read the technical details.

Host A
Who has 192.168.1.1?
8c:85:90:aa:bb:cc
Gateway
Article companion· Week 1–2

ARP is a tiny protocol with a huge debugging payoff. When a host has an IPv4 destination but lacks a Layer 2 mapping for the next hop, it broadcasts a request. The target or gateway responds, the host caches the result, and the next frame can be sent without repeating the broadcast until the entry expires or changes.

01

Broadcast scope

An ARP request is confined to the local broadcast domain. VLAN boundaries and routers define where the broadcast can travel.

02

Why cache?

Without caching, every packet could trigger a broadcast. Caching reduces chatter and speeds up subsequent local deliveries.

03

Failure patterns

A stale or incorrect ARP entry can produce black holes or misdelivery. Duplicate address detection and gratuitous ARP are used in real systems to update or announce mappings.

DUAL CODING

See the mechanism before you memorize it

One diagram, one causal story, one reconstruction task.

VISUAL RECONSTRUCTION

Interactive: ARP resolution walkthrough — causal map

4 stages
01

Request

Who has 192.168.1.1? Tell 192.168.1.20.

02

Broadcast

The Ethernet destination is ff:ff:ff:ff:ff:ff on the local LAN.

03

Reply

192.168.1.1 answers with its MAC address.

04

Cache

The sender stores the mapping temporarily.

Trace the mechanism from left to right. On smaller screens, follow the numbered sequence. Then redraw the same flow without looking.
ACTIVE RECONSTRUCTION

Draw the idea yourself

Rebuild the core flow on a real canvas before moving to the worked walkthrough.

SKETCHFLOW

Interactive: ARP resolution walkthrough — practice canvas

Sketch the Interactive: ARP resolution walkthrough mechanism from memory. Label the input, transformation, observation, and transfer.

Practice canvas ready

The canvas loads when you reach this section.

Draw first. Compare second.Touch + mouse friendly
STEP BY STEP

Walk the system

01

Request

Who has 192.168.1.1? Tell 192.168.1.20.

02

Broadcast

The Ethernet destination is ff:ff:ff:ff:ff:ff on the local LAN.

03

Reply

192.168.1.1 answers with its MAC address.

04

Cache

The sender stores the mapping temporarily.

05

Frame

Subsequent packets use the learned MAC without another ARP request.

CONCRETE ARTIFACT

ARP cache artifact

Treat the neighbor table like a cache with a lifecycle, not a permanent database.

textcopy → rebuild → modify
192.168.1.1  →  8c:85:90:aa:bb:cc
state: REACHABLE
used for: next-hop Ethernet delivery
MISCONCEPTIONS

What usually goes wrong

Assume an ARP entry lasts forever.

Use ARP to resolve public DNS names.

Forget the distinction between the final destination IP and the local next-hop MAC.

RETRIEVAL PRACTICE

Close the tab. Rebuild it from memory.

Read the question, answer aloud, then reveal.

Why is the request broadcast but the reply usually unicast?Reveal answer

The sender does not yet know the owner's MAC, so it must reach everyone on the local broadcast domain. Once the owner identifies itself, the reply can be sent directly.

What happens if the remote destination is not local?Reveal answer

The host resolves the default gateway's MAC instead of the remote host's MAC and sends the IP packet to the gateway for routing.

Why does the cache expire?Reveal answer

Topology and ownership can change. Aging limits stale state and allows the host to relearn the current mapping.

FEYNMAN

Teach it back in plain English

Predict the ARP frames for three cases: local destination, remote destination, and unknown gateway. Check yourself only after drawing the first-hop Ethernet frame.

EXAM / INTERVIEW

What a strong answer sounds like

ARP is a frequent practical-debugging and viva topic because it tests whether you understand IP vs MAC scope.

NEXT CONNECTION

Make this idea travel.

Connect it next to: switches-vlans • frame-trace • ipv4-cidr.

COURSE CONTENTS

Interactive: ARP resolution walkthrough

01How the Internet Works + OSI ModelWeek 1 · 4 topics0/4
02Physical & Data Link LayersWeek 1–2 · 5 topics0/5
03Network Layer: IP & RoutingWeek 2–3 · 6 topics0/6
04Transport Layer: TCP & UDPWeek 3–4 · 5 topics0/5
05Application Layer: HTTP, DNS & FriendsWeek 4–5 · 6 topics0/6
06Security & Troubleshooting ToolkitWeek 5 · 5 topics0/5