RE: OSPF virtual link issue

From: Erhan Kurt (kurt@xxxxxxxxxxxxxxx)
Date: Mon May 20 2002 - 03:50:13 GMT-3


   
Please send your configs again, there was a problem with your copy-paste.

-----Original Message-----
From: CCIE-Maillist [mailto:CCIE-Maillist@foxgal.com]
Sent: 20 May}s 2002 Pazartesi 03:52
To: ccielab@groupstudy.com
Subject: OSPF virtual link issue

Hello Group,

Does anyone have any suggestions as to the reason for this OSPF behavior?

I have 3 routers. One router (router 5) is connected to area 0. The other
two routers (r3 & r1) are connected to r5 via frame relay, in area 1, AND
connected to each other via ethernet in area 2.

This lab says that R5 should prefer the ethernet backbone routes between r1
and r3 via r3, not r1. To do this, I modified the cost of the ethernet. The
lab ask says that r5 should be the DR for area 0. To to do this, I set the
ospf prio to 0 on the frame links on each of the remote routers (r1 & r3).
Everything seems fine. There is a virtual link on each of the routers (r1 +
r3) to r5. The link on r3 always comes up fine but the link on r1 will only
come up if I shutdown the serial (fram) on r3, reload ospf on r1, let it
estab its adj. and virtual link, then bring up the serial on r3 and let it
come up. If r3 is up first, the virtual interface on r1 will never
establish.

Below, are the configs for each of the 3 routers. Thanks- David

-------------------------R5

r5#s
Building configuration...

Current configuration : 6166 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname r5
!
enable password cisco
!
ip subnet-zero
!
!
no ip domain-lookup
!
ip audit notify log
ip audit po max-events 100
ip ssh time-out 120
ip ssh authentication-retries 3
ipx routing 0050.736c.2dff
frame-relay switching
!
isdn switch-type basic-ni
call rsvp-sync
!
!
!
!
!
!
!
dlsw local-peer peer-id 200.150.150.5
dlsw remote-peer 0 tcp 200.100.100.14
dlsw remote-peer 0 tcp 150.10.1.1
dlsw remote-peer 0 tcp 150.10.3.3
!
interface Loopback0
 ip address 150.10.5.5 255.255.255.0
 ip ospf network point-to-point
!
interface Loopback1
 ip address 200.150.150.5 255.255.255.0
 ip ospf network point-to-point
!
interface Ethernet0/0
 ip address 150.10.50.5 255.255.255.0
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 cisco
 half-duplex
 ipx network 50
 no cdp enable
!
interface BRI0/0
 ip address 150.10.65.1 255.255.255.252
 encapsulation ppp
 ip ospf cost 64
 ip ospf demand-circuit
 dialer map ip 150.10.65.2 name r6 broadcast 8358662
 dialer map ip 150.10.65.2 name r6 broadcast 8358664
 dialer load-threshold 1 either
 dialer-group 1
 isdn switch-type basic-ni
 isdn spid1 0835866101 8358661
 isdn spid2 0835866301 8358663
 no cdp enable
 ppp callback request
 ppp authentication pap callin
 ppp pap sent-username cisco6 password 7 104D000A0618
 ppp multilink
!
interface Serial0/0
 no ip address
 encapsulation frame-relay
!
interface Serial0/0.1 point-to-point
 backup interface BRI0/0
 ip address 150.10.60.5 255.255.255.0
 ip ospf network point-to-multipoint
 ip ospf priority 200
 ipx access-group no-novs1 out
 ipx network 60
 no cdp enable
 frame-relay interface-dlci 101
!
interface Serial0/0.2 multipoint
 ip address 150.10.10.5 255.255.255.240
 ip ospf hello-interval 10
 ip ospf priority 200
 ipx network 10
 ipx bandwidth-percent eigrp 10 25
 frame-relay map ipx 10.0010.7b36.f01a 102 broadcast frame-relay map ipx
