ExerciseDifficulty: Intermediate1 min

Practice: The Addresses on a Frame at Each Hop

A packet crosses two routers to reach a server; fill in all four addresses on each of three links.

Filling in every address on a frame at every hop is the quickest check that the split between MAC and IP addresses is clear. A laptop sends one packet to a server, through two routers, inside a company network with no NAT. Fill in the source MAC, destination MAC, source IP and destination IP of the frame on each of the three links.

The devices on the path and their addresses; each router has one card on each side
DeviceCardMAC addressIP address
LaptopIts only card02:00:00:00:00:0110.0.1.20
Router 1Laptop side02:00:00:00:00:1110.0.1.1
Router 1Router 2 side02:00:00:00:00:1210.0.2.1
Router 2Router 1 side02:00:00:00:00:2110.0.2.2
Router 2Server side02:00:00:00:00:2210.0.3.1
ServerIts only card02:00:00:00:00:3110.0.3.30

Before you check, say which ARP request each sender had to make on its link.

Show the addresses on each link
The frame's four addresses on each link of the path
LinkSource MACDestination MACSource IPDestination IP
Laptop to router 102:00:00:00:00:0102:00:00:00:00:1110.0.1.2010.0.3.30
Router 1 to router 202:00:00:00:00:1202:00:00:00:00:2110.0.1.2010.0.3.30
Router 2 to server02:00:00:00:00:2202:00:00:00:00:3110.0.1.2010.0.3.30

The IP columns never change: they name the two ends. The MAC columns name the two cards on each link, so they change completely at every hop.

The ARP requests: the laptop asked for 10.0.1.1, its gateway, not for the server; router 1 asked for 10.0.2.2, its next hop; router 2 asked for 10.0.3.30, the server, because only router 2 shares a link with it. None of the router IP addresses appears in the packet itself.