Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Connected

Direct 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.

When to use this

Use it when a directly attached network is missing from the routing table, or neighbours on it cannot be reached.

First 30 seconds

1. show ip interface brief — is the interface up/up with an address?

2. Down → link, cable or shutdown.

3. Up → show ip route connected: is the expected prefix there?

4. Wrong prefix → the mask on the interface.

5. Neighbour unreachable on a correct prefix → ARP and the neighbour's own address.

Operational verification

address and mask configured → interface up/up → connected route installed → neighbours in the subnet reachable via ARP

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · Cisco IOS XE
Scope / prerequisiteUse it when a directly attached network is missing from the routing table, or neighbours on it cannot be reached.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

6 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Known-good closure and original test Verify boundary

Layered verification for Connected: source route/policy → expected RIB entry in correct VRF → resolved next hop → FIB/CEF adjacency → original flow → remote route/return path Close only when the original source, destination, protocol, VRF/VLAN/policy context and return path are tested.

Step 2 Operational verification and known-good state Verify boundary

Verify the exact interface, VRF, address and prefix length, then confirm line and protocol state are operational. Inspect the RIB for the connected prefix and the local host route for the interface address. Choose a known attached peer and verify ARP or ND resolution and FIB adjacency. If the connected route is meant to be redistributed, verify redistribution policy separately after local installation is confirmed. Compare a destination just inside and just outside the configured prefix when mask mistakes are suspected. Known-good means the control-plane entry and actual attached-host forwarding agree. Known-good verification should include both the intended state and the packet or forwarding consequence that state is supposed to produce. Each command output, counter or capture shows only what is visible at that point in the path. A healthy local state does not by itself show the adjacent hop, reverse path, policy plane, endpoint behavior or application outcome. Use the same flow, VLAN, interface, prefix or control-plane instance throughout the investigation so that evidence from different contexts is not accidentally combined. When a change is made, preserve the original failing test, re-run it after convergence, and check one adjacent known-good case for regression before calling the issue closed.

Step 3 Branching failure-boundary diagnosis Narrow the fault

Branch route source/advertisement → policy/filter → candidate eligibility → RIB winner → recursive next hop → FIB/adjacency → egress interface → return route/policy.

Step 4 Failure signatures and troubleshooting branches Narrow the fault

If the connected route is absent, first check interface operational state, VRF assignment and address/prefix. If it is present but the intended peer does not resolve, troubleshoot Layer-2/VLAN/ARP/ND rather than routing protocols. If a peer address falls outside the configured prefix, correct the addressing boundary instead of adding a compensating static route without understanding the design. If remote networks cannot reach the connected subnet, verify advertisement/redistribution and return routing; the local connected entry only shows this router’s attachment. If recursion depends on the connected prefix, inspect the recursive next hop and adjacency. Branch from the first contradictory state rather than changing multiple layers at once; the earliest broken boundary usually gives the highest-value next test. Each command output, counter or capture shows only what is visible at that point in the path. A healthy local state does not by itself show the adjacent hop, reverse path, policy plane, endpoint behavior or application outcome. Use the same flow, VLAN, interface, prefix or control-plane instance throughout the investigation so that evidence from different contexts is not accidentally combined. When a change is made, preserve the original failing test, re-run it after convergence, and check one adjacent known-good case for regression before calling the issue closed.

Step 5 When the problem is really fixed Narrow the fault

Closure requires the intended connected prefix and local interface host route to be installed in the correct VRF while the interface is up, the attached peer to resolve and the original traffic to pass. If redistribution is involved, show the prefix appears only where policy intends and that withdrawal occurs correctly when the interface is disabled in a controlled test. Check an adjacent interface/prefix for regression after mask or VRF changes. Record actual route output as observation only when collected; the Topic does not itself verify a device. Closure is the successful replay of the original workload plus bounded regression checks; authored guidance must never be promoted automatically to observed Evidence or verification metadata. Each command output, counter or capture shows only what is visible at that point in the path. A healthy local state does not by itself show the adjacent hop, reverse path, policy plane, endpoint behavior or application outcome. Use the same flow, VLAN, interface, prefix or control-plane instance throughout the investigation so that evidence from different contexts is not accidentally combined. When a change is made, preserve the original failing test, re-run it after convergence, and check one adjacent known-good case for regression before calling the issue closed.

