# OSPF Multi-Area Configuration

**URL:** <https://forum.networklessons.com/t/ospf-multi-area-configuration/1698>\
**Category:** Lessons Discussion\
**Created:** [May 2, 2017, 5:47pm UTC](https://forum.networklessons.com/t/ospf-multi-area-configuration/1698 "2017-05-02T17:47:35Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![dikshamanhast](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/d/8baadc/32.png) [@dikshamanhast](https://forum.networklessons.com/u/dikshamanhast)\
**Post date:** [December 14, 2022, 8:31am UTC](https://forum.networklessons.com/t/ospf-multi-area-configuration/1698/43 "2022-12-14T08:31:08Z")

</div>

why all the areas must be connected to area 0 in OSPF?

---

<div class="post-metadata">

**Author:** ![lagapidis](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/lagapidis/32/4949_2.png) [@lagapidis](https://forum.networklessons.com/u/lagapidis)\
**Post date:** [December 16, 2022, 4:25pm UTC](https://forum.networklessons.com/t/ospf-multi-area-configuration/1698/44 "2022-12-16T16:25:03Z")

</div>

Hello Diksha

Take a look at this [NetworkLessons note why a backbone area is necessary for OSPF](https://notes.networklessons.com/ospf-why-is-a-backbone-area-0-necessary). If you have any further questions, let us know!

I hope this has been helpful!

Laz

---

<div class="post-metadata">

**Author:** ![go\_touati](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/g/22d042/32.png) [@go\_touati](https://forum.networklessons.com/u/go_touati)\
**Post date:** [February 7, 2023, 7:29am UTC](https://forum.networklessons.com/t/ospf-multi-area-configuration/1698/45 "2023-02-07T07:29:46Z")

</div>

Hello.

Why are the loopback advertised with a 32bit mask while having a 24bit mask?

Thanks for the good article.

---

<div class="post-metadata">

**Author:** ![lagapidis](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/lagapidis/32/4949_2.png) [@lagapidis](https://forum.networklessons.com/u/lagapidis)\
**Post date:** [February 9, 2023, 8:14am UTC](https://forum.networklessons.com/t/ospf-multi-area-configuration/1698/46 "2023-02-09T08:14:34Z")

</div>

Hello Oussama

Take a look at this [NetworkLessons note on the topic of advertising loopback networks on OSPF](https://notes.networklessons.com/ospf-advertising-loopback-network).

I hope this has been helpful!

Laz

---

<div class="post-metadata">

**Author:** ![sirajucation](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/s/7feea3/32.png) [@sirajucation](https://forum.networklessons.com/u/sirajucation)\
**Post date:** [July 11, 2023, 5:07pm UTC](https://forum.networklessons.com/t/ospf-multi-area-configuration/1698/47 "2023-07-11T17:07:20Z")

</div>

Hello,  
I have made this lab myself in Packet Tracer, and I have the below output in R2 which is different from what’s mentioned in the article:

```auto
R2#show ip ospf neighbor 

Neighbor ID Pri State Dead Time Address Interface
192.168.12.1 1 FULL/BDR 00:00:35 192.168.12.1 GigabitEthernet0/0
4.4.4.4 1 FULL/BDR 00:00:39 192.168.24.4   

```

Note that it shows to me the neighbor ID is 192.168.12.1, and it seems this is the correct one, while for Rene in the article the neighbor ID is 192.168.13.1

Can someone explain this to me please?

---

<div class="post-metadata">

**Author:** ![lagapidis](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/lagapidis/32/4949_2.png) [@lagapidis](https://forum.networklessons.com/u/lagapidis)\
**Post date:** [July 12, 2023, 6:44am UTC](https://forum.networklessons.com/t/ospf-multi-area-configuration/1698/48 "2023-07-12T06:44:27Z")

</div>

Hello Siraj

The output shown in the lesson is incorrect. It should indeed show a neighbor ID of 192.168.12.1 as in your output. I will let Rene know to make the correction on the lesson.

Thanks for pointing that out!

Laz

---

<div class="post-metadata">

**Author:** ![marcuswesleyg](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/m/ed8c4c/32.png) [@marcuswesleyg](https://forum.networklessons.com/u/marcuswesleyg)\
**Post date:** [April 9, 2024, 8:12am UTC](https://forum.networklessons.com/t/ospf-multi-area-configuration/1698/49 "2024-04-09T08:12:40Z")

</div>

Hello, The output below is from “OSPF Multi-Area Configuration” lecture can someone explain why there are two “BDR’s”? There should only be one I thought. Thanks.

```auto
R2#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
192.168.13.1 1 FULL/ **BDR** 00:00:34 192.168.13.1 GigabitEthernet0/1
4.4.4.4 1 FULL/ **BDR** 00:00:30 192.168.24.4 GigabitEthernet0/2

```

---

<div class="post-metadata">

**Author:** ![lagapidis](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/lagapidis/32/4949_2.png) [@lagapidis](https://forum.networklessons.com/u/lagapidis)\
**Post date:** [April 11, 2024, 5:06am UTC](https://forum.networklessons.com/t/ospf-multi-area-configuration/1698/50 "2024-04-11T05:06:58Z")

</div>

Hello Marcus

Remember that the purpose of a DR/BDR election is to select one OSPF router **per broadcast domain** to be the central point with which all other OSPF routers will become neighbors. This is the case for all multi-access technologies, where you can have multiple OSPF routers sharing the same network segment.

Now R2 in the lesson is connected to two broadcast domains, the one connected to its Gi0/1 interface, and the one connected to its Gi0/2 interface. Thus, it takes part in two elections. According to the output of the `show ip ospf neighbor` command, in both cases, it has been elected as the BDR.

If a router has 10 Ethernet interfaces, it will take part in 10 DR/BDR elections because it is connected to 10 network segments. So it may become DR for some, BDR for others, and DROTHER for still others.

I hope this has been helpful!

Laz

---

<div class="post-metadata">

**Author:** ![marcuswesleyg](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/m/ed8c4c/32.png) [@marcuswesleyg](https://forum.networklessons.com/u/marcuswesleyg)\
**Post date:** [April 16, 2024, 7:09am UTC](https://forum.networklessons.com/t/ospf-multi-area-configuration/1698/51 "2024-04-16T07:09:30Z")

</div>

Yes, This is very helpful. Thank You!

---

<div class="post-metadata">

**Author:** ![fentonguy2003](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/f/f4b2a3/32.png) [@fentonguy2003](https://forum.networklessons.com/u/fentonguy2003)\
**Post date:** [September 19, 2024, 8:40pm UTC](https://forum.networklessons.com/t/ospf-multi-area-configuration/1698/52 "2024-09-19T20:40:34Z")

</div>

I recently began working with a new client and I have never seen an OSPF area configured like this area 0.0.0.22. I have always seen them configured at area 0 or area 1, etc. Can someone point me to where this is discussed in more detail?

Thanks!

---

<div class="post-metadata">

**Author:** ![lagapidis](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/lagapidis/32/4949_2.png) [@lagapidis](https://forum.networklessons.com/u/lagapidis)\
**Post date:** [September 21, 2024, 4:14am UTC](https://forum.networklessons.com/t/ospf-multi-area-configuration/1698/53 "2024-09-21T04:14:36Z")

</div>

Hello John

What you are seeing is the Area ID indicated in dotted decimal notation, like an IPv4 address. Take a look at this [NetworkLessons note on OSPF area notation](https://notes.networklessons.com/ospf-area-notation) for more information.

I hope this has been helpful!

Laz

---

<div class="post-metadata">

**Author:** ![sathish84be](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/s/a88e57/32.png) [@sathish84be](https://forum.networklessons.com/u/sathish84be)\
**Post date:** [October 8, 2024, 12:01pm UTC](https://forum.networklessons.com/t/ospf-multi-area-configuration/1698/54 "2024-10-08T12:01:07Z")

</div>

Hello @lagapidis its hard to comprehend this concept. can you please explain in details as you guys are good in that ?. Please

---

<div class="post-metadata">

**Author:** ![sathish84be](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/s/a88e57/32.png) [@sathish84be](https://forum.networklessons.com/u/sathish84be)\
**Post date:** [October 11, 2024, 3:33pm UTC](https://forum.networklessons.com/t/ospf-multi-area-configuration/1698/56 "2024-10-11T15:33:36Z")

</div>

Hello Team,  
Can you please give a brief about the “Checksum” in the OSPF database and how it plays in order to protect the prefixes from corruption ?

---

<div class="post-metadata">

**Author:** ![lagapidis](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/lagapidis/32/4949_2.png) [@lagapidis](https://forum.networklessons.com/u/lagapidis)\
**Post date:** [October 12, 2024, 5:59am UTC](https://forum.networklessons.com/t/ospf-multi-area-configuration/1698/57 "2024-10-12T05:59:14Z")

</div>

Hello Sathish

Take a look at these NetworkLessons notes that further describe these concepts of the OSPF database.

- [OSPF - Link ID and ADV Router in the OSPF database](https://notes.networklessons.com/ospf-link-id-and-adv-router-in-the-ospf-database)
- [OSPF - Database Example](https://notes.networklessons.com/ospf-database-example)
- [OSPF - Link ID in the OSPF database](https://notes.networklessons.com/ospf-link-id-in-the-ospf-database)

If you have any more specific questions, feel free to let us know!

I hope this has been helpful!

Laz

---

<div class="post-metadata">

**Author:** ![lagapidis](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/lagapidis/32/4949_2.png) [@lagapidis](https://forum.networklessons.com/u/lagapidis)\
**Post date:** [October 16, 2024, 5:07am UTC](https://forum.networklessons.com/t/ospf-multi-area-configuration/1698/58 "2024-10-16T05:07:17Z")

</div>

Hello Sathish

Checksum that is shown in the OSPF database is the checksum that belongs to the specific LSA. It is used to ensure the integrity of the OSPF LSAs as they traverse the network. It is a 16-bit value (typically represented in hexadecimal) that is calculated for each LSA using the contents of the LSA itself.

The checksum is calculated by the sending router, and is included within the contents of the LSA itself. When the receiving router processes it, it calculates the checksum again and compares it with the value within the LSA. If they are the same, the LSA is deemed uncorrupted and error-free. If it is not, it is discarded.

This checksum should not be confused with the checksum that is included in all OSPF messages. This checksum ensures the integrity of the entire OSPF message that is transmitted over the network, and exists for all OSPF packets.

I hope this has been helpful!

Laz

---

<div class="post-metadata">

**Author:** ![carlosarmijonm](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/c/ccd318/32.png) [@carlosarmijonm](https://forum.networklessons.com/u/carlosarmijonm)\
**Post date:** [March 12, 2025, 8:33pm UTC](https://forum.networklessons.com/t/ospf-multi-area-configuration/1698/59 "2025-03-12T20:33:22Z")

</div>

Hello Rene! It’s still incorrect. It’s under “Verification” topic. I know this because it just confused me and I had to think it through…then double-checked the comments to see if anyone noticed. Thank you.

---

<div class="post-metadata">

**Author:** ![lagapidis](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/lagapidis/32/4949_2.png) [@lagapidis](https://forum.networklessons.com/u/lagapidis)\
**Post date:** [March 13, 2025, 8:15am UTC](https://forum.networklessons.com/t/ospf-multi-area-configuration/1698/60 "2025-03-13T08:15:09Z")

</div>

Hello Carlos

I see in the verification section that Rene states the following:

> “R2 has formed neighbor adjacencies with R1 and R4.”

It looks like the original typo was corrected. However, if you see it differently, please specify the specific text (copy and paste it into the post) to indicate the typo so that we can fix it.

Thanks so much!

Laz

---

<div class="post-metadata">

**Author:** ![abderrahmanearhzane](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/a/ac8455/32.png) [@abderrahmanearhzane](https://forum.networklessons.com/u/abderrahmanearhzane)\
**Post date:** [August 25, 2026, 10:23am UTC](https://forum.networklessons.com/t/ospf-multi-area-configuration/1698/61 "2026-08-25T10:23:09Z")

</div>

Hi Laz,

I have a question regarding OSPF areas.

As I understand it, one of the main reasons for introducing the OSPF area concept was to limit the amount of topology information that routers need to maintain. Routers within an area only need to maintain detailed topology information for that area, which helps reduce memory and CPU requirements. This was particularly important when router hardware had much more limited CPU and RAM resources.

Today, however, routers have significantly more processing power and memory, so they can potentially handle a much larger number of LSAs and a larger OSPF topology. I’m asking this because, in service provider networks, it’s not uncommon to see 150+ routers within a single Area 0 operating without any issues.( A case that a friend told me he find it at work)

With that in mind, do you think having a single OSPF Area 0 can work properly for the majority of use cases today?

More importantly, are there scenarios where using multiple OSPF areas is still necessary or strongly recommended, **regardless of hardware/CPU/memory limitations**?

Thanks, Laz!

---

<div class="post-metadata">

**Author:** ![lagapidis](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/lagapidis/32/4949_2.png) [@lagapidis](https://forum.networklessons.com/u/lagapidis)\
**Post date:** [August 28, 2026, 5:33am UTC](https://forum.networklessons.com/t/ospf-multi-area-configuration/1698/62 "2026-08-28T05:33:21Z")

</div>

Hello Abderrahmanearhzane

Indeed, the rationale behind areas is to make the routing information maintained by each router more manageable, as you described. And today’s faster, more robust routers can indeed handle a larger number of OSPF routers within a single area. In fact, Cisco today cites a 300+ upper limit on the number of OSPF routers in area 0 in testbed situations.

However, the key to answering your question is this: OSPF areas were not introduced ONLY for CPU/Memory/resource efficiency of the routers involved. Additional reasons include:

- Fault isolation / limiting the “blast radius” of topology changes
- Protection of intra-area routing from bad/erroneous routing data
- Information hiding at administrative/organizational boundaries
- Route summarization/aggregation at ABRs
- Support for hierarchical/administrative network design by mapping OSPF areas to organizational, geographic, or functional boundaries (branch offices, acquisitions, security zones, multi-vendor domains) makes operational sense regardless of router horsepower.

A lot of this is stipulated in [Section 3 of the RFC 2328](https://www.rfc-editor.org/rfc/rfc2328.html#section-3) which defines OSPFv2.

So, it’s not only for hardware/cpu/memory limitations, but also for additional design aspects as described above. Make sense?

I hope this has been helpful!

Laz

---

<div class="post-metadata">

**Author:** ![nishthagahlot12](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/n/9fc29f/32.png) [@nishthagahlot12](https://forum.networklessons.com/u/nishthagahlot12)\
**Post date:** [September 9, 2026, 9:34pm UTC](https://forum.networklessons.com/t/ospf-multi-area-configuration/1698/63 "2026-09-09T21:34:47Z")

</div>

Hi Rene,

The given network, as atleast three network segments: different subnets, no switch in the middle. So I am confused as to why there are DR/BDR elections between R1, R2 and R4?

Also, how is it decided that R1,R2 and R4 can participate in one election and not the whole configuration?

[Previous page](https://forum.networklessons.com/t/ospf-multi-area-configuration/1698.md?page=2)

[Next page](https://forum.networklessons.com/t/ospf-multi-area-configuration/1698.md?page=4)
