The Open Shortest Path First (OSPF) is an interior gateway routing protocol based on the shortest path first or link-state algorithm. Routers use link-state algorithms to send routing information to all nodes in an internetwork by calculating the shortest path to each node based on the internet constructed by each node.