Problem Statement
Describe OSPF and explain how it differs from RIP.
Explanation
Open Shortest Path First (OSPF) is a link-state protocol that uses Dijkstra’s algorithm to compute the shortest path tree. It divides a large network into areas to improve scalability. Unlike RIP, which exchanges periodic updates, OSPF sends updates only when changes occur, reducing overhead. OSPF supports authentication, hierarchical design, and faster convergence, making it suitable for enterprise networks.