OSPF Advanced Concepts - Part 1
Kevin Wallace Training, LLC

OSPF Advanced Concepts - Part 1

The time has arrived to tackle some of the more advanced (and interesting) features of the Open Shortest Path First routing protocol. We begin by examining the configuration and verification of the different OSPF areas. This is an exercise that is not only fun, but it can really cement the knowledge down of how these areas function and why they exist.

OSPF LSA Types

Areas are a fundamental concept of OSPF. It is what makes the routing protocol, hierarchical, as we like to say.

There is a core backbone area (Area 0) that connects to normal, non-backbone areas. The backbone might also connect to special area types we will examine in detail in this chapter. This hierarchical nature of the design helps ensure the protocol is very scalable. We can easily reduce or eliminate unnecessary routing traffic flows and communications between areas if needed. Database sizes are also contained using this approach.

The Backbone and the Non-Backbone Areas

To review a bit from our previous blog posts, Figure 1 shows a simple multi-area network. Here I will configure this network using my personal favorite configuration approach, the interface-level configuration command ip ospf. Example 1 shows the configuration of all three devices.

No alt text provided for this image

Figure 1: A backbone and non-backbone area

Example 1: Configuring the Backbone and Non-Backbone Areas

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

Notice the simplicity of this configuration even though we are running a fairly complex routing protocol. The Area Border Router (ABR) is ATL2 with one interface in the backbone and one in the non-backbone area. 

Notice also how we get some “bonus” verification free of charge. As we are configuring the interfaces, we can see OSPF adjacencies forming between the devices. This saves us from needing to verify these “manually” with the following command:

No alt text provided for this image

An interesting verification for us here is to check for the prefix of 1.1.1.0/24 from the ATL device (as well as the remote link between ATL and ATL2). We check for this on ORL to verify the multi-area configuration of OSPF. Since this is a “normal” area, all LSAs should be permitted in the area and we should see the prefix appear as an inter-area OSPF route.

No alt text provided for this image

While not often required in troubleshooting, we can examine the OSPF database in order to see the different types of LSAs in place.

No alt text provided for this image

The router link state entries are the Type 1 LSAs. These are the endpoints in our local area of 1. The net link state entries are the Type 2 LSAs. Here we see the router ID of the Designated Router. Finally, the summary net link states are the Type 3 LSAs. These are the prefixes the ABR sends into our area. Sure enough, they are the loopback (1.1.1.0) and the remote network (10.12.12.0).

NOTE: The loopback interface is advertised as a host route of 32-bit. To change this, you can just use the command ip ospf network point-to-point under the loopback interface. This changes the network type from the loopback type for OSPF and causes the mask to advertise as it is configured.

Now it is time to add to the story here. Let’s configure some external prefixes and inject them into the OSPF domain. This is simple thanks to loopback interfaces. We will create some on the ATL router, run EIGRP on them, and then redistribute them into OSPF.

No alt text provided for this image

Now we have even more interesting verifications on the ORL device. First, the routing table:

No alt text provided for this image

Notice how the remote prefixes are listed as E2 routes. This is the default of Type 2 external OSPF routes. It means that the metric is unchanged as the prefix flows from the ASBR (Autonomous System Boundary Router) to the internal OSPF speaker. You can change the type to Type 1 if you desire when you are performing resitrubution. 

Perhaps of more interest is the OSPF database:

No alt text provided for this image

Notice now we pick up the Type 4 LSA (summary ASB link state) which is the router ID (1.1.1.1) of the ASBR (ATL). We also get the Type 5 LSAs that are the external prefixes.

That's going to wrap up the first part of our advanced OSPF article series. Next time, we'll take a look at creating stubby areastotally stubby areasnot so stubby areas (NSSA), and totally NSSA. Until then, take good care.

For additional information, visit our website for Cisco Certified Systems training courses, special courses on IT networking and more.

 

Su Pyae Aung (Kira)

CCNA Certified Professional | Network | NUS Cybersecurity

3 年

Thanks for sharing

回复
Supriya Roychowdhury

Network Engineer at Capgemini

3 年

Thanks for sharing sir...

回复

要查看或添加评论,请登录

Kevin Wallace的更多文章

  • Cisco's ENCOR v1.1 Exam Drops Sept. 20th. Here's What's New!

    Cisco's ENCOR v1.1 Exam Drops Sept. 20th. Here's What's New!

    Cisco's ENCOR (350-401) exam is one of the most popular Cisco exams out there. Just check out some of the…

    11 条评论
  • Career Catalyst – Igniting Your IT Success Journey

    Career Catalyst – Igniting Your IT Success Journey

    Whether you’re an aspiring IT professional or whether you’ve already begun your IT career, there’s always a “next…

  • I Took Cisco's CCST Networking Exam - Here's My Review

    I Took Cisco's CCST Networking Exam - Here's My Review

    in January of 2023 Cisco announced the CCST Networking certification, where CCST stands for Cisco Certified Support…

    18 条评论
  • Lessons I Learned from Disney – Part 1 (When to Praise – When to Coach)

    Lessons I Learned from Disney – Part 1 (When to Praise – When to Coach)

    Anyone that knows my family and me, knows that we are huge fans of all things Disney. Besides just being a guest at…

  • Understanding EIGRP - Part 6

    Understanding EIGRP - Part 6

    This post wraps up our series on Understanding EIGRP by discussing two final topics: The EIGRP Router ID EIGRP's…

    6 条评论
  • Understanding EIGRP - Part 5

    Understanding EIGRP - Part 5

    Typically, an EIGRP-speaking router dynamically discovers its neighbors, by sending multicast Hello messages. However…

    4 条评论
  • Understanding EIGRP - Part 4

    Understanding EIGRP - Part 4

    Sometimes, we might want a router interface to participate in an EIGRP routing process (in order to advertise that…

    1 条评论
  • Understanding EIGRP - Part 3

    Understanding EIGRP - Part 3

    Once of EIGRP’s claims to fame is its fast convergence in the event of a link failure. However, one thing that might…

  • Understanding EIGRP - Part 2

    Understanding EIGRP - Part 2

    In the first article in our Understanding EIGRP series, we were introduced to EIGRP’s features, in addition to a basic…

    1 条评论
  • Understanding EIGRP - Part 1

    Understanding EIGRP - Part 1

    I used to work as a Network Design Specialist at Walt Disney World, in Florida. Their massive network contained over…

    6 条评论

社区洞察

其他会员也浏览了