Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OSPF and RIP question

Status
Not open for further replies.

preeda

Technical User
Oct 9, 2002
19
0
0
TH
Hello all,

As some of you may remember that I used to post the issue about ISDN backup.

The method that I normally do is by removing the backup interface BRI0 at the main link (serial0)
The question rise, when I issue command "sh ip route". The question are as following.

1) The administrative distance for OSPF and RIP are 110 and 120, respectively. After I remove the "backup interface BRI0" BRI0 change state from standby to up. So router should choose ospf as its routing protcol which has has lower admin distance. But please loock at the result of "sh ip route" here

R 10.11.63.223/32 [120/10] via 10.11.63.225, 00:00:10, BRI0
R 10.11.63.220/32 [120/10] via 10.11.63.225, 00:00:10, BRI0
O 10.11.127.156/30 [110/210] via 10.11.127.97, 02:21:19, Serial0.116
O 10.11.126.156/30 [110/210] via 10.11.127.97, 02:21:19, Serial0.116
O 10.11.127.158/32 [110/200] via 10.11.127.89, 02:21:19, Serial0.115


It use both of them at the same time !! Actually, the RIP is likely to come up before OSPF. Does anyone know, what 's happening ?

2) In my config I put the cost for two sub interfaces differently
se 0.115 cost 100 and se 0.116 cost 110. The ip route still display the same cost at both interface as default admin (100)

3) Any difference between cost and administrative distance ? (Start to confuse)

At the end, Thank you for any help from all of you and sorry for the long post.

Preeda

Config
interface Serial0
description link to HQ
backup delay 30 30
backup interface BRI0
no ip address
encapsulation frame-relay IETF
load-interval 30
frame-relay traffic-shaping
frame-relay class 64k
!
interface Serial0.115 point-to-point
ip address 10.11.127.90 255.255.255.252
ip ospf cost 100
frame-relay interface-dlci 115
!
interface Serial0.116 point-to-point
ip address 10.11.127.98 255.255.255.252
ip ospf cost 110
frame-relay interface-dlci 116
!
interface BRI0
ip unnumbered Loopback0
ip rip send version 2
ip rip receive version 2
no ip mroute-cache
encapsulation ppp
dialer idle-timeout 2000000
dialer string xxxxxxxxxx
dialer string xxxxxxxxxx
dialer-group 1
ppp authentication chap
!
router ospf 100
passive-interface BRI0
passive-interface Serial1
network 10.11.64.0 0.0.63.255 area 1
area 1 stub no-summary
area 1 range 10.11.64.0 255.255.192.0
!
router rip
version 2
passive-interface Serial0
passive-interface Serial0.115
passive-interface Serial0.116
passive-interface TokenRing0
network 10.0.0.0
!
no ip classless
ip route 0.0.0.0 0.0.0.0 10.18.124.1 150
!




 
In your 'router ospf' you have BRI0 as a passive-interface.

Dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top