Step 6 Common mistakes Narrow the fault
  • Interface down but expecting the connected route.
  • Secondary addresses forgotten.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points

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).

Key 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.
ReferenceHow it works1 section · depth on demand

Mechanics and state boundaries

Separate source protocol/policy state, candidate routes, administrative-distance/metric selection, recursive next-hop resolution, RIB installation, FIB/CEF programming and adjacency resolution in the correct VRF/address family.

ReferenceImportant terms & boundaries3 sections · depth on demand

In depth

Connected routes (code C)

A connected route appears as soon as an interface has an IP address and is up/up: the router knows the whole subnet is reachable directly out of that interface. Cisco's IOS XE routing guide lists connected routes with administrative distance 0, the most trusted source of all.

R1(config)# interface GigabitEthernet0/0/1
R1(config-if)# ip address 10.0.12.1 255.255.255.252
R1(config-if)# no shutdown
R1# show ip route connected
      10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
C        10.0.12.0/30 is directly connected, GigabitEthernet0/0/1
C        10.10.0.0/24 is directly connected, GigabitEthernet0/0/2
R1# show ip interface brief | include 0/0/1
GigabitEthernet0/0/1   10.0.12.1       YES manual up                    up

When the C route exists

Interface stateC route
up/up with an addressInstalled
administratively downRemoved
up/down (no keepalives, no carrier)Removed
SVI with no active ports in its VLANRemoved (SVI is down)

Connected routes in practice

PointDetail
Distance0: nothing overrides a connected route for the same prefix
AdvertisingNot advertised by a protocol unless the interface is covered by its network statement or connected routes are redistributed
Secondary addressesEach secondary subnet produces its own C route
Unnumbered interfacesBorrow an address; the C route belongs to the source interface

Troubleshooting

If an expected C route is missing, check the interface first (show interfaces, show ip interface brief). An overlapping address configured elsewhere is rejected by IOS, which prevents two C routes for the same subnet.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

Connected routes (code C) appear automatically for the subnet of each interface that has an IP address and is up/up. They have administrative distance 0 and are removed when the interface goes down.

show ip route connected
! C  10.20.0.0/24 is directly connected, Vlan20
! L  10.20.0.1/32 is directly connected, Vlan20

Documented example, not captured output.

If a subnet is missing from show ip route connected, check the interface status — an SVI with no active ports in its VLAN stays down.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Mechanics and state ownership

When an interface is assigned an IP address and prefix and reaches an operational state, the router can install a connected route for the directly attached network. That route is the basis for resolving hosts on the local segment and can also satisfy recursive next-hop lookups for static or dynamically learned routes. The interface’s own address is typically represented by a separate local host route, so connected and local entries should not be conflated. If the interface goes down or moves VRF, the connected route can disappear from that table even though configuration text still contains the address. The prefix length therefore directly controls which destinations the router considers attached. This section is authored reference guidance for Connected in the Routing Table context. Each command output, counter or capture shows only what is visible at that point in the path. A healthy local state does not by itself show the adjacent hop, reverse path, policy plane, endpoint behavior or application outcome. Use the same flow, VLAN, interface, prefix or control-plane instance throughout the investigation so that evidence from different contexts is not accidentally combined. When a change is made, preserve the original failing test, re-run it after convergence, and check one adjacent known-good case for regression before calling the issue closed.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Routing → Routing Table → Connected. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%
Embedded reference data

Quick lookup tables

Connected operational reference

Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.

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
Confirmation

Confirm action

Continue?