A structured lesson workspace with readable content, hands-on examples, and a clean path to completion.
A branch office router has five specific static routes for internal subnets and needs to send everything else to the internet. Do you write a static route for every public IP on the internet? No — you need a default route. One line, and the router knows what to do with traffic to any destination it hasn't learned about explicitly.
The default route is the catch-all — the routing equivalent of 'I don't know exactly where this goes, but I know the general direction.' Every router should have one, either statically configured or learned dynamically from a routing protocol.
The default route `0.0.0.0/0` matches every destination IP. Because of longest-prefix-match, it's used only when no more specific route exists. Traffic to 172.16.5.0/24 uses the specific static; traffic to 8.8.8.8 falls through to the default.
! Standard default route to the ISPip route 0.0.0.0 0.0.0.0 203.0.113.1! Same, with exit-interface specifiedip route 0.0.0.0 0.0.0.0 gigabitEthernet0/0 203.0.113.1! Floating static — backup default with higher ADip route 0.0.0.0 0.0.0.0 203.0.113.1ip route 0.0.0.0 0.0.0.0 198.51.100.1 250! Verify — look for the * markershow ip route | include 0.0.0.0
The floating static is a classic redundancy trick. The primary default route (`AD 1`) wins. The backup route with `AD 250` is installed in the RIB but not used — it only activates if the primary route disappears. Since floating statics can use any AD value greater than the primary, `250` marks it clearly as a backup.
The `*` in `S* 0.0.0.0/0` or `O*E2 0.0.0.0/0` marks the candidate default route. IOS picks the best candidate as the Gateway of Last Resort, shown at the top of `show ip route`. If no default route exists, that line reads `Gateway of last resort is not set` — traffic to unknown destinations is dropped.
In a typical enterprise, the core router has a static default to the ISP, and it advertises that default into the IGP so all internal routers know how to reach the internet. One static route at the edge; every other router learns it dynamically.
A branch has a primary MPLS circuit (next-hop 10.0.0.1, AD 1) and a backup internet circuit (next-hop 203.0.113.1). Both lead to the internet. How should the default routes be configured?
Select the safest next action.
Finish the lesson once you have worked through the material. This awards ★ 20 XP.