Host Route
Cheat sheet · https://pcornel.dk/topic.php?topic=1082
Answer
An IPv6 host route uses a /128 prefix to match exactly one IPv6 address. It overrides broader connected, static or dynamic prefixes for that destination by longest-prefix match when eligible. Host routes are useful for explicit reachability, traffic steering or management endpoints, but they can also mask a broader routing problem if added as an ad-hoc workaround.
Remember
A /128 matches exactly one address and, being the longest possible prefix, beats every other route to it. Do not confuse a static host route (S) with the L /128 entries — those are the router's own interface addresses, installed automatically.
First checks
show ipv6 route <address> → the entry that wins for that address and its code (S, L, C). show ipv6 route static → your /128 routes. show ipv6 cef <address> → the interface used.
Commands
ipv6 route <address>/128 <next-hop>- Configure a /128 IPv6 host static route.
show ipv6 route <address>show ipv6 static <address>/128 detail
Verify in this order
/128 static configured → next hop usable → S …/128 installed → longest match beats the /64 → traffic for that one address follows the host route; the rest of the subnet is unchanged
Where it usually breaks
underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path
Host Route operational reference
| Boundary | Known-good for Host Route | Suspicious signature | Next proof |
|---|---|---|---|
| Intent | Matches IPv6 /128 host route design | Configuration differs from peer/design | Compare effective config |
| Control state | Stable expected role/route/member state | a /128 silently overriding the expected aggregate path, a stale host route surviving topology changes, or a host route resolving through an unavailable next hop | Inspect protocol/RIB detail |
| Forwarding | Expected egress/Port-Channel/VLAN path | State exists but traffic path disagrees | FIB/MAC/adjacency |
| Closure | Original test passes for explained reason | Symptom merely moved or was bypassed | Regression test |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1082