Discontiguous non-Area 0 Areas in OSPF

Carole Warner Reece

I have been recently thinking about OSPF designs with discontiguous non-Area 0 areas. An example scenario is an organization is migrating to a new data center on R3 & R4, and for an extended period of time will have two data centers connected to the old core (R1 and R2) and the new core (R3 and R4).

The old core already connects to Area 6 supporting the old data center. A new section of Area 6 will connect to the new data center. But there are no links planned to interconnect the two Area 6 clouds.  Different blocks of the ‘data center’ address space will be allocated to each data center.

Discontiguous non-area 0 in OSPF

According to the RFCs, it is indeed legal to have multiple discontiguous non-zero areas with the same Area ID, and it is not necessary to implement a virtual link or GRE tunnel to setup them in a contiguous manner as it is with Area 0. This is because the area ID is only used to create a neighbor relationship.  It is not in any routing updates. When an ABR builds LSAs for Area 0, it takes the routing information from each of its other areas and includes them into Type-3 Summary LSAs. Therefore, the other Area 0 routers do not know what areas Type-3 Summary LSA destinations belong to. The routers only know that in order to reach these destinations, the next hop is a given ABR.

The design scenario described can support area range summarization for each data center as long as a more specific summary supporting the networks for each data centers exists at closest set of ABRs. You do need to be very careful to not create a black hole with area range summaries. But I started thinking about whether or not it could be considered a good design.

I polled several of my colleagues. The use of discontiguous non-zero areas is not a common design for production networks.

One friend mentioned supporting a discontinguous non-Area 0 areas for a customer a transitional period. The customer was introducing OSPF into a section of their network and had planned out an area numbering scheme.  However, there was a portion of the network they apparently did not know as well as they thought.  The customer ended up with two areas using the same number, although it took them a while to discover it. The discontigouous non-Area 0 area worked fine. They kept the discontiguous area numbering during the migration period until they replaced an old Nortel switch that had the old area configured.

The consensus was that the issue with this design is not if it technically works, it is if the people supporting this design will understand it well enough to support it optimally. The normal assumption of most network personnel is that OSPF areas are intended to be unique and contiguous in a production environment. If the areas are not unique and contiguous, how would you know that this an intentional design, and not broken network?  It is also confusing if you are trying to document the network – some ABRs have an interface in one area 6, some have an interface in another 6. Although you could refer to the areas as “old Area 6” and “new area 6”, this scenario does not map to normal assumptions of OSPF design.

My conclusion is that while discontiguous non-Area 0 areas can be supported as a short term measure, this is not a good long term design for production networks.

— cwr

2 responses to “Discontiguous non-Area 0 Areas in OSPF

  1. Hi Marko –

    I like your article as well!

    My emphasis was designs for [b]production[/b] networks. Although discontiguous areas do work, the fact that they do is confusing for many folks.

    My latest ‘fav’ OSPF quirk is summarizing routes intra-area and inter-area. I plan to post some thoughts on that soon!


Leave a Reply


Nick Kelly

Cybersecurity Engineer, Cisco

Nick has over 20 years of experience in Security Operations and Security Sales. He is an avid student of cybersecurity and regularly engages with the Infosec community at events like BSides, RVASec, Derbycon and more. The son of an FBI forensics director, Nick holds a B.S. in Criminal Justice and is one of Cisco’s Fire Jumper Elite members. When he’s not working, he writes cyberpunk and punches aliens on his Playstation.


Virgilio “BONG” dela Cruz Jr.

CCDP, CCNA V, CCNP, Cisco IPS Express Security for AM/EE
Field Solutions Architect, Tech Data

Virgilio “Bong” has sixteen years of professional experience in IT industry from academe, technical and customer support, pre-sales, post sales, project management, training and enablement. He has worked in Cisco Technical Assistance Center (TAC) as a member of the WAN and LAN Switching team. Bong now works for Tech Data as the Field Solutions Architect with a focus on Cisco Security and holds a few Cisco certifications including Fire Jumper Elite.


John Cavanaugh

CCIE #1066, CCDE #20070002, CCAr
Chief Technology Officer, Practice Lead Security Services, NetCraftsmen

John is our CTO and the practice lead for a talented team of consultants focused on designing and delivering scalable and secure infrastructure solutions to customers across multiple industry verticals and technologies. Previously he has held several positions including Executive Director/Chief Architect for Global Network Services at JPMorgan Chase. In that capacity, he led a team managing network architecture and services.  Prior to his role at JPMorgan Chase, John was a Distinguished Engineer at Cisco working across a number of verticals including Higher Education, Finance, Retail, Government, and Health Care.

He is an expert in working with groups to identify business needs, and align technology strategies to enable business strategies, building in agility and scalability to allow for future changes. John is experienced in the architecture and design of highly available, secure, network infrastructure and data centers, and has worked on projects worldwide. He has worked in both the business and regulatory environments for the design and deployment of complex IT infrastructures.