IP Connectivity
Cheat sheet · https://pcornel.dk/topic.php?topic=3
Answer
IP connectivity at CCNA level: how a router chooses a route (longest prefix, then administrative distance, then metric), static and default routes, single-area OSPF, and first-hop redundancy for hosts' default gateway.
Remember
Check in order: host gateway reachable → router has a route (show ip route <dest>) → next hop resolved → the far side has a return route. The most specific route always wins; administrative distance only decides between equally specific routes from different sources.
First checks
show ip route <dst>— the route used for a destination.show ip route— the whole table, with the source code of each route.show ip cef <dst>— the forwarding entry actually used.show ip protocols— routing protocols running and what they advertise.traceroute <dst> source <interface>— the hops traffic takes.
Verify in this order
destination address → longest matching prefix → best source by administrative distance → lowest metric → next hop reachable → CEF entry → packet forwarded → return route on the far side
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3