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
BeginnerShow 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:64Try it yourself
All lessons in LAN Labs
2Addresses on the LAN
Giving a Host an AddressThe First PingWhat ARP LearnedThe Switch Learns TooRecap - First Conversation8Capstone - Fix the Branch
Survey the DamageFix the Address ClashMasks and GatewaysRecap - Prove It WorksPractice on your own: Terminal playground