Re: Why not use distance 171 150.1.111.3 0.0.0.0 1 in

From: Omer Ansari (omer@ansari.com)
Date: Sun Sep 08 2002 - 20:35:42 GMT-3


Peng,

when using distance cmd with ospf, you have to match against the RouterID
of the route and not the next hop IP address.

so in this case you could do
distance 171 150.1.3.3 0.0.0.0 1

where acl 1 matches 150.1.30.0/24

i however still stick to 0.0.0.0 255.255.255.255 in the distance command,
as in the lab it is more often that you're learning the route you're
trying to manipulate via more than 1ospf router.

also this brings up a question i have been thinking about..

why doesn't the distance command work well under the eigrp configuration?
is it because it already has two predefined AD's (90 and 170) and ignore
further attempts to tamper with the distance?

On Sat, 7 Sep 2002, Peng Zheng wrote:

> Hi,
>
> I'm wondering why distance 171 0.0.0.0 255.255.255.255
> is used under ospf in R4?
>
>
> Thank you for help.
>
> Best Wishes,
> Peng Zheng
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes
> http://finance.yahoo.com



This archive was generated by hypermail 2.1.4 : Mon Oct 07 2002 - 07:43:47 GMT-3