Open Shortest Path First. A link-state interior gateway routing protocol designed for a hierarchical routing structure. OSPF chooses routes on a best-path, least-cost basis and supports variable-length subnet masks (VLSMs) for 'classless' networking, allows up to 255 hops between routers, and provides packet authentication. See also RIP.