Free tech learning for everyone, from basics to pro

Routing & SwitchingNetworking SecurityIntermediate

Troubleshooting OSPF: neighbours are up but a route is missing

In short: When OSPF neighbours are Full but a prefix is missing, the problem is in one of four places: the route is never advertised, it is not flooded into this area, it is in the database but SPF cannot use it, or it is calculated but a better source wins. Checking the LSDB on the right routers tells you which.

Start with the right question

If neighbours are not forming, see the note on OSPF neighbours and DR/BDR. This note starts after that: every adjacency is Full, yet show ip route 10.40.0.0 on one router says "not in table". Work through the stages in order, starting at the router that should originate the route.

Where an OSPF route can go missingNotadvertisedinterface notin OSPFNot floodedarea type,filtersNotcalculatedno path toABR/ASBRNot installedbetter AD orprefixIn the tablecheckforwarding
Figure 1. Follow the route from where it should start to the router that is missing it.

1. Is the route being advertised?

  • On the originating router, check that the interface is in OSPF: show ip ospf interface brief. A network statement with the wrong wildcard is the classic mistake.
  • A passive interface is still advertised, so passive is not the cause; a missing interface is.
  • If the route is external, check the redistribution: redistribute static subnets (on older IOS, without subnets only classful networks are redistributed), and any route map on that command.
  • Look for it in the originator's database: show ip ospf database router self-originate or show ip ospf database external.

2. Is it reaching this area?

  • Check the database on the router missing the route: show ip ospf database summary 10.40.0.0 (type 3) or external (type 5).
  • Area type: stub areas block type 5, totally stubby areas also block type 3 except the default, and NSSAs use type 7. If your router is in a stub area, it should be relying on a default route instead.
  • Filtering: area X filter-list prefix or area X range ... not-advertise on the ABR can stop the type 3 LSA.
  • Summarisation: the ABR may be advertising a summary instead. Look for the bigger prefix.

3. Is it in the database but not used?

  • A type 3 LSA is only usable if this router can reach the ABR that sent it. A type 5 LSA needs a path to the ASBR (via type 4 in other areas).
  • Check the forwarding address in type 5 and 7 LSAs. If it is set and not reachable through an OSPF intra- or inter-area route, the external route is ignored.
  • A discontiguous area 0 means inter-area routes cannot be calculated. Every area must touch the backbone, or use a virtual link.
  • distribute-list in under OSPF does not stop LSAs; it only stops routes being installed on that router. It is a common hidden cause.

4. Is something better winning?

If show ip ospf rib (or the database) has the route but the routing table does not, look for the same prefix from a source with lower administrative distance, such as a static route or EIGRP. Also check for duplicate router IDs, which make routers ignore each other's LSAs and log "detected duplicate router-id".

Real-world example: the stubby surprise

An engineer added a new branch in area 20 and could not reach a cloud prefix redistributed at head office. Neighbours were Full and the branch had a default route, so most traffic worked. The cloud firewall, however, only accepted traffic from a specific path, and the branch's default route pointed elsewhere. Area 20 was totally stubby, so the specific external route never arrived. Changing the area to a normal area for that branch, with summarisation on the ABR, solved it.

Practice

Which OSPF area type blocks both type 3 and type 5 LSAs except a default route?
A totally stubby area.
Does distribute-list in under OSPF stop LSAs from being flooded?
No. It only stops matching routes from being installed in that router's routing table.
Why might a type 5 LSA be in the database but not used?
The router may have no path to the ASBR, or the forwarding address may be unreachable through OSPF.

Key takeaways

  • Work from the originating router towards the router missing the route.
  • Check advertisement, flooding, calculation and installation in that order.
  • Area types, filters and summaries on ABRs are common causes.
  • A lower-AD source or a distribute-list can hide a perfectly good OSPF route.
Tracks your learning on this device only. See your progress on the learning paths.
Verified author✓ Valid
Issued to
Mohamed Fayas
Role
Founder of FM TecHub
Credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

He writes practical, plain-English guides on networking, security and cloud.

More about the author →

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.

Email updates: coming soon

New notes, tools and security news from FM TecHub by email, explained simply. Free. We're not collecting email addresses yet; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesopening soon

Meanwhile, stay connected: