Study FAQ
How does single-area OSPFv2 turn link-state information into routes?
Also asked as 2
- How do LSAs, the link-state database, and SPF work together in an OSPF area?
- Why can routers in the same OSPF area choose different next hops from the same topology?
Answer
OSPFv2 routers use link-state advertisements (LSAs) to describe their IPv4 routing topology. Routers in a converged area maintain a consistent view of that area in their link-state databases (LSDBs). Each router then runs shortest path first (SPF) from its own position in the topology, so two routers can share the same topology information and still use different next hops.
The OSPF interface costs contribute to a path's total cost. Within OSPF, a lower total cost can make a path preferable. Cost is a protocol metric, so it does not measure current application throughput. A topology change can update the LSDB and trigger a new calculation. The resulting convergence can take time.
Area 0, also written 0.0.0.0, is the OSPF backbone. In a two-router single-area design, each router can calculate a route toward the other router's advertised host subnet, while its own directly attached subnet remains connected in the switch routing table.
Full explanation
HPE6-A86: Understanding and Validating Single-Area OSPF
Study guide · HPE6-A86
Read the full explanation