OSPF design best practices: areas, addressing for summarisation, network types and timers
In short: Good OSPF design keeps things simple. Use one area until size or stability says otherwise, then split along the physical layout with ABRs at the distribution or core and addresses that summarise per area. Use point-to-point links, passive interfaces by default, stable loopback router IDs, authentication and BFD rather than aggressive timers.
Do you need more than one area?
Old guidance said "no more than 50 routers per area". Modern routers handle far more. A single area 0 with a few hundred routers and stable links works fine. Split into areas when you need to summarise (to keep routing tables small and hide instability), when part of the network flaps and you want to contain it, or when you need stub areas to keep branch routers small. Add areas for a reason, not out of habit.
Design guidelines
- Area boundaries follow the physical design. Put ABRs at the core or distribution layer, where traffic already aggregates, not at random routers.
- Addressing matches areas. Give each area a contiguous block (see the addressing plan note) so the ABR can advertise one summary with
area 10 range 10.10.0.0 255.255.0.0. - Every area touches area 0. Avoid virtual links except as a temporary fix during migrations.
- Use stub, totally stubby or NSSA areas for branches and small sites that only need a default route.
- Redundant ABRs per area, so the loss of one ABR does not isolate an area.
Interfaces and neighbours
- Point-to-point network type on every Ethernet link between two routers:
ip ospf network point-to-point. It removes DR/BDR election, saves a type 2 LSA per link and speeds up adjacency. - Passive by default:
passive-interface default, thenno passive-interfaceonly on links to other routers. User VLANs are advertised but cannot form neighbours. - Router IDs taken from a loopback and set explicitly with
router-id, so they never change. - Authentication with HMAC-SHA on every link that forms adjacencies.
- Reference bandwidth raised on every router (
auto-cost reference-bandwidth 100000for 100 Gbps) so 1, 10 and 100 Gbps links get different costs. It must be the same everywhere.
Convergence
Lowering hello and dead timers on every interface increases CPU load and can cause false neighbour drops. A better approach is BFD on each OSPF interface for fast failure detection, together with SPF and LSA throttling timers that react quickly to the first change and back off during instability. Add LFA or TI-LFA where you need sub-second recovery.
Keep it stable
- Summarise at ABRs so that a flapping link in one area does not cause SPF runs everywhere.
- Redistribute external routes in one controlled place, with route maps and tags.
- Use
max-metric router-lsa on-startupso a rebooting router does not attract traffic before BGP or other services are ready. - Document areas, ABRs and summaries next to the addressing plan.
Real-world example: one flapping link, a hundred routers busy
A university ran OSPF in a single flat area across 120 routers. A faulty fibre in one building flapped every few seconds, and every router in the network ran SPF each time, causing CPU spikes and occasional packet loss on unrelated links. Moving each building into its own area with summarisation at the core meant the flapping only affected that building. Later, BFD and SPF throttling made the network react quickly without overreacting.
Practice
Why is the point-to-point network type recommended on links between two routers?
What must be true for an ABR to summarise an area into one route?
What is a better approach than very low OSPF hello timers for fast failure detection?
Key takeaways
- Use one area until summarisation or stability gives a reason to split.
- Put ABRs at aggregation points and give each area a summarisable block.
- Point-to-point links, passive by default, fixed router IDs and authentication.
- Use BFD and throttling instead of aggressive timers.
Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.