Menu
Coddy logo textTech

What ARP Learned

Lesson 7 of 35 in Coddy's LAN Labs course.

Hosts are configured with IP addresses, but on a LAN, frames are delivered to MAC addresses: the hardware address burned into each network card. ARP is how a host discovers the MAC behind an IP: it asks the whole segment "who has 192.168.1.20?" and the owner answers.

The answers are cached in the host's ARP table. Before any traffic the table is empty; after one ping it holds the neighbor's MAC. netlab show arp HOST displays it. The lab's MACs start with 02:c0:dd, netlab's own vendor prefix.

challenge icon

Challenge

Beginner

Show pc1's ARP table, ping pc2 from pc1, then show the ARP table again.

Expected output:

pc1: ARP table is empty (no traffic yet)
pc1 -> pc2: reply from 192.168.1.20 (ttl=64)
ADDRESS       MAC
192.168.1.20  02:c0:dd:a0:9f:64

Try it yourself

Terminal

All lessons in LAN Labs

Practice on your own: Terminal playground