Use it to give a router an IPv6 exit for everything it has no specific route for, or when IPv6 reaches internal networks but not the Internet.
Default Route · IPv6
The IPv6 default route ::/0 matches any destination with no more specific route. When the next hop is a link-local address, the exit interface must be specified too: ipv6 route ::/0 Gi0/0 fe80::1.
1. ipv6 route ::/0 <next-hop>.
2. show ipv6 route ::/0.
3. Hosts get their IPv6 default from Router Advertisements, not DHCPv6.
ipv6 unicast-routing → ::/0 configured or learned → installed (lowest AD) → next hop resolved on the exit interface → unmatched destinations forwarded → upstream has a route back to your prefix
Verify next-hop/interface eligibility and static configuration, then re-check RIB state.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
ipv6 route ::/0 <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 ::/0
show ipv6 route 2001:DB8:FFFF::1
show ipv6 neighbors
traceroute ipv6 2001:DB8:FFFF::1
The first shows whether a default route is installed, from which source and via which next hop. The second, with any outside address, confirms that the destination falls through to ::/0. The neighbour table shows whether the next hop is resolved, and the traceroute shows how far packets get.
Known-good: ::/0 is installed from the expected source, its next hop is resolved, and an outside destination answers a ping sourced from an inside interface.
Step 2 Verification and output interpretation Verify boundary
Use show ipv6 route ::/0 to verify the installed default, then inspect an arbitrary remote IPv6 destination with show ipv6 route <address> to confirm whether a more-specific prefix or the default is selected. Check Neighbor Discovery for a link-local next hop and verify the associated interface. Forwarding/CEF output can show resolved adjacency. A ping to the upstream next hop is useful local evidence but does not show Internet or remote-site reachability. When testing a remote destination, remember ICMPv6 policy, return routing, PMTUD and application policy can affect the result independently of the local default route.
Step 3 Verification & troubleshooting Narrow the fault
Step 4 Failure signatures and troubleshooting branches Narrow the fault
- Outside destinations are unreachable and
::/0is absent. No default configured or learned, or its next hop is unusable. ::/0is present but its next hop isINCMP. The upstream router does not answer on that link.- Traceroute alternates between two routers. Mutual defaults; add a discard route for your own block.
- Packets leave but replies never arrive. The upstream has no route back to your prefix.
- The wrong one of two defaults is in use. Compare their administrative distances.
Step 5 When the problem is really fixed Narrow the fault
::/0is installed from the intended source via the intended upstream.- The next hop is resolved.
- An outside address is reachable from an inside source address.
- A discard route covers your own address block where two routers use each other as default.
Evidence · 2 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
::/0 matches everything and is used only when nothing more specific matches. With a link-local next hop the interface is mandatory. Routers need this route configured or learned from a routing protocol; hosts learn their default gateway from Router Advertisements instead.
show ipv6 route ::/0 → source and next hop of the default. show ipv6 route <destination> → confirms the destination falls through to ::/0. show ipv6 neighbors → the next hop is resolved.
ReferenceWhat it is1 section · depth on demand
What it is
The IPv6 default route ::/0 matches every destination. Because it is the shortest possible prefix, it is used only when no more specific route matches — it is the route for "everything else".
ReferenceWhy it matters1 section · depth on demand
Why it matters
An edge router or a stub site cannot know every destination; the default route sends the unknown ones toward the upstream. When it is missing, the symptom is "internal networks work, the Internet does not". When it points the wrong way, traffic is black-holed or loops between two routers that each use the other as default.
ReferenceImportant terms & boundaries7 sections · depth on demand
Key points
::/0has prefix length zero- Any longer matching prefix wins before administrative distance is relevant
- A present default route does not show the upstream router has onward or return reachability
- If a default uses a link-local next hop, outgoing-interface context is operationally important.
In depth
IPv6 default route: ::/0
The IPv6 default route is ::/0, which matches every address with prefix length zero. Cisco's IPv6 static routing guide gives ipv6 route ::/0 Serial2/0 as an example, and notes a difference from IPv4: by default, recursive static routes don't resolve through the default route. ipv6 route static resolve default restores the older behaviour.
R1(config)# ipv6 unicast-routing
R1(config)# ipv6 route ::/0 GigabitEthernet0/0/0 fe80::1 name ISP-A
R1(config)# ipv6 route ::/0 GigabitEthernet0/0/2 fe80::1 10 name ISP-B
R1# show ipv6 route ::/0
Routing entry for ::/0
Known via "static", distance 1, metric 0
Routing paths:
FE80::1, GigabitEthernet0/0/0
R1# show ipv6 route static | include ::/0
S ::/0 [1/0]
Both ISPs use fe80::1 as their link-local address. That's legal, because a link-local address is only unique per link, which is why the interface must be in the command.
Learning the default from router advertisements
A router can also learn a default from IPv6 router advertisements if it is acting as a host on that interface (ipv6 address autoconfig default). For a fixed design, a static default with interface and next hop is more predictable.
Floating default (from the guide)
The guide explains that a floating static route needs a higher administrative distance than the route it backs up. The static default is 1; the second route above, with distance 10, takes over only when the first is removed.
Common problems
| Symptom | Cause |
|---|---|
| Route configured but not used | ipv6 unicast-routing not enabled |
| Static route via a global next hop fails | The next hop is only reachable via ::/0; the guide's default behaviour doesn't resolve it |
| Traffic out the wrong ISP | Link-local next hop without the right interface |
| No IPv6 Internet access, IPv4 fine | ISP-side firewall or missing route for your prefix at the ISP |
Documented example, not captured output.
Platform, version and operating-envelope scope
Cisco IOS / IOS XE first; RA flags, DHCPv6 role and platform security defaults vary.
Quick reference
The IPv6 default route (::/0) catches all destinations without a more specific IPv6 route. When pointing to a link-local next hop, the interface must be included.
ipv6 route ::/0 Gi0/0 fe80::1
ipv6 route ::/0 2001:db8:ff::1
router ospfv3 1
address-family ipv6 unicast
default-information originate
Documented example, not captured output.
Hosts usually learn their IPv6 default gateway from Router Advertisements rather than static configuration.
Mechanics and state ownership
A default route can be static — typically ipv6 route ::/0 <interface> <link-local next hop> — or learned from a routing protocol, for example when an OSPFv3 router originates one. If there are several candidates, the one with the lowest administrative distance is installed, like for any other prefix.
Hosts are a different matter. They do not use this route; they learn their default gateway from the Router Advertisements the router sends on the LAN.
A packet that matches no route at all, with no default present, is dropped and the sender gets an ICMPv6 "no route" message. The opposite failure is a loop: two routers each point their default at the other, and a packet for a prefix that neither really has bounces between them until its hop limit runs out. The usual protection is a discard route for your own address block, such as ipv6 route 2001:DB8::/48 Null0, so that unused parts of the block are dropped instead of being sent back out.
State model and protocol mechanics
The IPv6 default prefix ::/0 matches every IPv6 destination and therefore acts as the route of last resort. Any installed route with a longer prefix length that also matches the destination wins through longest-prefix match. A default can be static or learned dynamically, and multiple default candidates are compared using the normal source/administrative-distance/metric rules for the same ::/0 prefix. When the next hop is link-local, interface scope is part of the forwarding identity. The route still depends on Neighbor Discovery and FIB adjacency for the selected on-link next hop.
Limits and common misconceptions
::/0 is not a route that overrides more-specific prefixes; it is used only when none exists. A default route being installed does not show the upstream has a route for every destination or that return routing is valid. Link-local next hops are normal in IPv6 and should not be misread as non-routable errors; they identify the immediate router on a specific link. The absence of a default can also be intentional on routers with explicit routes. Separate local route selection, next-hop ND state and external network reachability. A route-of-last-resort should therefore be interpreted as a local forwarding policy choice, not as a health certificate for the external IPv6 network.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration model
Point the default toward the intended upstream IPv6 router using either a globally reachable next hop or an interface-qualified link-local next hop. Verify the upstream design actually intends to provide broader reachability and that the default does not hide missing internal IPv6 routes. On dual-homed devices, decide whether tracking or a floating backup default is needed and keep the next-hop paths independent. Ensure IPv6 unicast routing is enabled where the device must forward packets. Avoid recursive configurations where the default is needed to resolve the very next hop used by that default.
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 unicast-routing
ipv6 route ::/0 GigabitEthernet0/1 FE80::1Expected output
show ipv6 route ::/0Expected state: A static default with interface and link-local next hop.
Routing entry for ::/0
Known via "static", distance 1, metric 0
Route count is 1/1, share count 0
Routing paths:
FE80::1, GigabitEthernet0/1
Last updated 02:14:07 ago
! Illustrative output, not captured Evidence.The default points at the upstream router's link-local address on Gi0/1. Because link-local addresses exist on every interface, the interface is part of the route.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 → Default 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
IPv6 default-route selection
Keep fallback behavior separate from more-specific routing
| Observation | Meaning | Next check |
|---|---|---|
::/0 installed; no more-specific match | Default can control the destination | Verify next hop/upstream |
::/0 installed; longer prefix also matches | Longer prefix wins | Troubleshoot that prefix |
::/0 absent | No installed static default from this source | Verify next-hop eligibility/configuration |
Default Route · operational reference
Compact state and interpretation boundaries for fast lookup.
| IPv6 default fact | Interpretation |
|---|---|
| ::/0 | Least-specific IPv6 route |
| More-specific prefix | Wins over default |
| Link-local next hop | Valid when paired with interface context |
| Default installed | Upstream fallback exists locally, not universal proof |
Default Route operational reference
Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.
| Boundary | Known-good for Default Route | Suspicious signature | Next proof |
|---|---|---|---|
| Intent | Matches IPv6 ::/0 fallback route design | Configuration differs from peer/design | Compare effective config |
| Control state | Stable expected role/route/member state | no default when fallback is expected, the wrong default wins by distance/metric, link-local next-hop ambiguity, or a default installed while upstream forwarding/return path is broken | 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 |
Deep reference
Additional depth
Why ::/0 is the IPv6 fallback
The zero-length IPv6 prefix matches every IPv6 destination. It is only selected when no longer matching installed prefix exists. This makes ::/0 a fallback path, not a universal preferred route.