Re: Manipulating the installation of E2 routes

From: Huan Pham (huan@huanlan.com)
Date: Sat May 17 2008 - 08:21:26 ART


Hi Suryakant,

I think this is normal behavior. You should not use distance to tweak the routing WITHIN a single routing protocol. Distance is used to differentiate routes from DIFFERENT routing protocols.

Instead, if you can change metric for those E2 routes from the sources (R2, R3), then do it. Alternative is to change the network type

from "point-to-multipoint" to "point-to-multipoint non-broadcast", and change the distance for link to R2 & R3.

E.g.

R1#
int s1/0.1 multipoiont
 ip ospf network point-to-multipoint non-broadcast
router ospf 1
 neighbor 123.0.0.2 cost 200
 neighbor 123.0.0.3 cost 300

You will then only see one route coming from R2. If this route disapears for some reason, you have a backup route via R3.

Suryakant P <suryakant.pandian@gmail.com> wrote: Hi,

I have three router R1,R2 and R3.They are configured with ospf
point-to-multipoint network type.

I get one E2 on R1 from both the R2 and R3 with same metrics.

R1 installs both the routes in the routing table.

My requirement was to have only the route from R2 installed in the routing
table.

I used to following command under the routing process to achieve it:

distance 109

This command was not taking effect and both the routes were still installed
in the R1s table.

But as soon as R3 stopped advertising the route,R1 installed the route from
R2 with a distance of 109.

Is this an expected behavior?Am I missing anything here?

Thanks
With regards
Suryakant



This archive was generated by hypermail 2.1.4 : Mon Jun 02 2008 - 06:59:17 ART