Understanding OSPF Fundamentals for CCNA 200-301
OSPF is a link-state routing protocol that uses the Dijkstra algorithm to find the shortest path to a network, based on cost.
What is OSPF?
Open Shortest Path First (OSPF) is a popular interior gateway protocol (IGP) used to route IP traffic within a single routing domain. Unlike distance-vector protocols, OSPF builds a complete topological map of the network.
How OSPF Works
OSPF routers form adjacencies with neighbors by exchanging Hello packets. Once an adjacency is formed, they exchange Link-State Advertisements (LSAs) to build a synchronized Link-State Database (LSDB).
OSPF Cost Metric
OSPF uses 'cost' as its routing metric, which is inversely proportional to bandwidth. The standard formula is Reference Bandwidth / Interface Bandwidth.
❓ Frequently Asked Questions
What protocol number does OSPF use?
OSPF operates directly over IP using protocol number 89. It does not use TCP or UDP.
What is the administrative distance of OSPF?
The default administrative distance for OSPF routes is 110.
What is OSPF Area 0?
Area 0 is the backbone area. In multi-area OSPF, all other areas must connect to Area 0 to route traffic properly.