OSPF is a link-state routing protocol that uses link-state information to make routing decisions. Each router running OSPF floods link-state advertisements (LSAs) throughout the area or autonomous system that contain information about that router's attached interfaces and metrics. Routers then use the information in LSAs to calculate the shortest path to each network and build routing tables. OSPF supports different network types including broadcast, point-to-point, non-broadcast multi-access (NBMA), and point-to-multipoint. It elects a designated router on broadcast networks to reduce the number of adjacencies formed and amount of routing information exchanged.