10.0050.736c.2dff 103 broadcast frame-relay map ip 150.10.10.1 102
broadcast frame-relay map ip 150.10.10.3 103 broadcast frame-relay map ip
150.10.10.5 102 broadcast frame-relay map ipx 10.0010.7b37.d28f 103
broadcast ! interface Serial0/0.3 point-to-point ip address 150.10.40.5
255.255.255.0 ipx network 40 no cdp enable
 frame-relay interface-dlci 104
!
interface Serial0/1
 no ip address
 shutdown
 no cdp enable
!
interface Serial1/0
 no ip address
 shutdown
 no cdp enable
!
interface Serial1/1
 no ip address
 encapsulation frame-relay
 clockrate 64000
 frame-relay intf-type dce
 frame-relay route 301 interface Serial1/4 103
!
interface Serial1/2
 no ip address
 encapsulation frame-relay
 clockrate 56000
 frame-relay intf-type dce
 frame-relay route 100 interface Serial1/4 101
!
interface Serial1/3
 no ip address
 encapsulation frame-relay
 clockrate 56000
 frame-relay intf-type dce
 frame-relay route 201 interface Serial1/4 102
!
interface Serial1/4
 no ip address
 encapsulation frame-relay
 clockrate 56000
 frame-relay intf-type dce
 frame-relay route 101 interface Serial1/2 100
 frame-relay route 102 interface Serial1/3 201
 frame-relay route 103 interface Serial1/1 301
 frame-relay route 104 interface Serial1/7 401
!
interface Serial1/5
 no ip address
 shutdown
 no cdp enable
!
interface Serial1/6
 no ip address
 shutdown
 no cdp enable
!
interface Serial1/7
 no ip address
 encapsulation frame-relay
 clockrate 56000
 frame-relay intf-type dce
 frame-relay route 401 interface Serial1/4 104
!
router ospf 1
 log-adjacency-changes
 area 0 authentication message-digest
 area 1 range 150.10.10.0 255.255.255.0
 area 1 virtual-link 150.10.1.1 message-digest-key 1 md5 cisco area 1
virtual-link 150.10.30.3 authentication message-digest area 1 virtual-link
150.10.30.3 message-digest-key 1 md5 cisco area 5 range 150.10.65.0
255.255.255.0 redistribute igrp 1 metric 20 metric-type 1 subnets network
150.10.5.5 0.0.0.0 area 0 network 150.10.10.0 0.0.0.15 area 1 network
150.10.50.0 0.0.0.255 area 0 network 150.10.60.0 0.0.0.255 area 5 network
150.10.65.0 0.0.0.3 area 5 network 200.150.150.5 0.0.0.0 area 0 neighbor
150.10.10.3 priority 255 neighbor 150.10.10.1 ! router igrp 1 redistribute
ospf 1 metric 10000 100 255 1 1500 match internal external 1 external 2
nssa-external 1 nssa-external 2 passive-interface BRI0/0 network
150.10.0.0 ! router bgp 250 no synchronization bgp log-neighbor-changes
bgp confederation identifier 22 bgp confederation peers 6 8
 network 150.10.20.0 mask 255.255.255.0
 network 150.10.30.0 mask 255.255.255.0
 network 150.10.45.0 mask 255.255.255.0
 network 150.10.50.0 mask 255.255.255.0
 neighbor 150.10.1.1 remote-as 250
 neighbor 150.10.1.1 update-source Loopback0
 neighbor 150.10.1.1 route-reflector-client
 neighbor 150.10.2.2 remote-as 8
 neighbor 150.10.2.2 ebgp-multihop 5
 neighbor 150.10.2.2 update-source Loopback0
 neighbor 150.10.3.3 remote-as 250
 neighbor 150.10.3.3 update-source Loopback0
 neighbor 150.10.3.3 route-reflector-client
 neighbor 150.10.4.4 remote-as 250
 neighbor 150.10.4.4 update-source Loopback0
 neighbor 150.10.4.4 route-reflector-client
 neighbor 150.10.6.6 remote-as 6
 neighbor 150.10.6.6 ebgp-multihop 3
 neighbor 150.10.6.6 update-source Loopback0
 no auto-summary
