Lesson 02Layer 2 · Data Link
ARP: Finding the Physical Address
Within a single local network, an IP address alone isn't enough. The network card needs a MAC address. ARP is the little bridge that answers the question: "Which device's MAC owns this IP?"
- Layer
- Layer 2 · Data Link (over IPv4)
- Reference
- RFC 826
- Steps
- 5
NETLEARN · your study buddy
Net · guide
Hi! I’m Net, your guide today. We’ll look at ARP: Finding the Physical Address in the IP & Routing: Finding the Way module.
how it works
tap Net · advance one step⟲ button · start overEnter · open the full explanation
legendrequestresponsecontrolmessage in flight
Common misunderstandings
- ARP only works within a single LAN segment. Forwarding packets between networks is the router's job, not ARP's.
Key notes
- Broadcast
- An ARP request is sent to the entire LAN segment, not just the target.
- Gratuitous ARP
- A device sometimes announces its address so other tables get updated too.
- IPv6
- It doesn't use ARP, but NDP (Neighbor Discovery) over ICMPv6.
- ARP spoofing
- ARP replies aren't authenticated, so an attacker can impersonate the gateway.
