Let’s Get Certified
Module 26 / 54 · IP connectivity

Design static routes and a floating backup

A branch learns 10.9.0.0/16 from OSPF at distance 110. A secondary link should carry the same prefix only if OSPF withdraws it. What static route preference fits?

Design static routes and a floating backup

The floating-route lab raises a backup static route’s administrative distance above the dynamic route.

Work through the decision

A branch learns 10.9.0.0/16 from OSPF at distance 110. A secondary link should carry the same prefix only if OSPF withdraws it. What static route preference fits?

Check your reasoning

Use a reachable backup next hop with a static distance greater than 110, for example 200. Verify that the static entry appears when the primary route disappears and is withdrawn when the preferred route returns.

Jeremy’s IT Lab · 8:10 · Read the synchronized transcript

Interpret the evidence

Floating static route
A higher administrative distance makes the backup lose to a preferred source for exactly the same prefix.
Host route
An IPv4 /32 or IPv6 /128 matches one destination address.
IPv4 default route
0.0.0.0 with mask 0.0.0.0 matches any IPv4 destination when no more specific route applies.
IPv6 default route
The all-zero prefix ::/0 provides the IPv6 fallback.
Network static route
A fixed route for a specific network prefix points matching addresses toward its next hop.

Practice the guide skills

  1. Write a specific network, host and default route for IPv4 and IPv6. If the IPv6 next hop is link-local, include the outbound interface.
  2. Give a backup static route a higher distance than its primary for the same prefix; inspect the route table before failure, during failover and after recovery.

Official objectives for this lesson

Install a primary and a standby path in a lab

Two reachable next hops connect a practice router to 198.51.100.0/24. Use one by default and the other as a floating static backup.

ip route 198.51.100.0 255.255.255.0 192.0.2.1
ip route 198.51.100.0 255.255.255.0 192.0.2.5 200

With both next hops resolved, show ip route 198.51.100.0 should prefer the first route at distance 1. If its next hop becomes unreachable, the route via .5 can enter at distance 200. A remote outage beyond a still-reachable next hop requires additional failure detection.

Related lesson · Read the most specific matching route before comparing metrics

Knowledge check

Design static routes and a floating backup quiz

Answer 3 questions. Check each answer for an explanation.