ospf problem

From: atul pawar (atulpawar@xxxxxxxxxxx)
Date: Sun Mar 24 2002 - 08:03:48 GMT-3


   
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