BGP Routing Protocol
So what is BGP? In this series of posts I will be explaining the main principles of BGP. BGP–Border Gateway Protocol–is the de facto core…
Read moreOSPF (Open Shortest Path First) is a link state routing protocol that enables routers within a single autonomous system to discover network topology, build a shared link state database, and calculate the shortest path to IP destinations using Dijkstra's algorithm. The protocol organizes large networks into areas with a backbone (area 0) connecting all other areas, allowing scalability beyond what a single flat database could handle while improving convergence speed after failures. When OSPF is misconfigured—such as mismatched timers, area IDs, authentication settings, or poor address planning—it causes immediate and broad operational effects including neighbor formation failures, routing disruption, and increased CPU load on routers.
OSPF routers discover neighbors, exchange descriptions of their links, and each independently computes a loop-free shortest path tree from an identical database. Routers send protocol packets on multicast addresses on most network types.
OSPF divides large networks into areas, with area 0 as the backbone that connects all other areas. Area border routers summarize routing information between areas, which limits flooding and calculation scope. OSPF version 3 applies the same design to IPv6.
Adjacency stalls in ExStart or Exchange when the interface MTU differs between neighbors, because database description packets are dropped or rejected. Matching the MTU on both ends resolves it more reliably than disabling the MTU check.
Neighbors never reach the 2-Way state when Hello interval, dead interval, area ID, subnet or authentication settings differ. Logs usually show Hello packets received with mismatched parameters.
An unstable interface triggers repeated link state advertisements and SPF runs across the area, raising CPU use and causing brief routing disruption. Dampening, SPF throttling and fixing the physical fault limit the effect.
On a broadcast segment, a router with a higher priority or router ID joining late does not preempt the current designated router, but a reboot of the elected one forces re-election and a brief disturbance. Setting priorities deliberately avoids unexpected roles.
Areas that lose their connection to area 0 stop exchanging inter-area routes correctly, leaving some destinations unreachable. A virtual link can be a temporary fix, but redesigning the area layout is the lasting one.