Re: Static Routes AD

From: James Ventre (messageboard@ventrefamily.com)
Date: Mon Apr 17 2006 - 10:25:44 GMT-3


Yes, I argued the same thing about a year ago - and lost the change in my
pocket :)

Since then, I have not forgotten this.

James

Plank, Jason wrote:

This is also correct. I remember one time arguing this specific point
with someone. I put a static route for 187.192.1.0/24 to show this:

R2#show ip ro 187.192.1.0

Routing entry for 187.192.1.0/24

Known via "static", distance 1, metric 0 (connected)

Routing Descriptor Blocks:

* directly connected, via Serial0

Route metric is 0, traffic share count is 1

-------------------

Jason Plank

Network Engineer

101 Bellevue Parkway

Wilmington, DE 19809

E-mail: JPlank@concordefs.com

Phone: 302-793-5913

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
James Ventre
Sent: Monday, April 17, 2006 9:10 AM
To: Radioactive Frog
Cc: ccielab
Subject: Re: Static Routes AD

>hence its 0 (zero).

You've made an assumption that all routes that show up as connected have

an AD of 0. I believe this is a false assumption.

When you add in the route - and it shows up as "connected" please

provide a "sh ip route x.x.x.x". I suspect the AD will be 1 and it will

be "connected".

James

Radioactive Frog wrote:

> Hi Group,

>

> Theoitcally all static routes have an administrative distance of 1, but

> something strange happening while doing it practically.

> It comes and shows the AD is directly connected , hence its 0 (zero).

>

> See the below configs

>

> 1) when I am issuing the command

>

> London(config)#

> London(config)#ip route 0.0.0.0 0.0.0.0 s0/0

>

> then the output of 'show ip route' is as below:-

>

> London#show ip route

> Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B -
BGP

> D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

> N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

> E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

> i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate

> default

> U - per-user static route, o - ODR

>

> Gateway of last resort is 0.0.0.0 to network 0.0.0.0

>

> Network 192.168.1.0 has 5 subnets

>

> R 192.168.1.0/27 [120/1] via 192.168.1.33 00:00:03 S0/0

> C 192.168.1.32/27 is directly connected to Serial0/0

> R 192.168.1.64/27 [120/1] via 192.168.1.33 00:00:03 S0/0

> C 192.168.1.96/27 is directly connected to FastEthernet0/0

> R 192.168.1.128/27 [120/2] via 192.168.1.33 00:00:03 S0/0

> S* 0.0.0.0/0 is directly connected to Serial0/0

>

> London#

>

> Note: it shows Directly connected hence the administrative distance is
ZERO.

>

> But when I issue the below command (static routes)

>

>

> London(config)#

> London(config)#no ip route 0.0.0.0 0.0.0.0 s0/0

> London(config)#

> London(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.33

> London(config)#

>

> The show ip route comes with :

>

> London(config)#

> London#show ip route

> Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B -
BGP

> D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

> N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

> E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

> i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate

> default

> U - per-user static route, o - ODR

>

> Gateway of last resort is 192.168.1.33 to network 0.0.0.0

>

> Network 192.168.1.0 has 5 subnets

>

> R 192.168.1.0/27 [120/1] via 192.168.1.33 00:00:01 S0/0

> C 192.168.1.32/27 is directly connected to Serial0/0

> R 192.168.1.64/27 [120/1] via 192.168.1.33 00:00:01 S0/0

> C 192.168.1.96/27 is directly connected to FastEthernet0/0

> R 192.168.1.128/27 [120/2] via 192.168.1.33 00:00:01 S0/0

> S* 0.0.0.0/0 [1/0] via 192.168.1.33 00:00:30 S0/0

>

> London#

>

>

> Note: here its showing as per the books and theory. but in above static

> route it shows directly connected (zero ad).

>

> Can anyone shed light on this ?

>

> Frog..

>

> _______________________________________________________________________

> Subscription information may be found at:

> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Mon May 01 2006 - 11:41:57 GMT-3