!
ip classless
ip http server
ip ospf name-lookup
ip pim bidir-enable
!
dialer-list 1 protocol ip permit
no cdp run
!
!
!
ipx router eigrp 10
 distribute-sap-list no-novs1 out Serial0/0.1
 network 50
 network 60
 network 40
 network 10
!
!
ipx router rip
 no network 50
 no network 60
 no network 10
 no network 40
!
!
!
!
ipx access-list sap no-novs1
 deny FFFFFFFF 0 NOVS1
 permit FFFFFFFF
!
dial-peer cor custom
!
!
!
!
alias configure r router
alias exec r sh ip ro
alias exec ri sh ipx ro
alias exec c conf t
alias exec i sh ip int brie
alias exec b sh ip b
alias exec bs sh ip b s
alias exec o sh ip o
alias exec on sh ip o nei
alias exec s sh run
alias exec sh1 sh run | beg
alias exec sh2 sh run | inc
!
line con 0
 exec-timeout 0 0
 password cisco
 logging synchronous
line aux 0
line vty 0 4
 exec-timeout 0 0
 password cisco
 logging synchronous
 login
!
no scheduler allocate
end

r5#
------------------------------R1

r1#s
Building configuration...

Current configuration : 2362 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname r1
!
logging buffered 4096 debugging
enable password cisco
!
ip subnet-zero
!
!
no ip domain-lookup
!
ip audit notify log
ip audit po max-events 100
ip ssh time-out 120
ip ssh authentication-retries 3
ipx routing 0010.7b36.f01a
!
call rsvp-sync
!
!
!
!
!
!
!
dlsw local-peer peer-id 150.10.1.1 promiscuous
dlsw bridge-group 1
!
interface Loopback0
 ip address 150.10.1.1 255.255.255.0
 ip ospf network point-to-point
!
interface Ethernet0/0
 ip address 150.10.20.1 255.255.255.128
 ip irdp
 ip irdp preference 2147483647
 ip ospf cost 150
 half-duplex
 ipx network 1
 ipx network 2 encapsulation SAP secondary
 ipx update interval sap passive
 bridge-group 1
!
interface Serial0/0
 ip address 150.10.10.1 255.255.255.240
 encapsulation frame-relay
 ip ospf hello-interval 10
 ip ospf priority 0
 ipx network 10
 ipx bandwidth-percent eigrp 10 25
 no fair-queue
 frame-relay map ipx 10.0010.7b36.f01a 201 broadcast frame-relay map ipx
10.0050.736c.2dff 201 broadcast frame-relay map ip 150.10.10.1 201
broadcast frame-relay map ip 150.10.10.3 201 broadcast frame-relay map ip
150.10.10.5 201 broadcast ! router ospf 1 log-adjacency-changes area 0
authentication message-digest area 1 virtual-link 200.150.150.5
message-digest-key 1 md5 cisco area 2 range 150.10.20.0 255.255.255.0
network 150.10.1.1 0.0.0.0 area 1 network 150.10.10.0 0.0.0.15 area 1
network 150.10.20.0 0.0.0.127 area 2 ! router bgp 250 no synchronization
bgp log-neighbor-changes bgp confederation identifier 250 bgp
confederation peers 6 8
 neighbor 150.10.5.5 remote-as 250
 no auto-summary
!
ip classless
ip http server
ip pim bidir-enable
!
no cdp run
!
!
!
ipx router eigrp 10
 network 10
!
!
ipx router rip
 no network 10
