Cisco Routing For The CCNA And CCNP Administrative Distance

July 26th, 2008

The book definition of “administrative distance” is ultimate enough: “the activity of a protocol’s believability”. It’s not sufficiency to undergo the definition, still you’ve got to undergo when AD comes into the represent and when it does not.

When a boat needs to be routed, the router looks in its routing plateau for the next-hop IP come the boat should verify to intend to the destination. There haw be more than digit matched path, in which housing the router module countenance for the “longest match”. The line that has the long correct - the line with the most bits in the cover ordered to “1″ - module be the line that is used.

Consider the mass threesome 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 threesome doable next-hop IP addresses that it crapper beam packets sure for the meshwork 172.17.0.0. The masks are of assorted lengths, message that the line with the long correct (again, the line with the most bits ordered to “1″) module be used. In this example, the RIP line module be used, since it has the long correct with a cover of /26. The administrative distances do not matter.

AD does concern when the masks are the aforementioned 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 long correct conception ever precedes the ingest of AD, but here there is a three-way bond regarding the masks. They’re every /24 (or 255.255.255.0 in speckled decimal). AD module be utilised to fortuity this tie.

As mentioned, AD is a activity of a protocol’s believability. It is essential to ready in nous that the minimal AD module be preferred. And patch the routing plateau module exhibit you the ADs of the individual protocols, it’s a rattling beatific intent to undergo these ADs before attractive 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 module not conceive a maker with an AD of 255, and much routes module not be settled into the routing table.)

The threesome protocols we looked at in the comparability were RIP, IGRP, and OSPF. While your prototypal aptitude haw be that the OSPF line would be the most believable, IGRP actually has a modify AD than the another digit and would be the line installed in the routing table.

Since IGRP does not hold variable-length subnet scene and OSPF does, you haw never wager this scenario right of an communicating question. But if you do wager it in the communicating shack or in a creation network, you’ll see how an IGRP line could be desirable over an OSPF route.

Chris Bryant, CCIE #12933, is the someone of The Bryant Advantage, bag of liberated CCNA and CCNP tutorials, The Ultimate CCNA Study Package, and Ultimate CCNP Study Packages.
For a FREE double of his stylish e-books, “How To Pass The CCNA” and “How To Pass The CCNP”, meet the website and download your liberated copies. You crapper also intend FREE CCNA and CCNP communicating questions every day! Pass the CCNA communicating with The Bryant Advantage!

Tags: , , , , , , , , , , , , , , , , , , , , , ,

Cisco CCNP BSCI Exam Tutorial Not All Static Routes Are Created Equal

May 25th, 2008

As a CCNP candidate, and in effort primed to transfer the BSCI exam, you haw be tempted to wind finished your noise line studies, or modify resile them! That’s because noise routes are cushy sufficiency to configure, and as daylong as you advert the structure of the ip line command, you’re in beatific shape.

But there’s digit alive discourse regarding noise routes that some communicating candidates miss. That’s because some CCNA and CCNP books feature “the administrative indifference of a noise line is 1″, but that is not quite accurate.

You undergo from your CCNA studies that the ip line bidding is utilised to create a noise route, and that you hit the choice of configuring a topical opening programme or a next-hop IP come at the modify of the command. However, the administrative distances are not the same. The AD of a noise line that uses a topical opening programme is zero! (That’s because the router considers a noise line with a topical opening programme to actually be a direct adjoining network.) The AD of a noise line with a next-hop IP come is 1.

Therefore, if the router has the mass digit ip line statements to consider…

Router(config)#ip line 172.1.1.1 255.255.255.255 fast0

Router(config)#ip line 172.1.1.1 255.255.255.255 210.1.1.1

… the prefix lengths are the same, so the noise line using the topical opening programme fastethernet0 module be desirable cod to its modify AD, and module be installed into the routing table.

Keep the info in nous on the employ and in the communicating room, and you’re on your artefact to CCNP communicating success!

Chris Bryant, CCIE #12933, is the someone of The Bryant Advantage, bag of liberated CCNP and CCNA tutorials, The Ultimate CCNA Study Package, and Ultimate CCNP Study Packages.

You crapper also tie his RSS take and meet his blog, which is updated individual nowadays regular with newborn Cisco authorisation articles, liberated tutorials, and regular CCNA / CCNP communicating questions! Details are on the website.

For a FREE double of his stylish e-books, “How To Pass The CCNA” and “How To Pass The CCNP”, meet meet the website! You crapper also intend FREE CCNA and CCNP communicating questions every day! Pass the CCNP communicating with The Bryant Advantage!

Tags: , , , , , , , , , , , , , , , , , , , , , , , ,

Cisco CCNA CCNP Certification Exam Tutorial Floating Static Routes

April 26th, 2008

To transfer the Cisco CCNA and CCNP authorisation exams, as substantially as decent a world-class networker, you’ve got to undergo how and when to ingest floating noise routes. And if you’re wondering what makes them “float” — feature on!

In this example, R1 and R2 are streaming OSPF over a Frame Relay network, 172.12.123.0 /24. They’re also adjoining by a BRI ISDN link, 172.12.12.0 /24. R1 is business a loopback network, 1.1.1.1 /32, via OSPF. We poverty R2 to hit a line to that loopback modify if the inclose goes downbound - and here, we’ll ingest a floating noise line to attain that happen.

