Multi-Area OSPF Configuration on Cisco Routers
Build an enterprise Multi-Area OSPF network connecting Area 0 backbone with Area 1 and Area 3 to control routing table size.
The Open Shortest Path First (OSPF) protocol is renowned for rapid network convergence. Because OSPF is a link-state routing protocol, every router builds a complete, identical map of the entire network topology inside its Link-State Database (LSDB).
However, when an enterprise network expands to hundreds of routers across dozens of branches within a single area (Single-Area OSPF), this shared database design hits a severe hardware ceiling. Every time an unstable cable flaps in a remote branch, that router floods Link-State Advertisements (LSAs) across the entire enterprise.
Every router across the company is forced to stop and recalculate the complex Dijkstra Shortest Path First (SPF) algorithm. In large single-area networks, continuous SPF recalculations drive router CPUs to 100%, deplete system memory, and cause transient packet drops. To solve this scalability crisis, enterprise networks implement Multi-Area OSPF.
Figure 1. Hierarchical Area Partitioning: Isolating Dijkstra SPF Recalculations Behind Area Border Routers
The Two-Tier Architecture: Backbone Area 0 & Area Border Routers (ABRs)
Multi-Area OSPF enforces a strict two-tier hierarchical design. All non-backbone areas must connect directly to the central transit core, known as Backbone Area 0:
- Backbone Area 0: The central distribution spine. All traffic passing between different areas must traverse Area 0 to prevent routing loops.
- Regular Areas (Area 1 & Area 3): Leaf branches where user workstations and local departmental servers reside.
- Area Border Routers (ABRs): Gateways like
R1andR2that maintain separate LSDB databases for each attached area.
When a link flaps inside Area 1, only routers within Area 1 rerun the Dijkstra SPF algorithm. ABR R1 absorbs the link-state event, shielding the Area 0 backbone and Area 3 from unnecessary CPU spikes.
Multi-Area Addressing Plan & Router Roles
Our multi-area enterprise topology connects West Branch (Area 1) and East Campus (Area 3) across an Area 0 serial backbone link:
| Device | Interface | IP Address | OSPF Area & Architectural Role |
|---|---|---|---|
| R1 | Serial0/0/0 | 192.168.12.1/30 | Area 0 Backbone Link |
| R1 | Gi0/0.5, Gi0/0.10 | 192.168.1.1, 192.168.0.1 | Area 1 ABR Gateway |
| R2 | Serial0/0/0 | 192.168.12.2/30 | Area 0 Backbone Link |
| R2 | Serial0/0/1, Gi0/0 | 192.168.23.1, 192.168.6.1 | Area 3 ABR Gateway |
| R3 | Serial0/0/1, Gi0/0, Gi0/1 | 192.168.23.2, .4.1, .5.1 | Area 3 Internal Router |
| PC0, PC1 | FastEthernet0 | DHCP (VLAN 5 & 10) | Area 1 User Workstations |
| PC2, PC3, PC4 | FastEthernet0 | 192.168.4.10, .5.10, .6.10 | Area 3 Department Workstations |
Figure 2. Inter-Area Route Propagation: Crossing the Backbone with OSPF Summary Prefix Code O IA
Step-by-Step Hands-On OSPF Walkthrough
Configure ABR R1 Across Area 0 and Area 1
Enable OSPF process 1 on R1, set its unique router ID, and place the serial interface into Area 0 while assigning the branch subinterfaces into Area 1:
Configure ABR R2 Across Area 0 and Area 3
Set up R2 with router ID 2.2.2.2. Place its backbone interface into Area 0, and advertise its eastern serial and Gigabit interfaces into Area 3:
Configure Internal Router R3 within Area 3
Configure R3 entirely inside Area 3 so all its attached subnets advertise up toward ABR R2:
Verify Inter-Area Routes (O IA) & End-to-End Ping
Inspect the routing table on R3. Confirm that subnets from Area 1 appear labeled with the O IA code. Finally, verify packet transmission from PC0 across all three areas:
- SPF Recalculation Isolation: Partitioning subnets into multiple areas prevents link-flapping events in branch areas from triggering Dijkstra calculations across the core.
- Mandatory Backbone Connection: All standard non-backbone areas must physically link to Backbone Area 0 to ensure loop-free inter-area routing.
- Area Border Router Filtering: ABRs act as firebreaks by stopping detailed LSA Type 1 and 2 flooded packets and converting them into lightweight LSA Type 3 summaries.
- Inter-Area Route Labeling: Routes learned across area boundaries appear in Cisco routing tables designated with the
O IAcode.
Discussion & Community Notes
Ask questions, share configuration solutions, or discuss this practice lab.