!
!
!
bridge 1 protocol ieee
!
dial-peer cor custom
!
!
!
!
alias configure r router
alias exec r sh ip ro
alias exec ri sh ipx ro
alias exec c conf t
alias exec i sh ip int brie
alias exec b sh ip b
alias exec bs sh ip b s
alias exec o sh ip o
alias exec on sh ip o nei
alias exec s sh run
alias exec sh1 sh run | beg
alias exec sh2 sh run | inc
!
line con 0
 exec-timeout 0 0
 password cisco
 logging synchronous
line aux 0
line vty 0 4
 exec-timeout 0 0
 password cisco
 logging synchronous
 login
!
no scheduler allocate
end

r1#

---------------------------R3

R3#s
Building configuration...

Current configuration : 2622 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R3
!
boot system tftp c1600-bnor2sy56i-l.121-12.bin 99.1.1.99 logging buffered
4096 debugging enable password cisco ! ! ! ! ! ip subnet-zero no ip
domain-lookup ! ipx routing 0010.7b37.d28f
!
!
!
!
dlsw local-peer peer-id 150.10.3.3 promiscuous
dlsw bridge-group 1
!
interface Loopback0
 ip address 150.10.3.3 255.255.255.0
 ip ospf network point-to-point
!
interface Loopback33
 ip address 150.10.30.3 255.255.255.248
 ip ospf network point-to-point
 ipx network 3
!
interface Ethernet0
 description ip add 99.1.1.9 255.0.0.0
 ip address 150.10.20.3 255.255.255.128
 ip irdp
 ip ospf cost 100
 ip ospf priority 0
 ipx network 1
 ipx update interval sap passive
 bridge-group 1
!
interface Serial0
 ip address 150.10.10.3 255.255.255.240
 encapsulation frame-relay
 ip ospf hello-interval 10
 ip ospf priority 255
 shutdown
 ipx network 10
 ipx bandwidth-percent eigrp 10 25
 frame-relay map ipx 10.0050.736c.2dff 301 broadcast frame-relay map ip
150.10.10.1 301 broadcast frame-relay map ip 150.10.10.3 301 broadcast
frame-relay map ip 150.10.10.5 301 broadcast frame-relay map ipx
10.0010.7b37.d28f 301 broadcast ! router ospf 1 log-adjacency-changes area
0 authentication message-digest area 1 range 150.10.30.0 255.255.255.0
area 1 virtual-link 200.150.150.5 authentication message-digest area 1
virtual-link 200.150.150.5 message-digest-key 1 md5 cisco area 2 range
150.10.20.0 255.255.255.0 redistribute connected subnets route-map loopback
network 150.10.3.3 0.0.0.0 area 1 network 150.10.10.0 0.0.0.15 area 1
network 150.10.20.0 0.0.0.127 area 2 network 150.10.30.0 0.0.0.7 area 1 !
router bgp 250 no synchronization bgp log-neighbor-changes bgp
confederation identifier 250 bgp confederation peers 6 8
 neighbor 150.10.5.5 remote-as 250
 no auto-summary
!
ip classless
no ip http server
!
access-list 33 permit 150.10.30.0 0.0.0.255
no cdp run
!
!
ipx router eigrp 10
 network 10
!
!
ipx router rip
 no network 10
!
!
!
route-map loopback permit 10
 match ip address 33
!
bridge 1 protocol ieee
alias configure r router
alias exec cl cle ip ro *
alias exec r sh ip ro
alias exec ri sh ipx ro
alias exec c conf t
alias exec i sh ip int brie
alias exec b sh ip b
alias exec bs sh ip b s
alias exec o sh ip o
alias exec on sh ip o nei
alias exec s sh run
alias exec sh1 sh run | beg
alias exec sh2 sh run | inc
!
line con 0
 exec-timeout 0 0
 password cisco
 logging synchronous
line vty 0 4
 exec-timeout 0 0
 password cisco
 logging synchronous
 login
!
end



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