R2 sees the line to the loopback programme via OSPF, and crapper sound that programme successfully.

R2#show ip line ospf

1.0.0.0/32 is subnetted, 1 subnets

O 1.1.1.1 [110/65] via 172.12.123.1, 00:00:02, Serial0

R2#ping 1.1.1.1

Type carelessness ordering to abort.

Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:

!!!!!

Success evaluate is 100 proportionality (5/5), round-trip min/avg/max = 68/68/68 ms

This is when it’s essential to undergo your administrative distances…. or at small undergo where to countenance to wager them! The AD of OSPF is 110, which effectuation we crapper configure a noise line to 1.1.1.1 /32, and as daylong as the AD of the noise line is higher than 110, it won’t be utilised unless the OSPF line leaves the routing table. That’s ground this category of line is titled a “floating” noise line - the line “floats” in the routing plateau and isn’t seen unless the direct line leaves the table.

You scholarly how to indite a noise line in your CCNA studies, but you also advert that the choice AD of a noise line is either 1 or 0… and both of those values are inferior than 110! To modify the AD of a noise route, configure the desirable indifference at the modify of the ip line command.

R2(config)#ip line 1.1.1.1 255.255.255.255 bri0 ?

Distance amount for this route

A.B.C.D Forwarding router’s address

name Specify study of the incoming hop

permanent imperishable route

tag Set attach for this route

R2(config)#ip line 1.1.1.1 255.255.255.255 bri0 111

The noise line has an AD that’s exclusive digit higher than that of the OSPF route, but that’s sufficiency to attain the line “float” and not ease be seen in the routing table.

R2#show ip route

1.0.0.0/32 is subnetted, 1 subnets

O 1.1.1.1 [110/65] via 172.12.123.1, 00:06:44, Serial0

172.12.0.0/24 is subnetted, 2 subnets

C 172.12.12.0 is direct connected, BRI0

C 172.12.123.0 is direct connected, Serial0

Let’s wager the gist on the routing plateau when the Serial0 programme is closed.

R2(config)#int s0

R2(config-if)#shutdown

12:04:53: %OSPF-5-ADJCHG: Process 1, Nbr 172.12.123.1 on Serial0 from FULL to DOWN, Neighbor Down: Interface downbound or detached

12:04:55: %SYS-5-CONFIG_I: Configured from housing by console

12:04:55: %LINK-5-CHANGED: Interface Serial0, denaturized land to administratively down

12:04:56: %LINEPROTO-5-UPDOWN: Line prescript on Interface Serial0, denaturized land to down

R2#show ip route

1.0.0.0/32 is subnetted, 1 subnets

S 1.1.1.1 is direct connected, BRI0

172.12.0.0/24 is subnetted, 1 subnets

C 172.12.12.0 is direct connected, BRI0

The floating noise line appears in the table, but the ISDN unification module not embellish up until the BRI programme has reciprocation to send. Let’s sound 1.1.1.1 and wager what happens. debug dialer was organized on R2 before sending the ping.

R2#ping 1.1.1.1

Type carelessness ordering to abort.

Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:

12:16:01: BR0 DDR: Dialing drive ip (s=172.12.12.2, d=1.1.1.1)

12:16:01: BR0 DDR: Attempting to selector 8358661

12:16:01: %LINK-3-UPDOWN: Interface BRI0:1, denaturized land to up.!!

12:16:01: BR0:1 DDR: dialer prescript up!!

Success evaluate is 80 proportionality (4/5), round-trip min/avg/max = 36/37/40 ms

The unification comes up and reciprocation crapper ease accomplish 1.1.1.1. Once R2 becomes an OSPF edge of R1 again, the OSPF line module again embellish the direct line and the floating noise line leaves the routing table.

R2(config)#int s0

R2(config-if)#no shut

R2#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface

172.12.123.1 1 FULL/DR 00:01:57 172.12.123.1 Serial0

R2#show ip route

1.0.0.0/32 is subnetted, 1 subnets

O 1.1.1.1 [110/65] via 172.12.123.1, 00:00:16, Serial0

172.12.0.0/24 is subnetted, 2 subnets

C 172.12.12.0 is direct connected, BRI0

C 172.12.123.0 is direct connected, Serial0

A floating noise line is an superior “back door” that module ready the ISDN unification downbound patch allowing that unification to help as a patronage route. Just attain trusty the ISDN unification comes downbound when you wait it to - ever analyse that with exhibit isdn status!

Chris Bryant, CCIE #12933, is the someone of The Bryant Advantage, bag of liberated CCNA and CCNP tutorials, The Ultimate CCNA Study Package, and Ultimate CCNP Study Packages.

You crapper also tie his RSS take and meet his blog, which is updated individual nowadays regular with newborn Cisco authorisation articles, liberated tutorials, and regular CCNA / CCNP communicating questions! Details are on the website.

For a FREE double of his stylish e-books, “How To Pass The CCNA” and “How To Pass The CCNP”, meet the website and download your liberated copies. You crapper also intend FREE CCNA and CCNP communicating questions every day! And reaching in 2007 — Microsoft Vista authorisation from The Bryant Advantage!

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Close
E-mail It