Search This Blog

Saturday, July 21, 2012

OSPF network types - Part 1

This time i will examine the options for OSPF network types.
Let's take the following scenario:


Side note – as part of my preparation to the CCIE R&S lab exam I keep practice and configuring manually a cisco router as frame-relay switch instead of using the built-in one.

Here we have a hub and spoke topology where R1 is the hub and R2 and R3 are the spokes. R1 is configured with interface s0/0.123 multipoint were R2 and R3 are configured with sub-interface point-to-point.

After finishing configure the interfaces (encapsulation, fram-relay, IP's) and OSPF process i didn't manage to see adjcencies...!

here is a snippet from the configurations:

R1:
interface Serial0/0.123 multipoint
 ip address 10.1.123.1 255.255.255.0
 ip ospf network point-to-multipoint
 snmp trap link-status
 frame-relay map ip 10.1.123.2 102 broadcast
 frame-relay map ip 10.1.123.3 103 broadcast
 frame-relay interface-dlci 102
 frame-relay interface-dlci 103
 no frame-relay inverse-arp

R2:
interface Serial0/0.12 point-to-point
 ip address 10.1.123.2 255.255.255.0
 ip ospf network point-to-point
 frame-relay interface-dlci 201  

R3:


interface Serial0/0.13 point-to-point
 ip address 10.1.123.3 255.255.255.0
 ip ospf network point-to-point
 snmp trap link-status
 frame-relay interface-dlci 301  

So first let's examine this situation more deeply, we have a hub router which connected to two spoke routers, so the hub is multipoint while the two spokes are point-to-point.

Now OSPF network type Point-to-Multipoint uses the following:
LSA flooding - Multicast
DR/BDR Election - No
Timers - 30/120
Neighbor statement - No
Modify next-hop - yes

while point-to-point network type uses:
LSA flooding - Multicast
DR/BDR Election - No
Timers -10/40
Neighbor statement - No
Modify next-hop -No

3 basic things we should check if adjacency between OSPF neighbors doesn't come up:
1. LSA flooding method (unicast or multicast)
2. MTU
3. Timers

As you may recall OSPF adjacencies never comes up if the timers are not the same, in my example the multipoint uses 30/120 while PtP uses 10/40.

In order to fix the problem configure ip ospf hello-timer, in the interface level, on the hub router to match the spokes timers.


5 comments:

  1. Excellent blog, I loved it so much that I came back here to give feedback. Thanks though.

    ReplyDelete
  2. there is so mmucch to learn about the OSPF network in this posts. thanks for sharing it. it's very helpful.

    ReplyDelete
  3. Thanks for the detailed article on this topic. I would like to see more such awesome articles from you.

    ReplyDelete
  4. I am very impressed with your post, thanks for sharing. Would love to see more stuff like this in future.

    ReplyDelete
  5. Thank you for taking the time to share such a great article with us. Are you a regular game player of Roblox,If yes, want to recover account on Roblox , I'll share a link on which you'll find out more, want to know What is a Roblox Administrator? and also want to recover your password we have provided the various types of Password lists about Roblox Password Finder list.

    ReplyDelete