RE: ospf problem

From: Nelson Salvatorelli (nsalvato@xxxxxxxxx)
Date: Sun Mar 24 2002 - 19:23:49 GMT-3


   
Hi,

I think your problem is that both routes are being learnt from the same
interface (serial 0) and no doubt modifiying the interface cost would
make the cost change on both routes.

Another way of doing this is to include the routes by redistribution
into OSPF, and when redistributing connected from Ethernet0 in r2, you
set the route as External Type 1, so it will accumulate the cost from
Ethernet and the WAN link. Instead, if you leave the other in r1 as
default (External type 2) it will not accumulate the cost, therefore, it
will be a better metric in r3.

Try it and see the results.

Cheers,

-nelson

> -----Original Message-----
> From: atul pawar [mailto:atulpawar@hotmail.com]
> Sent: 24 March 2002 13:52
> To: engelhard@netmarks.co.jp; ccielab@groupstudy.com
> Subject: Re: ospf problem
>
>
> Hi
> That solved my problem many thanks for that. But I am trying
> to do it by
> another method. I tried to use policy routing but no luck.
> How can achieve
> the same result using a differnet method?
> Cheers
> Atul
>
>
> >From: "Engelhard M. Labiro" <engelhard@netmarks.co.jp>
> >Reply-To: "Engelhard M. Labiro" <engelhard@netmarks.co.jp>
> >To: <ccielab@groupstudy.com>
> >Subject: Re: ospf problem
> >Date: Sun, 24 Mar 2002 20:32:13 +0900
> >
> >Hi Atul,
> >You should assign the cost on an interface where it
> >first receives a route to the network that you want to influence its
> >path cost. As in your scenario, r1`s path to 153.1.43.0/25
> is through
> >interface Ethernet 0 , so to change the cost learned by r3,
> assign it
> >on r1`s Ethernet 0 interface, not on r1`s Serial 0.
> >
> >
> >----- Original Message -----
> >From: "atul pawar" <atulpawar@hotmail.com>
> >To: <ccielab@groupstudy.com>
> >Sent: Sunday, March 24, 2002 8:03 AM
> >Subject: ospf problem
> >
> >
> > > Hi Guyes
> > > I my scenario I have two equal cost OSPF paths to the network
> >153.1.43.0/25
> > > on r3 via r1 and r2 . I am trying to force OSPF to choose one of
> > > them as preferred route. To influence the path selection
> I am using
> > > "ip ospf
> >cost
> > > 71" on one router i.e r1 . As per my understanding this
> should make
> > > this router less preferable but somehow this is not
> working and on the
> >router
> >r3
> > > I can still see two routes i.e form r1 and r2 . I am posting the
> > > config
> >and
> > > routing table. Please le me know if I am missing
> something simple.
> > > Any
> >help
> > > would be appreciated.
> > > Cheers
> > > Atul
> > >
> > > r1#sh run
> > > Building configuration...
> > >
> > > Current configuration:
> > > !
> > > version 11.2
> > > no service password-encryption
> > > no service udp-small-servers
> > > no service tcp-small-servers
> > > !
> > > hostname r1
> > > !
> > > !
> > > no ip domain-lookup
> > > !
> > > interface Loopback1
> > > ip address 153.1.101.1 255.255.255.0
> > > !
> > > interface Loopback10
> > > ip address 12.2.3.2 255.255.0.0
> > > !
> > > interface Ethernet0
> > > ip address 153.1.43.33 255.255.255.128
> > > bridge-group 1
> > > !
> > > interface Serial0
> > > ip address 153.1.200.3 255.255.255.0
> > > encapsulation frame-relay
> > > ip ospf cost 71
> > > ip ospf priority 0
> > > bandwidth 64000
> > > frame-relay map bridge 103 broadcast
> > > frame-relay map ip 153.1.200.1 103 broadcast
> > > frame-relay map ip 153.1.200.2 103 broadcast
> > > frame-relay map ip 153.1.200.4 103 broadcast
> > > bridge-group 1
> > > !
> > > interface Serial1
> > > ip address 153.1.53.67 255.255.255.224
> > > clockrate 64000
> > > !
> > > router ospf 100
> > > network 153.1.200.3 0.0.0.0 area 0
> > > network 153.1.101.1 0.0.0.0 area 0
> > > network 153.1.43.33 0.0.0.0 area 1
> > > network 153.1.53.67 0.0.0.0 area 51
> > > !
> > > no ip classless
> > > !
> > > bridge 1 protocol ieee
> > > !
> > > line con 0
> > > exec-timeout 0 0
> > > logging synchronous
> > > line aux 0
> > > line vty 0 4
> > > login
> > > !
> > > end
> > >
> > > r3#sh ip rou
> > > Codes: C - connected, S - static, I - IGRP, R - RIP, M -
> mobile, B - BGP
> > > D - EIGRP, EX - EIGRP external, O - OSPF, IA -
> OSPF inter area
> > > N1 - OSPF NSSA external type 1, N2 - OSPF NSSA
> external type 2
> > > E1 - OSPF external type 1, E2 - OSPF external type
> 2, E - EGP
> > > i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * -
> > > candidate default
> > > U - per-user static route, o - ODR
> > >
> > > Gateway of last resort is not set
> > >
> > > 153.1.0.0/16 is variably subnetted, 7 subnets, 4 masks
> > > C 153.1.200.0/24 is directly connected, Serial0
> > > O IA 153.1.43.0/25 [110/74] via 153.1.200.3, 00:18:42, Serial0
> > > [110/74] via 153.1.200.4, 00:18:42, Serial0
> > > O IA 153.1.53.64/27 [110/128] via 153.1.200.3,
> 00:18:42, Serial0
> > > O 153.1.105.5/32 [110/65] via 153.1.200.1, 00:18:42, Serial0
> > > O 153.1.102.2/32 [110/65] via 153.1.200.4, 00:18:42, Serial0
> > > O 153.1.101.1/32 [110/65] via 153.1.200.3, 00:18:42, Serial0
> > > C 153.1.103.0/24 is directly connected, Loopback1
> > > 186.1.0.0/24 is subnetted, 1 subnets
> > > O IA 186.1.1.0 [110/74] via 153.1.200.1, 00:18:42, Serial0



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:57:20 GMT-3