cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1100
Views
5
Helpful
2
Replies

Problem with Frame Relay Over OSPF

imadhassan
Level 1
Level 1
Hi,  I was trying to configure OSPF over multi-point Frame Relay (Hub -  Spokes), but OSPF neighborship is not coming up, I am attaching the  configuration kindly check it out if i'm doing something wrong!

On R1 (Hub)

R1(config)#do sh run | s frame-relay
encapsulation frame-relay IETF
frame-relay map ip 192.168.1.3 103 broadcast
frame-relay map ip 192.168.1.2 102 broadcast      ( Pointing towards R2 )
frame-relay lmi-type ansi

R1(config)#do sh run | s ospf
router ospf 1
router-id 1.1.1.1
log-adjacency-changes
network 192.168.1.0 0.0.0.255 area 0

On R2 (Spoke)

R2#sh run | s frame-relay
encapsulation frame-relay IETF
frame-relay map ip 192.168.1.1 201    ( Pointing R1 )
frame-relay lmi-type ansi

R2#sh run | s ospf
router ospf 1
router-id 2.2.2.2
log-adjacency-changes
network 192.168.1.0 0.0.0.255 area 0

Although Frame Relay PVCs are showing ACTIVE on all routers!!
1 Accepted Solution

Accepted Solutions

Peter Paluch
Cisco Employee
Cisco Employee

Hello,

When OSPF finds out it runs over a NBMA network - which is your case - it always expects you to configure directly reachable neighbors explicitly in addition to using the network command. Your current OSPF configuration on R1 and R2 is missing the neighbor commands necessary to accomplish this task. Therefore, please add the following commands:

On R1:

router ospf 1

neighbor 192.168.1.2

neighbor 192.168.1.3

On R2:

router ospf 1

neighbor 192.168.1.1

On R3:

router ospf 1

neighbor 192.168.1.1

Also, because in NBMA networks, the spoke routers must not be allowed to join the DR/BDR elections, you must configure them with priority of 0, so:

On both R2 and R3:

interface Serial X/Y

ip ospf priority 0

Lastly, OSPF will assume here that each router in this network can reach each other directly. This is not true in a hub-and-spoke network, as the spokes have no VCs to each other. This will cause that while all routing tables will be correctly populated, R2 won't be able to reach networks behind R3 and vice versa because both routers will assume they can talk to each other directly which they can't. As for now, I am not going to post a solution because I want you to give it a good thought and try to come up with solutions. I will be glad to help after seeing your suggestions

Best regards,

Peter

View solution in original post

2 Replies 2

Peter Paluch
Cisco Employee
Cisco Employee

Hello,

When OSPF finds out it runs over a NBMA network - which is your case - it always expects you to configure directly reachable neighbors explicitly in addition to using the network command. Your current OSPF configuration on R1 and R2 is missing the neighbor commands necessary to accomplish this task. Therefore, please add the following commands:

On R1:

router ospf 1

neighbor 192.168.1.2

neighbor 192.168.1.3

On R2:

router ospf 1

neighbor 192.168.1.1

On R3:

router ospf 1

neighbor 192.168.1.1

Also, because in NBMA networks, the spoke routers must not be allowed to join the DR/BDR elections, you must configure them with priority of 0, so:

On both R2 and R3:

interface Serial X/Y

ip ospf priority 0

Lastly, OSPF will assume here that each router in this network can reach each other directly. This is not true in a hub-and-spoke network, as the spokes have no VCs to each other. This will cause that while all routing tables will be correctly populated, R2 won't be able to reach networks behind R3 and vice versa because both routers will assume they can talk to each other directly which they can't. As for now, I am not going to post a solution because I want you to give it a good thought and try to come up with solutions. I will be glad to help after seeing your suggestions

Best regards,

Peter

imadhassan
Level 1
Level 1

@MrPeter Thankyou very much for your reply, I continued to solve this issue by myself and I successully did it, I configured the frame relay interface as ospf broadcast network and created the frame relay mapping between all spokes (mutually) through hub router to learn the routes back from the spokes segment and this practice successfully worked.


Sent from Cisco Technical Support Android App

Review Cisco Networking for a $25 gift card