Pcornel
Networking · Routing › Routing Table

Local

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

Back to the Topic

Answer

A local route (code L) is a /32 (or /128 in IPv6) for the router's own address on an interface. It tells the router that packets to that exact address are for itself.

Remember

Every connected network has a matching local route for the interface address. Packets to a local address are delivered to the router's own processes (SSH, routing protocols, ping), where control-plane filters may apply.

First checks

  • show ip route | include ^L — local routes.
  • show ip route <router address> — shows the local entry.
  • show ip interface brief — the addresses that produce them.
  • show ip cef <router address> — marked as receive.

Verify in this order

address configured on an up interface → local /32 route installed → CEF receive entry → packets delivered to the router's own processes

Where it usually breaks

underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path

Local operational reference

Local-route checkKnown-goodFailure signatureNext boundary
Exact /32 or /128Present for router addressMissingInterface/address
FIB actionReceive/local handlingUnexpected forward/dropData-plane programming
ServiceIntended local protocol enabledRoute exists, service closedControl plane
PolicyExpected source permittedACL/CoPP deniesSecurity policy
Transit comparisonSeparate path works as designedLocal only successConnected/forwarding

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

Confirmation

Confirm action

Continue?