Pcornel
Networking · Routing › Static Routing › IPv6

Floating Static

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

Back to the Topic

Answer

A floating IPv6 static route is configured with an administrative distance higher than the preferred dynamic or static route so that it remains inactive while the primary route is present and becomes eligible when the preferred route is withdrawn. The backup is a RIB-selection mechanism; it does not monitor application health unless the primary route itself is withdrawn by another tracking mechanism.

Remember

Give the backup a higher administrative distance than the primary: above 110 for OSPFv3, above 90 for EIGRP, above 1 for another static. While the primary exists the floating route is only in the configuration, not in the routing table. It takes over only if the primary route is actually withdrawn — a failure further away that leaves the primary next hop up does not trigger it.

First checks

show ipv6 route <prefix> → which source is installed now and its distance. show running-config | include ipv6 route → the floating route and its AD. After a failover test: show ipv6 route static → the backup with its high distance.

Commands

ipv6 route <prefix>/<length> <next-hop> <administrative-distance>
Configure a floating IPv6 static route with a higher administrative distance.
show ipv6 static
show ipv6 route
show ipv6 route <prefix>
show ipv6 neighbors

Verify in this order

primary route installed (lower AD) → floating static configured with higher AD, hidden → primary withdrawn (link down, neighbour lost) → floating route installed → primary returns → floating route hidden again

Where it usually breaks

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

IPv6 floating static state

ObservationLikely meaningNext check
Primary installed; floating static absentHealthy steady stateConfirm AD and backup config
Floating route installs after primary lossExpected failoverVerify forwarding/return path
Floating route active unexpectedlyPrimary route missing or less preferredInvestigate primary source/AD
Primary lost; floating route absentBackup not eligibleCheck next-hop/interface and AD

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

Confirmation

Confirm action

Continue?