Use it to steer traffic for one single IPv6 address differently from the rest of its subnet, or when you see /128 entries in the routing table and need to tell what they are.
Host Route · IPv6
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.
1. Host route = /128: ipv6 route 2001:db8::10/128 <next-hop>.
2. Longest match makes it win over the /64.
3. show ipv6 route 2001:db8::10.
/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
Validate design intent and then ND/return-path behavior for the exact host.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
ipv6 route <address>/128 <next-hop>Primary Commands
Configuration and operational commands for this Topic.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational verification and known-good state Verify boundary
show ipv6 route 2001:DB8:20::10
show ipv6 route static
show ipv6 cef 2001:DB8:20::10
The first shows which entry wins for that exact address and how it is known — static for your host route, local for one of the router's own addresses. The second lists all static routes, including the /128s. CEF shows the interface used for the address.
Known-good: a lookup for the address returns the /128 static route, and a lookup for a neighbouring address in the same /64 returns the ordinary route.
Step 2 Verification & troubleshooting Narrow the fault
1. Confirm the exact target address.
2. Verify the /128 static is installed.
3. Verify next-hop/interface resolution.
4. Compare a nearby destination to ensure the broader route is still used as designed.
5. If the /128 is installed but traffic fails, check ND/forwarding and return path.
Step 3 Failure signatures and troubleshooting branches Narrow the fault
- One address takes a different path from the rest of its subnet. A /128 static route exists for it — possibly a forgotten one.
- A /128 is taken for a static route but has code
L. It is one of the router's own addresses. - The host route is configured but not installed. Its next hop cannot be resolved.
- A host became unreachable after it was moved. A stale host route still points to the old location.
Step 4 When the problem is really fixed Narrow the fault
- The address resolves to the /128 static route via the intended next hop.
- Other addresses in the same subnet still follow the normal route.
- The reason for the exception is documented, so it can be removed when it no longer applies.
Step 5 Common mistakes Narrow the fault
- Writing /64 when /128 was intended.
- Link-local next hop without an interface.
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.
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.
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.
ReferenceWhat it is1 section · depth on demand
What it is
An IPv6 host route is a static route with prefix length /128: it matches exactly one address. Being the most specific match possible, it takes precedence over every other route to that address.
ReferenceWhy it matters1 section · depth on demand
Why it matters
It is the tool for exceptions — one server reached by a different path than the rest of its subnet during a migration, a management address, or another router's loopback (a static /128 to a neighbour's loopback is the usual basis for BGP peering). It also explains the /128 entries you did not configure: the routing table contains one for each of the router's own addresses.
ReferenceImportant terms & boundaries4 sections · depth on demand
Key points
/128is more specific than any covering IPv6 prefix- The host route can therefore override a broader route for that exact address
- The next hop still must be resolvable
- Route installation does not show the destination host or service responds.
In depth
IPv6 host route: a /128 static route to one address
A host route matches exactly one address, with prefix length /128. It is the most specific possible route, so it always wins the longest-prefix match. Cisco's IPv6 static routing guide covers network and default routes; a /128 uses the same ipv6 route syntax.
R1(config)# ipv6 route 2001:db8:ff::10/128 GigabitEthernet0/0/2 fe80::10
R1(config)# ipv6 route 2001:db8:ff::20/128 Null0
R1# show ipv6 route 2001:db8:ff::10
Routing entry for 2001:DB8:FF::10/128
Known via "static", distance 1, metric 0
Routing paths:
FE80::10, GigabitEthernet0/0/2
R1# ping 2001:db8:ff::10 source Loopback0
Uses
| Use | Example |
|---|---|
| Reach a loopback or service address on a neighbour | A /128 to a peer's loopback for BGP peering |
| Steer one address via a different path | A single server via a firewall, the rest of its subnet directly |
| Black-hole one address | ipv6 route <addr>/128 Null0 during an attack |
| Anycast service addresses | The same /128 announced from several sites |
Next hop on Ethernet
Following the guide's rule for multi-access interfaces, use the fully specified form: interface plus next hop. With a link-local next hop the interface is required, since the same fe80:: address can exist on every link.
Host routes and summarisation
Many /128 static routes become hard to maintain. If several host routes share a path, replace them with one shorter prefix. Keep host routes for exceptions.
Verification
show ipv6 route <address> should show the /128 entry. If a shorter prefix shows up instead, the /128 isn't installed. Check show ipv6 static <address>/128 detail for the reason, such as the interface being down.
Documented example, not captured output.
Quick reference
An IPv6 host route is a /128 prefix — a route to a single address. It is the IPv6 equivalent of an IPv4 /32 and is used for router loopbacks, anycast service addresses and specific overrides.
Routers also install local /128 routes automatically for their own interface addresses, marked L in the routing table. These are not for forwarding to other devices; they tell the router that packets to that address are for itself.
ipv6 route 2001:db8:100::53/128 2001:db8:10::2
show ipv6 route 2001:db8:100::53/128
show ipv6 route local
In routing protocols, loopbacks should be advertised as /128 so that MPLS label bindings and BGP next hops resolve correctly. Because a /128 is the most specific route possible, a stray host route can override any summary — check for one when traffic to a single address takes an unexpected path.
Mechanics and state ownership
Routing always uses the longest matching prefix, and nothing is longer than /128. A host route therefore overrides the /64 the address belongs to, a summary, and the default route alike — for that one address only.
Not every /128 in the table is a static route. Each address configured on the router itself is installed as a local route with code L; these let the router recognise packets addressed to itself. A host route you configured has code S.
The next-hop rules are the same as for any IPv6 static route: a global next hop must be resolvable, and a link-local next hop needs the interface. One thing is easy to forget: the route stays where you pointed it. If the host later moves, or the exception is no longer needed, the /128 keeps pulling its traffic the old way.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Configuration & expected output
Concrete examples are shown only when the stored reference contains an actual configuration or output shape for this Topic.
Configuration example
Assumptions: Lab devices; addresses and interface names are examples.
ipv6 route 2001:DB8:20::10/128 2001:DB8:13::3Expected output
show ipv6 route 2001:DB8:20::10Expected state: The /128 static is the matching entry.
Routing entry for 2001:DB8:20::10/128
Known via "static", distance 1, metric 0
Route count is 1/1, share count 0
Routing paths:
2001:DB8:13::3
Last updated 00:05:12 ago
! Illustrative output, not captured Evidence.The lookup hits the /128, not the /64 that covers the rest of the subnet. `Known via "static"` confirms it is your host route and not a local (`L`) address.Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Routing → Static Routing → IPv6 → Host Route. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc8200.html · confidence 94%Quick lookup tables
Host Route operational reference
Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.
| 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 |