Scenario

The branch office has two internet links. ISP-A is the main one, ISP-B is the backup. Each cable ends in a media converter, so R1 keeps seeing a link even when the ISP behind it fails. A plain static default route would stay in the table and send traffic into the void. So R1 must probe ISP-A with a ping, track the result, and drop the route when the probe fails. A few minutes into the lab, a digger is going to cut the ISP-A cable.

Topology

R1ISP-AISP-B

Requirements

  1. 1IP SLA 1 sends an echo to ISP-A (203.0.113.1) and is scheduled to run
  2. 2Track 1 follows the reachability of IP SLA 1, and the default route to ISP-A is tied to track 1
  3. 3A floating default route to ISP-B (198.51.100.1) with distance 210 waits in the configuration
  4. 4When ISP-A fails, the default route moves to ISP-B by itself
  5. 5PC1 still reaches the internet (8.8.8.8)

R1 has addresses on all three ports. Build the probe, the tracked route and the backup route, then watch what happens when ISP-A fails. Start with: enable

R1> show running-config

CCNA lab · about 20 min

Dual ISP failover with IP SLA and a tracked route

Two ISPs, one router. The cable stays plugged in when ISP-A dies, so the router must test the path itself. Build an IP SLA probe, track it, and let the floating route take over.

This lab is included in the CCNA plans and in the free trial.

Start the free trial Try the free VLAN lab Today's free lab

All labs

About this lab

The branch office has two internet links. ISP-A is the main one, ISP-B is the backup. Each cable ends in a media converter, so R1 keeps seeing a link even when the ISP behind it fails. A plain static default route would stay in the table and send traffic into the void. So R1 must probe ISP-A with a ping, track the result, and drop the route when the probe fails. A few minutes into the lab, a digger is going to cut the ISP-A cable.

About 20 minutes. Included in the CCNA plans and the free trial.

Questions about this lab

Why is the floating route not enough?

A floating route takes over only when the main route disappears from the table. If the cable behind a media converter is cut, the port on R1 stays up and the main route stays in the table. Only a probe can tell that the path is dead.

What does the track object do?

It turns the result of an IP SLA probe into Up or Down. A static route with the track keyword is installed only while the object is Up.

Why is the schedule needed?

ip sla schedule starts the operation. Until then, nothing is sent and the track object stays Down.

CertAce is not affiliated with or endorsed by Cisco Systems. CCNA and Cisco are trademarks of Cisco Systems, Inc. The simulator and every command output here were written by CertAce.