Google
Useful Links: ____ Article Search -___ Link Parters ___- Ebook Library___- Product Search

place1holder

.
New Articles
Ebook Library
Link Exchange
Advertising Space
Computer Directory
Join Our Newsletter

Name:
Email:


You will recieve a weekly email that contains new articles, useful product recommendations & more! [Privacy]



place2holder



Further
Reading ...
The Another World: Outsourcing From Inside
The Another World: Outsourcing From Inside Speaking of outsourcing I mean a wider sense than just hiring of manpower from abroad for some remote work. I can mark out four types here: 1.Outsourcing itself. A US or Western Europe company (let’s call...

Safe Web Surfing Tips
Safe web surfing on the Internet continues to get harder every day. Even though you can't eliminate all of the risks, there are ways you can reduce some of the danger. Anything you download from the Internet is a threat but a few software types...

How To Google, or How To Be Easily Distracted
I set out with the intention of writing a self improvement type article with an original temporary working title of 'How To Overcome Fear'. Being the sound marketing man that I am though, my first action was to research whether this was relevant to...

Successful Documentation Projects – Part 2 of 3 – ‘Specifying’
So you’re responsible for managing a documentation project. You know who your audience is, what they’re trying to achieve, how the product enables them to achieve it, and what the audience requires of the help. Now it’s time to spec out your...


 

Cisco Routing For The CCNA & CCNP: Administrative Distance




Written By:
Chris Bryant, CCIE #12933

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 - continued below ...





continued ...
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.


About the Author

Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage (http://www.thebryantadvantage.com), home of free CCNA and CCNP tutorials! For my FREE "How To Pass The CCNA" or "CCNP" ebook, write to chris@thebryantadvantage.com !


_Additional Resources ...









Email Tips for Coaches
Coaching is a relationship field. Many of us offer unlimited email along with our coaching. Here are some ways you can make your emails professional yet engaging. 1. Include a quotation that reveals something about you and your philosophy. I use...

Why Budding NetPreneurs Fail
NetPreneurs fail all too often because they wrongly assume that marketing on the Net is a no cost business when, in reality it is simply a low cost or targeted cost business. The most successful NetPreneurs invest either targeted advertising...

Unrelated Inventiions: Catering for the uncommon denominator
This is a first in a series of Software/Shareware developer profiles as presented by MP3-CDBurner.com. Let's get started with a brief profile of Unrelated Inventions. Unrelated Inventions - http://www.unrelatedinventions.com is an umbrella for...



This website is powered by Hostland ...