I seem to recall that the Administrative Distance of static routes that
specify a local interface has differed between 0 and 1 depending on IOS
version. I have a hand written note that (I think) says the value is 0 for
11.3 and 12.0; but is now 1 for newer IOS versions. If true, your results
will depend on which IOS your routers are running.
I'd appreciate comments for those who have more specific info. I'll see if I
can find time to experiment.

> -----Original Message-----
> From: Munit Singla [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 19, 2002 4:57 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Strange problem of route table [7:59533]
> 
> 
> Hi Godswill,
> Thanx for reply.I agree with u,but Still the doubt persists 
> if both the
> commands
> are used then both entries come to the route table.As per 
> your and mine
> theory
> also only better administrative distance should come into the 
> route table,but
> here both are introduced into the route table ,as it seems it has
> administrative
> distance of 1 for default gateway of its own 
> interface(obviosly zero is
> preffered then one)?
> Why both entries in route table.
> As confusion is creating from different answers so please 
> reply ,so that all
> confusions are over.
> Regards,
> Munit
> 
> Godswill Oletu wrote:
> 
> > Hi,
> >
> > Static routes can either have the AD of 1 or 0 depending on 
> the way you add
> > them to your router.
> > e.g lates RouterA interface FE0=192.168.0.1/27 and it is 
> connected to
> > RouterB FE1=192.168.0.2/27 & FE3=10.1.0.1/24.
> >
> > To define route to 10.1.0.1/24 on RouterA you have two methods.
> >
> > 1. RouterA# IP route 10.0.0.0 255.255.255.0 192.168.0.2 (AD=1)
> > 2. RouterA#IP route 10.0.0.0 255.255.255.0 FE0 (AD=0)
> >
> > If both commands are entered option 2 will be the prefered route.
> >
> > So you are correct, choose the one you prefer, it also 
> depends whether you
> > want to do load balancing, floating static route, etc...
> >
> > Regards.
> > Godswill Oletu
> >
> > ----- Original Message -----
> > From: Munit Singla 
> > To: 
> > Sent: Thursday, December 19, 2002 11:44 AM
> > Subject: Strange problem of route table [7:59533]
> >
> > > Hi all,
> > > Can anybody tell me when I add static route to my default 
> network it
> shows
> > > with Administrative distance of 1,whereas we know that 
> static routes to
> > our
> > > own interface have AD. of zero.
> > > Example
> > > C 10.77.152.128/25 is directly connected, FastEthernet1/0
> > > S* 0.0.0.0/0 [1/0] via 10.77.152.129
> > > is directly connected, FastEthernet1/0
> > >
> > > Its showing here with administrative distance of 1 the 
> route with default
> > > gateway of FastEthernet1/0.
> > > Please do clear me where I am wrong
> > > Thanx in advance
> > > Munit




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=59629&t=59533
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to