ARP & Neighbor Discovery
Read this concept as one more decision made about a packet in flight. The widget below lets you change the inputs and watch the consequence instead of memorising the rule.
Why it matters
IP forwarding still needs a link-layer destination for the next hop, and ARP or NDP supplies that binding on demand. Because the reply is unauthenticated, the mapping can be forged by anyone on the link.
On the wire
An IPv4 host broadcasts an ARP request asking which MAC owns a given IP, and the owner replies with its MAC address, which the requester caches. IPv6 replaces this with multicast Neighbor Solicitation and Neighbor Advertisement messages carried in ICMPv6.
When it breaks
A gratuitous ARP reply can overwrite a cached mapping and redirect traffic to an interface controlled by an attacker without any client error. An unanswered request leaves the outgoing packet queued until the neighbor cache entry expires, which looks like a silent connectivity failure.
Frame builder
Click a field to flip a bit, then send it. The FCS covers Destination MAC through Data/Pad.
CRC-32 covers Destination MAC through Data/Pad; preamble and SFD are outside the FCS. Corrupt a field to see what happens.