How can PC1 keep reaching the server after a link fails?
PC1 needs to reach the server behind R3. R1 can send through R2 or use its direct link to R3. Static routes can describe both paths, but the router still needs evidence that a path has failed. A routing protocol shares reachability changes so routers can recalculate usable paths without an operator editing every route.
This explorer uses a triangle: R1–R2–R3 plus a direct R1–R3 backup link. There is no ISP or default route in this example. PC1 uses R1 as its gateway, and the server at 192.168.3.10 is on R3's LAN. The next lesson uses a separate chain with an ISP exit; do not carry the triangle's backup-link settings into that lab.
What dynamic routing is
With dynamic routing, routers run a routing protocol: a set of rules for sharing route information. Configuration determines which interfaces participate, which neighbours can form and which information is advertised. Different protocols exchange different information; enabling one does not automatically advertise every network.
Automatic recovery still needs a usable alternative path.OSPF (Open Shortest Path First) is the routing protocol used by this explorer. Use the controls to change the links. The result shows R1's route after OSPF has processed the change, not the transition itself.
O 192.168.3.0/24 [110/30] via 10.0.12.2, GigabitEthernet0/1
R1–R2 costs 10, R2–R3 costs 10 and R3's LAN costs 10. The direct R1–R3 link costs 50, so its total to the LAN would be 60.
What happens during convergence
Convergence means the participating routers have settled on routing information consistent with the current topology and policy. Their routing tables need not be identical: each router has a different position in the network.
In OSPF, the link-state database (LSDB) holds the area's topology information. After that information changes, a router can run shortest path first (SPF), its path-calculation algorithm, to update eligible routes. That calculation uses configured link costs; it does not measure the time a web request takes.
Static and dynamic side by side
| Static routing | Dynamic routing | |
|---|---|---|
| Configuration | Configure destination routes and next hops | Configure protocol participation, neighbours and policy |
| Failure evidence | Interface/next-hop resolution; object tracking can add remote probes | Interface events and neighbour information within the protocol's scope |
| Ongoing work | Maintain routes and any tracking configuration | Maintain neighbour relationships and process routing changes |
Static and dynamic routing can coexist. A small branch might use a static default route towards its ISP while learning internal LANs through OSPF. IP SLA with object tracking can remove a tracked static route when a remote probe fails; static routing is not limited to noticing failures on the adjacent cable.
IGP or EGP, distance vector or link state
By where they run. An autonomous system (AS) is a group of networks under a common routing administration. An IGP (interior gateway protocol) routes inside one AS. An EGP (exterior gateway protocol) routes between ASes. Today the only EGP in use on the internet is BGP (Border Gateway Protocol). Its internal form, internal BGP (iBGP), can also carry BGP routes within the same AS.
What routing information does each family exchange?
Distance-vector protocols learn destinations and distances through neighbours. Link-state protocols share topology information so each router can calculate paths. Path-vector BGP includes an autonomous-system path and uses routing policy to select routes. A BGP path is not a map of every physical link between those organisations.
EIGRP (Enhanced Interior Gateway Routing Protocol) is an advanced distance-vector protocol that uses DUAL (Diffusing Update Algorithm) to select loop-free paths and coordinate recalculation. It does not use the algorithm of RIP (Routing Information Protocol). OSPF and IS-IS (Intermediate System to Intermediate System) use link-state information; while an update is spreading, routers can temporarily hold different views. Choose a protocol based on the network design and platform support, rather than assuming one family is immune to stale information.
Try a failure and prove the recovery
Start the explorer with All links up. Its route to the server uses R2 at 10.0.12.2 with cost 30. Select R2–R3 down: after convergence, R1 uses R3 at 10.0.13.2 through Gi0/3 with cost 60. The more expensive route is useful because it still reaches the same destination. Select Both paths down and explain why no routing protocol can manufacture a missing physical path. Finish with All links up to restore the initial state.
In an equivalent isolated IOS/IOS XE lab, compare show ip route 192.168.3.10, show ip ospf neighbor and show ip interface brief before and after a controlled interface shutdown. Use no shutdown on the interface you disabled, then check that the preferred route and end-to-end test return. The explorer is a limited teaching model; it does not run these commands or prove the server's return path, gateway or firewall policy.
What show ip protocols tells you
show ip protocols lists every routing protocol running on a router and its key settings. This output is based on Cisco documentation, not run on a lab device.
R1#show ip protocols *** IP Routing is NSF aware *** Routing Protocol is "ospf 1" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 1.1.1.1 Number of areas in this router is 1. 1 normal 0 stub 0 nssa Maximum path: 4 Routing for Networks: 10.0.12.0 0.0.0.3 area 0 10.0.13.0 0.0.0.3 area 0 192.168.1.0 0.0.0.255 area 0 Routing Information Sources: Gateway Distance Last Update 2.2.2.2 110 00:04:51 3.3.3.3 110 00:04:51 Distance: (default is 110)
show ip ospf neighbor to check adjacency state. "Maximum path: 4" means up to four equal-cost paths can be used at once.In practice, this is a good first command on an unfamiliar router: it shows the running routing processes and their settings. Then useshow ip route 192.168.3.10 to check the installed route for this destination and show ip interface brief to check interface addresses and status.
Test yourself on routing protocols
Which protocol family builds a shared topology map within an OSPF area?
Which protocol connects different organisations' networks across the internet?
What does 'the network has converged' mean?
R2–R3 fails, but the direct R1–R3 link remains usable. After OSPF converges, which next hop does R1 use for 192.168.3.10 in the diagram?
Cisco references: tracked static-route failover, OSPF and EIGRP convergence, and EIGRP and DUAL.