OSPF (Open Shortest Path First) is a link state routing Protocol, a type of the Internal Gateway Protocol (IGP), which was designed to scale and support more extensive networks. To find the shortest path between the nodes, OSPF uses Dijkstra’s algorithm. OSPF also uses the link cost as the metric, based on the link bandwidth to find out the shortest path between the source and the destination.
OSPF Routing Protocol Properties:
- To construct the entire network topology at its end, as mentioned before, a router uses the Dijkstra’s algorithm to find out the shortest path to any other router in the network and map the whole topology.
- OSPF is a standard protocol that means there is nothing proprietary in this protocol. So, if you want to use a Cisco router along with a Juniper router in an autonomous system and run the OSPF routing algorithm, it will work because this protocol has been standardized.
- There is unlimited hop count in the OSPF. If you remember from the routing protocol overview article, previous routing algorithms suffered from the countdown to infinity problem. Due to that, in the RIP, the total number of hops was limited to 16. However, it was all removed in the OSPF. Now, OSPF has the unlimited hop counts.
- It is a type of the link state routing protocol because it maintains the link states of the adjacent routers. Again, taking reference from the RIP protocol, it uses some of the features such as hello packet or the Keep-alive timer, etc. to maintain the states of the adjacent routers.
- OSPF uses link speed as the cost. It is calculated as follows:
link cost = 10^8/bandwidth
Working as a cyber security solutions architect, Alisa focuses on application and network security. Before joining us she held a cyber security researcher positions within a variety of cyber security start-ups. She also experience in different industry domains like finance, healthcare and consumer products.