Course overviewTopic 6 / 31
Computer Networks • Deep Lesson 14 min Physical & Data Link Layers

Ethernet Frames, MAC Addresses & ARP

Ethernet provides local-link delivery. Hosts and switches use MAC addresses so frames can reach the correct interface on the current LAN segment. ARP bridges a semantic gap: an application or IP layer may know an IPv4 destination, while the local link still needs a destination MAC address.

LEARNING LOOPWatch→Read→Inspect→Retrieve→Teach back
Ethernet Frames, MAC Addresses & ARP
Week 1–2 · Topic 6 / 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

Ethernet provides local-link delivery. Hosts and switches use MAC addresses so frames can reach the correct interface on the current LAN segment. ARP bridges a semantic gap: an application or IP layer may know an IPv4 destination, while the local link still needs a destination MAC address.

01

Ethernet framing

A frame includes source and destination MAC addresses plus an EtherType/length field and an FCS for integrity checking. The precise wire representation includes additional fields such as preamble and inter-frame gap.

02

ARP is local

ARP broadcasts a request on the local broadcast domain, but the reply is normally unicast. Routers terminate the local ARP process; a router does not forward an Ethernet broadcast into the next LAN as if the two LANs were one.

03

MAC addresses are local identifiers

A MAC address identifies an interface at the link layer. When a packet crosses routers, the Ethernet frame is replaced for the next link, so the source/destination MAC pair normally changes hop by hop.

DUAL CODING

See the mechanism before you memorize it

One diagram, one causal story, one reconstruction task.

VISUAL RECONSTRUCTION

Ethernet frames, MAC addresses, ARP in action — causal map

4 stages
01

1

Host determines the destination IP is local or needs the default gateway.

02

2

If local IPv4 delivery is needed and the MAC is unknown, ARP requests the mapping.

03

3

The owner replies with its MAC address.

04

4

The sender caches the result and builds an Ethernet frame.

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

Ethernet frames, MAC addresses, ARP in action — practice canvas

Sketch the Ethernet frames, MAC addresses, ARP in action 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

1

Host determines the destination IP is local or needs the default gateway.

02

2

If local IPv4 delivery is needed and the MAC is unknown, ARP requests the mapping.

03

3

The owner replies with its MAC address.

04

4

The sender caches the result and builds an Ethernet frame.

05

5

The switch forwards the frame based on its learned MAC table.

CONCRETE ARTIFACT

Observe ARP

The neighbor table is the artifact to inspect when a host can reach the IP network conceptually but cannot form local link-layer delivery.

bashcopy → rebuild → modify
ip neigh
arp -a
# Linux packet capture hint
tcpdump -ni any arp
MISCONCEPTIONS

What usually goes wrong

Say ARP resolves a domain name; DNS does that job.

Assume ARP works across routers.

Think a switch needs an ARP entry to forward a frame; switches learn MAC addresses directly from observed source addresses.

RETRIEVAL PRACTICE

Close the tab. Rebuild it from memory.

Read the question, answer aloud, then reveal.

What question does an ARP request answer?Reveal answer

Which interface owns this IPv4 address on the local broadcast domain, and therefore which MAC should receive the frame?

Why does the default gateway have a MAC address?Reveal answer

Because the host's next-hop frame still needs a local Layer 2 destination, even when the final IP destination is on another network.

Who learns MAC-to-port mappings?Reveal answer

A switch learns from the source MAC address of incoming Ethernet frames and associates that MAC with the ingress port.

FEYNMAN

Teach it back in plain English

Draw a laptop, gateway and server. For one packet to a remote server, explicitly label the destination IP and the destination MAC on the first hop.

EXAM / INTERVIEW

What a strong answer sounds like

Common questions: ARP request/reply, broadcast vs unicast, ARP cache, default gateway MAC, and how MAC and IP addressing interact.

NEXT CONNECTION

Make this idea travel.

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

COURSE CONTENTS

Ethernet frames, MAC addresses, ARP in action

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