Cisco Routing For The CCNA And CCNP: Administrative Distance - myoddPc

Computer Information - myOddPc

Cisco Routing For The CCNA And CCNP: Administrative Distance

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.1O 172.17.0.0 /25 via 173.1.1.1R 172.17.0.0 /26 via 174.1.1.1This 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.1O 172.17.0.0 /24 via 173.1.1.1R 172.17.0.0 /24 via 174.1.1.1The 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: 0Static Route: 1EIGRP Summary: 5External BGP: 20EIGRP (Internal): 90IGRP: 100OSPF: 110ISIS : 115RIP: 120EIGRP (External) : 170Unknown: 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, the home of the world's clearest, most concise, most comprehensive CCNA and CCNP Study Guides available today. He offers free CCNA, CCNP, and Home Lab Setup Tutorials on the website, as well as online boot camps, Video courses and training, and binary/subnetting help.Join the revolution - visit http://www.thebryantadvantage.com today!

Chris Bryant

Sony PSP - Not Just For Games

Zen and the Art of Buying Computer Parts
The Ugly Face Of Technology
Wind Turbine Lights to Protect Birds
Robotic Manufacturing Lighting
Is that software really free?
Tips on Finding the Best CD Duplication Services
Making the Most of Digital Camera Memory Cards
Microsoft Dynamics GP & CRM in Transportation & Logistics
Computer Dos and Donts
Sony PSP - Not Just For Games

SyncUp – A File/Folder Synchronizer For Windows

Basic Tips and tricks for Windows XP
Buying the Perfect Computer – The FIRST Time
Dirty Little Computer Viruses and How To Protect Yourself
10 Secrets to a Healthy Computer and a Happier You
8 Simple Ways to Defend Against Evil Doers Both Online and Off
Microsoft CRM Programming Secrets – Tips For Developers
Microsoft Great Plains Integration with Legacy Systems – Overview For Developer
Microsoft RMS – Great Plains Integration – Overview For IT Specialist
Removing Incoming Email in MS Exchange, C# Example
SyncUp – A File/Folder Synchronizer For Windows

Articles by the same author

Cisco CCNA Certification:

Becoming A Truly Valuable CCNA.

Cisco Certification:

Five Things To Do DURING Your CCNA Exam

Cisco CCNA Cerfication:

Should You Take The One-Exam or Two-Exam Approach?

Cisco Certification:

How To Become A Truly Valuable CCNA

Cisco Certification:

The Joy Of Hex

Cisco Certification:

What To Do DURING Your Exam!

Cisco Certification:

Introduction To ISDN, Part I

Configuring Internal Cisco Router Security
Introduction To ISDN, Part II
Cisco Certification: Introduction To ISDN, Part III
Cisco Certification:

Introduction To ISDN, Part IV

Cisco Certification:

Introduction To ISDN, Part V

Cisco Certification:

Building Your Own Home Lab, Part I

Cisco Certification:

Building Your Home Lab, Part II

Cisco Certification:

Taking Your First Certification Exam

Learning To Navigate Ciscos Online Documentation
Cisco Certification:

What To Expect On Exam Day

Cisco Certification:

A Survival Guide To The Cisco Cable Jungle

Introduction To ISDN, Part III: PAP
How To Become A True CCNA
Cisco CCNA Certification:

Why You NEED Hands-On Practice !

Cisco CCNP Certification: Introduction To BGP
Cisco CCNA Certification: Five Things To Do DURING The Exam
The Hidden Value Of Computer Certifcations
Cisco Certification: The OSI Model Isnt Just For Exams Anymore!
Cisco Certification: The OSI Model, Part I
Cisco CCNA Certification:

The Hidden Details Of Telnet

Cisco CCNA Certification:

Passwords, Passwords, Passwords!

Cisco Certification:

Suggested Toplogies For Your Home CCNA / CCNP Lab

Cisco CCNA Certification:

An Illustrated Guide To Ethernet CSMA/CD

Cisco Certification:

The Definitive Guide To ARP, IARP, RARP, and Proxy ARP

Cisco CCNA Candidate FAQ
Cisco CCNA / CCNP Certification:

OSPF ASBRs Explained And Illustrated

Cisco Certification:

Dont Delay Those CCNA Studies!

Cisco Certification: The Most Important Cisco Study Youll Ever Do
MCSE? CCNA? How To Choose The Best Computer Certification For You
Cisco CCNA / CCNP Home Lab Setup Tutorial:

How To Buy & Build A Frame Relay Switch

Cisco Routing:

ip Default-network Vs. Default Static Routes

Cisco CCNA / CCNP Home Lab Tutorial:

Buying And Configuring An Access Server

Cisco Routing For The CCNA And CCNP: Administrative Distance
Computer Certification:

Keeping Your Cool On Exam Day

Disclaimer

Please note that this website is for information only. Whilst every care has been taken to provide accurate information you should always seek the advice of a professional before attempting any repairs or making any purchase(s).
You need to take special care to ensure that the information given applies your system.

Loans
Loans information and advice from the experts at Debtbuster Loans.

Credit Cards
Credit cards information and advice from the experts at yourmoney.com
marker About Us | Site Map | Privacy Policy | Contact Us | ©2005-2006