IPv4, ARP & ICMP
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show ip arpSubtopics
Go one level deeper into this subject.
Operational reference for resolving Layer-3 addresses to Layer-2 neighbors with ARP and IPv6 Neighbor Discovery.
Subtopic ICMP & ICMPv6Reference for ICMP echo, unreachable, time exceeded, packet-too-big and operational interpretation.
Subtopic ARP Packet Field ReferenceARP fields map an IPv4 protocol address to a link-layer address on the local broadcast domain.
ReferenceWhat it is1 section · depth on demand
What this group covers
ARP and IPv6 Neighbor Discovery, ICMP/ICMPv6 message types and the ARP packet fields. Useful when a host cannot reach its gateway, ping results need interpretation, or captures show unexpected ARP traffic.
ReferenceImportant terms & boundaries3 sections · depth on demand
Where to look
| Question | Reference |
|---|---|
| Why does a host not reach its gateway? | *ARP & IPv6 Neighbor Discovery* |
| What does this ping or traceroute message mean? | *ICMP & ICMPv6* |
| What is in this ARP packet? | *ARP Packet Field Reference* |
IPv4 addressing, ARP and ICMP are the basic mechanics behind every IPv4 connection: hosts use their address and mask to decide whether a destination is local, ARP to find the MAC address of the next hop, and ICMP to report errors and test reachability. Checking each of these in order narrows most connectivity problems to a single host, subnet or path.
IPv4, ARP and ICMP quick reference:
show ip interface brief
show ip arp 10.0.20.15
show ip route 10.0.20.15
ping 10.0.20.15 source Vlan20
traceroute 10.0.20.15
ARP maps IPv4 to MAC within a subnet (default IOS ARP timeout 4 hours). ICMP types to know: 0/8 echo, 3 unreachable (code 4 = fragmentation needed), 5 redirect, 11 time exceeded. Do not block all ICMP — PMTUD depends on type 3 code 4.
Key numbers
In depth
IPv4, ARP and ICMP together make basic IP connectivity work: IPv4 addresses and masks identify hosts and subnets, ARP finds the MAC address for an IP on the local link, and ICMP reports errors and supports diagnostics such as ping and traceroute.
| Protocol | Role |
|---|---|
| IPv4 | Addressing, routing, TTL, fragmentation |
| ARP | IP → MAC on the local subnet |
| ICMP | Echo, unreachable, time exceeded, redirects |
When a host cannot communicate, check address and mask, default gateway, ARP resolution of the gateway, then ICMP-based tests along the path.
ReferenceConfiguration & state1 section · depth on demand
Key commands
show ip arp
arp -a
ping -f -l 1472 10.0.0.1 # Windows DF ping
traceroute -n 10.0.0.1