Re: OSPF preferable router or path

From: Jennifer Bellucci (Jennifer_bellucci@hotmail.com)
Date: Sat Dec 21 2002 - 22:59:56 GMT-3


Try this, in router-config mode use the "distance (ad) x.x.x.x (mask)"
command. Enter the ip address of the router originating the network in
question. You can lower it or make it higher depending on what you want to
do.

Here's an example:

To change route's coming in from neighbour 172.100.200.1 to ad of 201

!
router ospf 1
distance 201 172.100.200.1 0.0.0.0
end
!

I sometimes have to modify the AD of OSPF from its default to get it to
work. You might also have to enter a network from the neighbour to make it
work...like..."distance 201 10.10.10.0 0.0.0.255" - (net 10.10.10.0 coming
from the neighbour in question)

You can always try some funky route-maps if you like or do filtering.

You can also use the above method for EIGRP ( took me ages to finally learn
this work-around...slow learner)

Let me know if I helped or confused you even more.

Jbell
----- Original Message -----
From: "Desmond" <cciestudy@sympatico.ca>
To: <ccielab@groupstudy.com>
Sent: Sunday, December 22, 2002 12:30 AM
Subject: OSPF preferable router or path

> I have following scenario. R1, R2 and R3 are on Ethernet and in an OSPF
> Totally Stub Area. Both R1 and R2 area ABRs and send default router to R3.
>
>
> R1 R2
> | |
> | |
> -----------------
> |
> R3
>
>
> The question is how I can make R2 is a preferable router or exit point.
> Here is the solution from some Lab workbooks and scenarios.
>
> R1
> int E0
> ip ospf cost 20
>
> R2
> int E0
> ip ospf cost 5
>
> I tested with my home lab. It doesn't work. I think the "ip ospf cost" is
> local significant.
>
> Can someone provide me answer ?
>
> Thanks in advance !
>
>
> Des
> .
.



This archive was generated by hypermail 2.1.4 : Fri Jan 17 2003 - 17:21:50 GMT-3