OSPF areas and area border routers
Why split a network into areas?
An OSPF area groups links into a routing domain with its own topology database. In a large network, limiting detailed topology flooding can reduce the work caused by changes in another area. Area 0 (0.0.0.0) is the backbone connecting ordinary non-backbone areas. An area border router (ABR) participates in more than one area, normally including the backbone, and exchanges reachability information between them. An internal router has all its OSPF interfaces in one area; a backbone router has an interface in area 0. These roles can overlap.
Follow a packet across two area boundaries
In this fictional, converged OSPFv2 topology, links connect only the adjacent routers shown. R1 and R2 are internal routers; B1 and B2 are ABRs and backbone routers; R0 is an internal backbone router. LAN A belongs to area 1, LAN B to area 2. Assume all link costs are positive, all routes are installed, and no policy blocks traffic. R1 sends traffic toward LAN B via B1, R0, B2 and R2. The return route must also exist. Area numbers are not VLAN IDs.
Area 1 Area 0 Area 2R1 ---- B1 -------- R0 -------- B2 ---- R2LAN A ABR ABR LAN B192.0.2.0/26 198.51.100.0/26Hierarchy and failure domains
If B1 loses its only connection to the backbone, area 1 loses the inter-area path in this model even if local links remain healthy. A second ABR with an independent backbone path can improve resilience. More areas also add boundary design and troubleshooting overhead. A virtual link is a special logical backbone connection through a suitable non-stub transit area; it is not a generic replacement for a sound backbone design. Check physical diversity and both directions before claiming redundancy.
Design checks before a change
An AS boundary router (ASBR) imports routing information from outside OSPF, for example a deliberately redistributed static prefix. It need not be an ABR. Use passive interfaces on attached client networks that should be advertised but should not form OSPF neighbors, where the implementation supports this. On router-to-router links check area, timers, network type and compatible authentication without exposing keys. Compare neighbor, database and route evidence before and after an authorized lab change; no live changes are needed here. OSPFv3 retains areas, but interface configuration and address-family support vary; RFC 5838 extends OSPFv3 beyond its original IPv6 scope.
Practice
On paper, remove B2–R0. Which area loses its only backbone path? Which routers remain internal to one area? Next, classify the advertisements that carry reachability between areas.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
OSPF areas and area border routers — knowledge check
Apply multi-area OSPF concepts to fictional routing situations.
B1 has interfaces in areas 0 and 1. Which role fits?
R0 has all OSPF interfaces in area 0. What is its role?
B2 loses its only backbone link in the diagram. What is the expected stable outcome?
Which router role imports a static route from outside OSPF?
What is a suitable use of a passive OSPF interface?