Pcornel
Networking · Routing › Routing Table

Connected

Cheat sheet · https://pcornel.dk/topic.php?topic=1056

Back to the Topic

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 interfaces
show ip interface brief
show 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 checkKnown-goodFailure signatureNext boundary
Interface stateup/up in correct VRFdown/down or wrong VRFPhysical/L2/VRF
Address/prefixIntended maskWrong attached networkAddressing
RIB connectedPrefix installedMissing despite configInterface/RIB
ARP/NDAttached peer resolvesIncomplete/absentL2/peer
Remote reachabilityAdvertised/returned as intendedLocal only worksRouting policy

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1056

Confirmation

Confirm action

Continue?