Connected
Cheat sheet · https://pcornel.dk/topic.php?topic=1056
Answer
A connected route (code C) is the network of an interface that has an address and is up. It appears and disappears with the interface's line protocol.
Remember
An interface that is down, or administratively down, has no connected route. The prefix comes from the address and mask configured on the interface. Two interfaces in the same subnet are not allowed on one router (VRFs aside).
First checks
show ip route connected— the connected networks.show ip interface brief— address and up/up state per interface.show running-config interface <interface>— the address and mask.show ip interface <interface>— line protocol, address and prefix length.
Commands
show interfacesshow ip interface briefshow ip route connected
Verify in this order
address and mask configured → interface up/up → connected route installed → neighbours in the subnet reachable via ARP
Where it usually breaks
underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path
Connected operational reference
| Connected check | Known-good | Failure signature | Next boundary |
|---|---|---|---|
| Interface state | up/up in correct VRF | down/down or wrong VRF | Physical/L2/VRF |
| Address/prefix | Intended mask | Wrong attached network | Addressing |
| RIB connected | Prefix installed | Missing despite config | Interface/RIB |
| ARP/ND | Attached peer resolves | Incomplete/absent | L2/peer |
| Remote reachability | Advertised/returned as intended | Local only works | Routing policy |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1056