GNS3 and IP SLA with default route tracking

Home > Blogs > Cisco > GNS3 and IP SLA with default route tracking

GNS3 and IP SLA with default route tracking

1 1 Mark Jacob
Added by December 27, 2013

As I have mentioned before, I am a big fan of GNS3. I also said that I would be posting GNS3 labs from time to time with an eye toward gaining skill in the CCNA R&S arena, as well as the CCNP track. If you don’t have GNS3, go to the The GNS3 download page to get it. Without further ado, here is today’s learning experience.

One really cool thing that Cisco devices (routers – in this blog) can do is to perform various scheduled network status checks. What I want to do today is show how you can use an IP SLA together with a tracking object to make routing decisions based on downstream availability.

I have built the scenario shown here:


As noted on the diagram shown above, R3 has an ip sla configured (number 10). It is scheduled to verify reachability to the loopback interface that is on R1 by pinging it. R3 is then tracking this ip sla. The tracking returns a result of either true or false, depending upon whether or not the ping was successful. There is a default route configured on R3 which is present in the routing table contingent upon the status of the tracking (object 1). If the target address becomes unreachable (for instance, if you log into R1 and shutdown the Loopback 0 interface), the result of the tracking will switch from true to false, and the default route will disappear from the routing table. Here is what show ip route looks like on R3 if tracking it true:


As you can see, the Gateway of last resort exists, as well as a candidate default route as shown at the bottom of the output.

Now I will log in to R1 and shutdown interface Loopback 0, the target IP address, and then view the routing table on R3 again. Let’s see the difference.


First off, you note that the change in network topology, which was being tracked, was noticed by R3. This caused the conditional default route to disappear from the routing table. Notice in the output of show ip route on R3 that the gateway of last resort is no longer set, and the candidate quad-zero default route is no longer in the output. This shows one of the powerful capabilities offered by ip sla and tracking.

I have provided all the files necessary for you to build this scenario for yourself. I hope you enjoy this lab, and if you discover any suggestions or have any suggestions, I would love to hear from you.

The zipped files are available here: Feel free to experiment with the configurations and shoot me any suggestions you may have on changing it up or improving it. I will continue to post GNS3 scenarios in future blogs. If there is a scenario you would like to see, leave a comment and I will work on creating it.

Mark Jacob
Cisco Instructor – Interface Technical Training
Phoenix, AZ

Videos You May Like

Agile Methodology in Project Management

0 172 0

In this video, you will gain an understanding of Agile and Scrum Master Certification terminologies and concepts to help you make better decisions in your Project Management capabilities. Whether you’re a developer looking to obtain an Agile or Scrum Master Certification, or you’re a Project Manager/Product Owner who is attempting to get your product or … Continue reading Agile Methodology in Project Management

Creating Users and Managing Passwords in Microsoft Office 365

0 750 4

In this Office 365 training video, instructor Spike Xavier demonstrates how to create users and manage passwords in Office 365.   For instructor-led Office 365 training classes, see our course schedulle: Spike Xavier SharePoint Instructor – Interface Technical Training Phoenix, AZ 20347: Enabling and Managing Office 365    

Identifying and Fixing Misconfigured Subnet Masks in Your Network Environment

0 471 1

In this video, Cisco CCNA instructor Mark Jacob show how to find and fix misconfigured subnet masks in a typical IT network environment.   Mark Jacob Cisco and CompTIA Network + Instructor – Interface Technical Training Phoenix, AZ

Write a Comment

See what people are saying...

    Share your thoughts...

    Please fill out the comment form below to post a reply.