Introduction to OSPF

OSPF is a link-state routing protocol, and it’s one of the routing protocols you need to understand if you want to do the Cisco CCNA, CCNP, or CCIE R&S exam(s). In this lesson, I’ll explain the basics of OSPF to you and you will learn how and why it works.

Navigation system. Gps. 3d

I don’t know about you, but I love my navigation system. The good thing about them is you can just drive and there is no need to look for traffic signs, the bad thing is that I’m absolutely lost when it’s not working. I’m bad at reading maps (or maybe I don’t like them) and if I had to find my way to some street in any big city I’d be doomed.

Link-state routing protocols are like your navigation system, they have a complete map of the network. If you have a full map of the network you can calculate the shortest path to all the different destinations out there. This is cool because if you know about all the different paths, it’s impossible to get a loop since you know everything! The downside is that this is more CPU intensive than a distance vector routing protocol. It’s just like your navigation system…if you calculate a route from New York to Los Angeles, it’s going to take a bit longer than when you calculate a route from one street to another street in the same city.

Let’s take a good look at link-state to see what it exactly means:





[/members
Routers LSDB LSA

  • Link: That’s the interface of our router.
  • State: Description of the interface and how it’s connected to neighbor routers.

lsa into lsdb

Link-state routing protocols operate by sending link-state advertisements (LSA) to all other link-state routers.

All the routers need to have these link-state advertisements so they can build their link-state database or LSDB. Basically, all the link-state advertisements are a piece of the puzzle that builds the LSDB.

If you have a lot of OSPF routers, it might not be very efficient that each OSPF router floods its LSAs to all other OSPF routers. Let me show you an example:

OSPF Multi Access Network

Above, we have a network with 8 OSPF routers connected on a switch. Each of those routers is going to become OSPF neighbors with all of the other routers…sending hello packets, flooding LSAs, and building the LSDB. This is what will happen:

OSPF Full Mesh

We will get a full mesh of OSPF neighbors. Each router will flood LSAs to all other routers so we will have a lot of OSPF traffic. Is there any way to make this a bit more efficient?

We're Sorry, Full Content Access is for Members Only...

If you like to keep on reading, Become a Member Now! Here is why:

  • Learn any CCNA, CCNP and CCIE R&S Topic. Explained As Simple As Possible.
  • Try for Just $1. The Best Dollar You’ve Ever Spent on Your Cisco Career!
  • Full Access to our 799 Lessons. More Lessons Added Every Week!
  • Content created by Rene Molenaar (CCIE #41726)

581 Sign Ups in the last 30 days

satisfaction-guaranteed
100% Satisfaction Guaranteed!
You may cancel your monthly membership at any time.
No Questions Asked!

Tags: , , ,


Forum Replies

  1. Hi Rene,
    Its really cool amazing way of explaining ospf you made it to soft easy to understand I really wish
    You all success in your carrier.

    Regards,
    Mustafa

  2. you know the actual way to teach. your lessons are very helpful than any other blogs and i love this site…Thank u very much.

    Go ahead…May god bless u.

    Regards

    Khalidh

  3. Thank u very much for you lessons!!! I planned pass CCNA in May 2014. Thank you for you lessons!!!

191 more replies! Ask a question or join the discussion by visiting our Community Forum