RE: OSPF over NBMA

From: Schulz, Dave (DSchulz@dpsciences.com)
Date: Thu Jun 23 2005 - 07:43:19 GMT-3


If you are going to use the "ip ospf net" command on the interfaces with the
non-broadcast command, then you must define the neighbors with the "neighbor
command". However, I believe the better way to do this is to use the ip ospf
net broadcast command. Don't forget the priority command (ip ospf priority)
and control where you want your DR (at the hub, of course). Hope this helps.

Dave

-----Original Message-----
From: nobody@groupstudy.com
To: ccielab@groupstudy.com
Sent: 6/23/2005 3:25 AM
Subject: OSPF over NBMA

Hi All,
I just started to practice on the CCCIE lab.

I have a problem with getting OSPF learned routes to the routing table.
i.e ospf neighbourhip is there, all the routes are in the ospf database,
but
ospf learned routes doesnot come to the routing table.
My toplogy is like this

R1 --------------R2-------------------R3

Configs
R1

interface Serial0/0.2 point-to-point
ip address 130.1.123.1 <http://130.1.123.1>
255.255.255.0<http://255.255.255.0>
ip ospf network non-broadcast
frame-relay interface-dlci 102
!
router ospf 1
log-adjacency-changes
auto-cost reference-bandwidth 1000
network 130.1.1.0 <http://130.1.1.0> 0.0.0.255 <http://0.0.0.255> area 0
network 130.1.123.0 <http://130.1.123.0> 0.0.0.255 <http://0.0.0.255>
area 0

WGpR1#sh ip ospf ne

Neighbor ID Pri State Dead Time Address Interface
130.1.2.2 <http://130.1.2.2> 1 FULL/DR 00:01:52
130.1.123.2<http://130.1.123.2>Serial0/0.2
WGpR1#

WGpR1#sh ip route

Gateway of last resort is not set

100.0.0.0/24 <http://100.0.0.0/24> is subnetted, 1 subnets
C 100.150.100.0 <http://100.150.100.0> is directly connected,
Ethernet0/0
130.1.0.0/24 <http://130.1.0.0/24> is subnetted, 2 subnets
C 130.1.1.0 <http://130.1.1.0> is directly connected, Loopback0
C 130.1.123.0 <http://130.1.123.0> is directly connected, Serial0/0.2
WGpR1#

====================

R2

interface Serial0/2
ip address 130.1.123.2 <http://130.1.123.2>
255.255.255.0<http://255.255.255.0>
encapsulation frame-relay
ip ospf network point-to-multipoint
frame-relay map ip 130.1.123.3 <http://130.1.123.3> 203 broadcast
frame-relay map ip 130.1.123.1 <http://130.1.123.1> 201 broadcast
!
router ospf 1
log-adjacency-changes
auto-cost reference-bandwidth 1000
network 130.1.2.0 <http://130.1.2.0> 0.0.0.255 <http://0.0.0.255> area 2
network 130.1.123.0 <http://130.1.123.0> 0.0.0.255 <http://0.0.0.255>
area 0
neighbor 130.1.123.1 <http://130.1.123.1> cost 64
neighbor 130.1.123.3 <http://130.1.123.3> cost 64

WGpR2#sh ip route
Gateway of last resort is not set

130.1.0.0/24 <http://130.1.0.0/24> is subnetted, 2 subnets
C 130.1.2.0 <http://130.1.2.0> is directly connected, Loopback0
C 130.1.123.0 <http://130.1.123.0> is directly connected, Serial0/2
WGpR2#
===================================

R3

interface Serial0/0.2 point-to-point
ip address 130.1.123.3 <http://130.1.123.3>
255.255.255.0<http://255.255.255.0>
ip ospf network non-broadcast
frame-relay interface-dlci 302

router ospf 1
log-adjacency-changes
auto-cost reference-bandwidth 1000
area 3 authentication message-digest
area 3 virtual-link 130.1.4.4 <http://130.1.4.4> authentication
message-digest authentication-key 1 cisco
network 130.1.3.0 <http://130.1.3.0> 0.0.0.255 <http://0.0.0.255> area 3
network 130.1.31.0 <http://130.1.31.0> 0.0.0.31 <http://0.0.0.31> area 3
network 130.1.123.0 <http://130.1.123.0> 0.0.0.255 <http://0.0.0.255>
area 0
network 130.1.134.0 <http://130.1.134.0> 0.0.0.255 <http://0.0.0.255>
area 3

WGpR3#
WGpR3#sh ip ospf ne

Neighbor ID Pri State Dead Time Address Interface
130.1.2.2 <http://130.1.2.2> 1 FULL/BDR 00:01:48
130.1.123.2<http://130.1.123.2>Serial0/0.2
130.1.4.4 <http://130.1.4.4> 0 FULL/ - - 130.1.134.4
<http://130.1.134.4>OSPF_VL1
130.1.4.4 <http://130.1.4.4> 1 FULL/DR 00:01:32
130.1.134.4<http://130.1.134.4>Serial0/1

WGpR3#sh ip route
Codes: C - connected, S - static, 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
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

130.1.0.0/16 <http://130.1.0.0/16> is variably subnetted, 8 subnets, 3
masks
C 130.1.134.0/24 <http://130.1.134.0/24> is directly connected,
Serial0/1
O IA 130.1.145.0/24 <http://130.1.145.0/24> [110/657] via
130.1.134.4<http://130.1.134.4>,
00:31:50, Serial0/1
C 130.1.3.0/24 <http://130.1.3.0/24> is directly connected, Loopback0
O IA 130.1.5.5/32 <http://130.1.5.5/32> [110/658] via
130.1.134.4<http://130.1.134.4>,
00:31:50, Serial0/1
O IA 130.1.4.4/32 <http://130.1.4.4/32> [110/648] via
130.1.134.4<http://130.1.134.4>,
00:31:50, Serial0/1
C 130.1.31.0/27 <http://130.1.31.0/27> is directly connected,
FastEthernet0/0
O IA 130.1.42.0/24 <http://130.1.42.0/24> [110/1304] via
130.1.134.4<http://130.1.134.4>,
00:31:50, Serial0/1
C 130.1.123.0/24 <http://130.1.123.0/24> is directly connected,
Serial0/0.2

Further I tried doing ' ip ospf nework broadcast' in all the FR
interfaces
still the situation is same

Can somebody help me..

Imal



This archive was generated by hypermail 2.1.4 : Wed Jul 06 2005 - 14:43:42 GMT-3