OSPF (Open Shortest Path First) is a method used by local networks to find the shortest path from one router to another. The only prerequisite is that the network is IP based.