Question: why ospf is better than rip?
Answer: Unlike RIP protocol that has only 15 hops at most, OSPF has no limitations in hop count. So OSPF converges faster than RIP, and has better load balancing. The drawbacks of OSPF, however, is that it doesn't scale when there are more routers added to the network.