IMHO, it is not correct. Have you checked it ? I mean,
not only by looking at 'show ip route' output, but really
checking that route has AD of 0 ?

It is true that it is considered as directly connected, but
it still has AD of one, and it can be easily proved ! Just
add 'debug ip routing' before you add route, and you will
see that it will be added into routing table with AD of 1.

If you add two routes, for example:

  ip route 10.10.10.0 255.255.255.0 ethernet0
  ip route 10.10.10.0 255.255.255.0 10.10.20.1

which one will be added into routing table (considering that
you have 10.10.20.1 route in routing table, and that ethernet0
interface is up)? Guess what ? Both will be there ! Of course,
both will be there 'cause both have the same AD (1)!

Regards,
  Saša


suaveguru wrote:
> 
> This is correct , especially true if you want to avoid
> ebgp multihop statement in BGP you will use a static
> route to interface which treats it as though it is
> directly connected
> 
> hope this helps
> 
> suaveguru
> --- John Neiberger <[EMAIL PROTECTED]> wrote:
> > Actually, I believe that a static route pointing to
> > a next hop has an AD of
> > 1, but a static route pointing to an interface shows
> > as directly connected
> > and has an AD of 0.
> >
> > I just tested this to be sure, but someone else
> > might want to verify it.
> >
> > John
> >
> > >  >
> > >  > A directly connected network has an AD=0.
> > >  > A static route via Interface has AD=0
> > >  > A static route via IP address has AD=1
> > Correct?
> > >
> > >  A static route via interface cannot have AD of 0.
> > >  It can have AD from 1 (default) to 255, just like
> > >  any other static route.
> > >
> > >  Sasa
> > >
> > >  _________________________________
> > >  FAQ, list archives, and subscription info:
> > http://www.groupstudy.com/list/cisco.html
> > >  Report misconduct and Nondisclosure violations to
> > [EMAIL PROTECTED]
> >
> >
> >
> >
> >
> >
> _______________________________________________________
> > Send a cool gift with your E-Card
> > http://www.bluemountain.com/giftcenter/
> >
> >
> > _________________________________
> > FAQ, list archives, and subscription info:
> > http://www.groupstudy.com/list/cisco.html
> > Report misconduct and Nondisclosure violations to
> [EMAIL PROTECTED]
> 
> __________________________________________________
> Get personalized email addresses from Yahoo! Mail - only $35
> a year!  http://personal.mail.yahoo.com/
> 
> _________________________________
> FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
> Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

_________________________________
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