Pcornel
Networking · Routing › Static Routing › IPv6

Default Route

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

Back to the Topic

Answer

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.

Remember

::/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.

First checks

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.

Commands

ipv6 route ::/0 <next-hop>
Configure an IPv6 default static route.
show ipv6 route
show ipv6 route ::/0
show ipv6 route <address>

Verify in this order

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

Where it usually breaks

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

IPv6 default-route selection

ObservationMeaningNext check
::/0 installed; no more-specific matchDefault can control the destinationVerify next hop/upstream
::/0 installed; longer prefix also matchesLonger prefix winsTroubleshoot that prefix
::/0 absentNo installed static default from this sourceVerify next-hop eligibility/configuration

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

Confirmation

Confirm action

Continue?