Open shortest path first (commonly abbreviated to OSPF) is a routing protocol used for computer networks, and the internet. It is based on Dijkstra's algorithm, and has been standardized by the IETF. It is an interior gateway protocol, used to route packets inside the network of one organization.