LESSON PURPOSE
Build a practical understanding of how OSPFv2 scales by dividing an autonomous system into multiple areas, how Area 0 connects those areas, how ABRs exchange inter-area reachability, and how to configure, verify, and troubleshoot a working multi-area OSPFv2 topology.

Lesson Overview

OSPFv2 is a link-state IPv4 routing protocol. In a small network, all routers can operate in one OSPF area. As the routed domain grows, multi-area OSPF reduces the size of the link-state database and limits SPF calculations by creating area boundaries. Area 0 is the backbone; non-backbone areas must connect to Area 0 through Area Border Routers (ABRs).


Learning Objectives

  • Describe the purpose of OSPF areas and explain why Area 0 is the backbone.
  • Differentiate internal routers, backbone routers, ABRs, and ASBRs.
  • Explain OSPFv2 neighbor formation, LSDB scope, SPF calculation, and inter-area route propagation.
  • Interpret common OSPF LSA types used in multi-area designs, especially Type 1, Type 2, Type 3, and Type 5.
  • Configure a four-router multi-area OSPFv2 topology using network statements and wildcard masks.
  • Configure OSPFv2 using the interface-level ip ospf command as an alternative method.
  • Use passive interfaces without suppressing route advertisement.
  • Verify neighbors, interfaces, LSDB contents, ABR behavior, and OSPF routing-table entries.
  • Explain O, O IA, O E1, and O E2 routing-table codes at a practical level.
  • Troubleshoot common multi-area OSPF failures including area mismatch, subnet mismatch, passive transit interfaces, MTU mismatch, and router-ID issues.
  • Apply OSPF cost and reference-bandwidth concepts consistently across routers.
  • Perform a guided end-to-end lab and validate inter-area reachability.

CCNA / OPERATIONS FOCUS
For CCNA, the priority is to understand OSPFv2 operation, neighbor formation, single-area configuration and verification, route selection, and troubleshooting. Multi-area OSPF extends those same fundamentals with Area 0, ABRs, inter-area routes, and LSA scope. This lesson intentionally goes deeper so the behavior seen in enterprise networks is easier to interpret.


1. Why Multi-Area OSPF?

OSPF maintains a link-state database (LSDB) and runs the Shortest Path First (SPF) algorithm to calculate routes. If every router in a large network participates in one giant area, every router must maintain that area’s detailed topology and react to topology changes within that area.

  • Areas create logical boundaries for link-state information.
  • Type 1 and Type 2 topology LSAs stay within their area.
  • ABRs advertise reachability between areas instead of flooding all topology detail end to end.
  • A topology change in one area normally does not force routers in another area to rerun SPF for that area’s internal topology.
  • Area 0 provides the backbone path between non-backbone areas.


2. OSPF Fundamentals and Important Key Points

OSPF — Open Shortest Path First is a link-state Interior Gateway Protocol (IGP) used to exchange routing information inside an autonomous system or enterprise network.

OSPF does not advertise complete routing tables to neighbors. Instead, routers exchange information about their links and build a Link-State Database (LSDB). Routers within the same OSPF area should develop a consistent view of that area's topology and then independently run the Shortest Path First (SPF) algorithm to calculate the best paths.


Topic

Key point

Protocol

Link-state IGP; IP protocol number 89.

IPv4 version

OSPFv2 carries IPv4 routes.

Metric

Cost; lower total path cost is preferred.

Administrative distance

110 by default on Cisco IOS/IOS XE for OSPF routes.

Router ID

32-bit dotted-decimal identifier; should be unique and is best configured explicitly.

Backbone

Area 0 is the OSPF backbone. Normal multi-area design connects every non-backbone area to Area 0.

ABR

Router with interfaces in more than one OSPF area; keeps an LSDB per area and originates inter-area information.

ASBR

Router that injects external routes into OSPF through redistribution or default-information originate.

Multicast

224.0.0.5 = All SPF Routers; 224.0.0.6 = All DR Routers.

Process ID

Locally significant only; neighboring routers do not have to use the same process ID.

DR/BDR

Used on broadcast/NBMA multiaccess networks; not needed on point-to-point links.

Passive interface

Advertises a connected prefix without sending Hellos or forming neighbors on that interface.

Equal-cost paths

OSPF can install multiple equal-cost routes when the platform and maximum-paths allow it.

Inter-area route code

O IA means the route came from another OSPF area through an ABR.

 

2.1 OSPF Core Values and Defaults parameters

Item

OSPFv2 value / behavior

Why it matters

Administrative distance

110 (Cisco default)

Used by the RIB when the same prefix is learned from different route sources. Lower AD wins.

Metric

Cost; lower cumulative cost wins

OSPF selects the lowest-cost path among OSPF candidates.

IP protocol

89

OSPF runs directly over IP; it does not use TCP or UDP ports.

All SPF Routers multicast

224.0.0.5

Used by OSPF routers for Hello and other OSPF communication.

All DR Routers multicast

224.0.0.6

Used on multiaccess networks when sending to the DR/BDR.

Default reference bandwidth

100 Mbps on classic Cisco defaults

Without adjustment, many links at 100 Mbps and faster may all calculate cost 1.

Hello / Dead - broadcast & point-to-point

10 / 40 seconds (common Cisco defaults)

Neighbors must use compatible timers.

Hello / Dead - NBMA

30 / 120 seconds (common Cisco defaults)

Different default timers can prevent adjacency if network types do not match.

Interface OSPF priority

1 by default; 0 = ineligible for DR/BDR

Priority is checked before Router ID during DR/BDR election.

Backbone area

Area 0

Normal inter-area traffic crosses the backbone.

Router ID

32-bit dotted-decimal identifier

Must be unique; explicit configuration is recommended.


2.2 High-Value OSPF Operational and Exam Points

  • OSPF is a link-state IGP and uses IP protocol number 89, not TCP/UDP ports.
  • OSPFv2 carries IPv4 routes. OSPFv3 is the OSPF version associated with IPv6 operation.
  • Neighbor parameters must be compatible: area, timers, authentication (if used), subnet, network type, and MTU behavior all matter.
  • Router IDs must be unique. Configure router-id explicitly for predictable behavior.
  • DR/BDR elections occur on…