Writers' Community!
Home Page Two Columnists Q&A Submit an Article FAQs Contact Author Login
Article Submission
We Need YOUR Articles!
We'll Promote Them for FREE!

Author Login

New Authors
Register Here


Now Serving 8,202 Authors
71,993 Quality Articles
& 7,418 Current Users Online!
Featured Authors
Joel Hirschhorn (2,847)
Ira Coffin (13,580)
Yangki Christine Akiteng (131,850)
Connor Davidson (5,541)
Mark Parsec (16,631)
Julian Price (12,254)
Michael Ramzy (821)
Edward Rhymes (9,204)
Dianne Lehmann (5,838)
Fran Larson (20,012)
Gregory Lewis (1,456)
Joel Hendon (18,567)
Sandra E. Graham (9,984)
Shari Vaudo (1,123)

View All Featured Authors
Most Recent
Courses In Microsoft MCSE Explained

UK Based C Programming Courses - Thoughts

Discussions on Networking Training Uncovered

Finding The Right CompTIA Training Compared

Computer Training for Microsoft Systems Considered

Finding The Right MCSA Course Uncovered

Where To Do Your Adobe Web Design Course Clarified

Microsoft SQL Computer Training Companies Described

Considering Cisco CCNA Retraining Insights

Home Based MCSE Training Explained

Home » Categories » Computers & Networking » Technical Certification » Cisco Routing For The CCNA & CCNP: Administrative Distance » Printer Friendly

Cisco Routing For The CCNA & CCNP: Administrative Distance

Rated 4 out of 5
No Reader Ratings Available ?
Rate It  /  View Comments  /  View All Articles submitted by Chris Bryant CCIE 12933
Submitted Thursday, September 22, 2005
Chris Bryant CCIE 12933 (13,765)
The Bryant Advantage
Log in to become a member of Chris Bryant CCIE 12933's Fan Club!


The textbook definition of "administrative distance" is simple enough: "the measurement of a protocol's believability". It's not enough to know the definition, however you've got to know when AD comes into the picture and when it does not.

When a packet needs to be routed, the router looks in its routing table for the next-hop IP address the packet should take to get to the destination. There may be more than one matching path, in which case the router will look for the "longest match". The route that has the longest match - the route with the most bits in the mask set to "1" - will be the route that is used.

Consider the following three routes from a fictional Cisco router:

I 172.17.0.0 /24 via 172.1.1.1

O 172.17.0.0 /25 via 173.1.1.1

R 172.17.0.0 /26 via 174.1.1.1

This router has three possible next-hop IP addresses that it can send packets destined for the network 172.17.0.0. The masks are of different lengths, meaning that the route with the longest match (again, the route with the most bits set to "1") will be used. In this example, the RIP route will be used, since it has the longest match with a mask of /26. The administrative distances do not matter.

AD does matter when the masks are the same length, as shown here:

I 172.17.0.0 /24 via 172.1.1.1

O 172.17.0.0 /24 via 173.1.1.1

R 172.17.0.0 /24 via 174.1.1.1

The longest match rule always precedes the use of AD, but here there is a three-way tie regarding the masks. They're all /24 (or 255.255.255.0 in dotted decimal). AD will be used to break this tie.

As mentioned, AD is a measurement of a protocol's believability. It is important to keep in mind that the lowest AD will be preferred. And while the routing table will show you the ADs of the respective protocols, it's a very good idea to know these ADs before taking the CCNA or CCNP:

Connected route: 0

Static Route: 1

EIGRP Summary: 5

External BGP: 20

EIGRP (Internal): 90

IGRP: 100

OSPF: 110

ISIS : 115

RIP: 120

EIGRP (External) : 170

Unknown: 255 (A router will not believe a source with an AD of 255, and such routes will not be placed into the routing table.)

The three protocols we looked at in the comparison were RIP, IGRP, and OSPF. While your first instinct may be that the OSPF route would be the most believable, IGRP actually has a lower AD than the other two and would be the route installed in the routing table.

Since IGRP does not support variable-length subnet masking and OSPF does, you may never see this scenario outside of an exam question. But if you do see it in the exam room or in a production network, you'll understand how an IGRP route could be preferred over an OSPF route.

Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage, home of over 100 free certification exam tutorials, including Cisco CCNA certification test prep articles. His exclusive Cisco CCNA study guide and Cisco CCNA training is also available!

Visit his blog and sign up for Cisco Certification Central, a daily newsletter packed with CCNA, Network+, Security+, A+, and CCNP certification exam practice questions! A free 7-part course, “How To Pass The CCNA", is also available, and you can attend an in-person or online CCNA boot camp with The Bryant Advantage!



tweet this!



Reprint Rights

Log in to become a member of Chris Bryant CCIE 12933's Fan Club!

No comments yet.


Was this article helpful to you? Leave a Public Comment or Question:

This Article has been viewed 593 times.
Article added to SearchWarp.com on 9/22/2005 8:09:26 AM.
View other articles written by Chris Bryant CCIE 12933 (13,765)


If you found this article interesting, you may want to check out:

Disclaimer:  All information on this site is provided for informational purposes only! By no means is any information presented herein intended to substitute for the advice provided to you by any health care or other professional or organization.


Today's Most Popular
Cisco CCNA Exam Tutorial: Five OSPF Details You Must Know!

Cisco CCNA Exam Tutorial: What's A Collision Domain?

Cisco CCENT / CCNA Certification Exam Tutorial: Logging Synchronous And Exec-Timeout Commands

Cisco CCNA Exam Tutorial: The Best Time To Schedule Your Exam Is ....

Cisco CCNA Certification Training Tutorial: PPP Multilink And ISDN BRI

Cisco CCNA Certification Exam Tutorial: Route Summarization

Cisco Certification: The Definitive Guide To ARP, RARP, IARP, and Proxy ARP

Cisco CCNA Certification: Showdown At The Transport Layer... TCP vs. UDP !

How To Become A CCNA (Cisco Certified Network Associate)

Cisco CCNA Certification Exam Tutorial: Access List Troubleshooting

Viewed from Cache. Load Time: 0.016.

Home  |  Page Two  |  FAQ's  |  Contact  |  Terms of Service  |  Article Submission Guidelines  |  Questions & Answers  |  Privacy  |  Mission / About
Copyright © 1999-2009 SearchWarp.com, All Rights Reserved - SearchWarp.com is an IcoLogic, Inc. Company