Here is the fourth part of the configuration of our OSPF lab. In this article, we will discuss how to configure OSPF to work on a Frame-Relay network in a Hub & Spoke topology ... 

 Topology of OSPF over Frame-Relay: Non-Broadcast
OSPF over Frame-Relay
OSPF over Frame-Relay

The problem
OSPF is an efficient but rigorous protocol. Simple to set up on a LAN or on point-to-point links, it is much more capricious on a Frame-Relay network and especially in a Hub & Spoke topology.
By default, when OSPF is enabled on a Frame-Relay interface, OSPF adapts itself by defining the interface as a "non-broadcast network", which is logical ... since Frame-Relay is indeed a type of NBMA network Non-Broadcast Multi Access). Where things get complicated, it is in the behavior induced by this type of network, namely:
On a Non-Broadcast network:
  • OSPF does not dynamically adjacency
  • OSPF attempts to elect a Designated Router (DR) and a Backup Designated Router (BDR).
The election of a DR and a BDR works perfectly if we are on a Full-Mesh topology that behaves approximately like a LAN Ethernet ... out here we have a Hub & Spoke topology, so no PVC between all the routers, which means that we will have to force ABR4 (the one with a link to the other routers) to be the DR and prevent the other two from becoming BDR.
As a reminder, the DR is the router that serves as centralization for OSPF updates on a shared network. Each router sends its updates to the DR and it then forward them to all routers on the shared network.
First stage
Let's start by configuring the Hub Router "ABR4" ...
First thing, setting the bandwidth of the Serial 0/2 interface. It uses two PVCs, each with a CIR of 128kbit / s, so it will be allocated a bandwidth of 128kbits so that the COST (which will be the same for both is calculated according to this value).
ABR4(config)#interface s0/2

ABR4(config-if)#bandwidth 128



Then we need to enable OSPF on the Serial0 / 2 interface.
ABR4(config)#router ospf 1
ABR4(config-router)#network area 40

Since adjacencies will not form dynamically, the neighbors (R2 and R3) must be statically configured.

To make sure that ABR4 is the DR of the shared network, it is better to increase its priority (1 by default).
ABR4(config)#int s0/2
ABR4(config-if)#ip ospf priority 127

That should be enough for ABR4, go to R2 and R3.

Second step
Let's move on to R2. In the same way as for ABR4, we will have to configure statically the neighbor (ABR4). However, in order for the topology to work well, we must ensure that it does not attempt to become DR or BDR. This is equivalent to setting its priority to 0.

R2(config)#interface serial 0/0

R2(config-if)#bandwidth 128

R2(config-if)#ip os

R2(config-if)#ip ospf pr

R2(config-if)#ip ospf prio

R2(config-if)#ip ospf priority 0


R2(config)#router ospf 1


R2(config-router)#network area 40

R2(config-router)#network area 40





Third step
Now only R3 remains to be configured by exactly following the same principle as R2
R3(config)#interface s0/0

R3(config-if)#bandwidth 128

R3(config-if)#ip ospf priority 0


R3(config)#router ospf 1


R3(config-router)#network area 40

R3(config-router)#network area 40



Fourth step
A priori everything seems to be in order, R3 seems to have a complete routing table. 

R3#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, su - IS-IS summary, 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

O IA [110/802] via, 00:01:09, Serial0/0

O [110/791] via, 00:01:09, Serial0/0 is subnetted, 2 subnets

O IA [110/1563] via, 00:01:09, Serial0/0

O IA [110/2344] via, 00:01:09, Serial0/0 is subnetted, 1 subnets

C is directly connected, Serial0/0 is variably subnetted, 5 subnets, 2 masks

O IA [110/1562] via, 00:01:09, Serial0/0

O IA [110/1562] via, 00:01:09, Serial0/0

O IA [110/782] via, 00:01:09, Serial0/0

O IA [110/1563] via, 00:01:09, Serial0/0

O IA [110/1563] via, 00:01:09, Serial0/0

O IA [110/792] via, 00:01:10, Serial0/0

C is directly connected, FastEthernet0/0

O E1 [110/2345] via, 00:01:10, Serial0/0


However, looking at the routing table closely, a problem appears. The network (The loopback of R2) is accessible via, address of the same network as R3 ... except that ... there is no PVC between R2 and R3 and therefore no connectivity between these two Routers!


Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to, timeout is 2 seconds:


Success rate is 0 percent (0/5)


Since we are in a Hub & Spoke topology, there is no question of creating a new PVC to link these two routers. Therefore, we will have to ask ABR4 to relay the frames frame-relay between R2 and R3 ... This is configured simply by a new frame-relay mapping.
From R2 to join R3, one will use the PVC which leads to R1, and from R3 to join R2 one will also use the PVC which leads to R1.
On R2 ...

R2(config)#interface s0/0

R2(config-if)#frame-relay map ip 24 broadcast


On R3 ...

R3(config)#interface s0/0

R3(config-if)#frame-relay map ip 34 broadcast




Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to, timeout is 2 seconds:


Success rate is 100 percent (5/5), round-trip min/avg/max = 8/45/144 ms


This time it's good!

In order to be on good OSPF behavior, check the state of ABR4, this should be the DR of the frame-relay network, and R2 and R3 not being DR, nor BDR should be seen as DROTHER.
On ABR4 ...

ABR4#sh ip ospf neighbor

Neighbor ID     Pri   State           Dead Time   Address         Interface           0   FULL/  -        00:00:32       Serial0/1           0   FULL/  -        00:00:36       Serial0/0           1   FULL/BDR        00:00:34        FastEthernet0/0           1   FULL/DR         00:00:38        FastEthernet0/0           1   2WAY/DROTHER    00:00:36        FastEthernet0/0           0   FULL/DROTHER    00:01:32     Serial0/2           0   FULL/DROTHER    00:01:32     Serial0/2


That concludes this article. Now the topology is functional. All that remains is to improve the default behavior, but this will be for the next article. 

                                           Also read  How to configure Multi-area OSPF