Skip to content
Related Articles

Related Articles

Difference between RIP and OSPF

View Discussion
Improve Article
Save Article
  • Difficulty Level : Easy
  • Last Updated : 06 Sep, 2022
View Discussion
Improve Article
Save Article

1. Routing Information Protocol (RIP): 
RIP stands for Routing Information Protocol in which distance vector routing protocol is used for data/packet transmission. In the Routing Information Protocol (RIP), the maximum number of Hop is 15, because it prevents routing loops from source to destination. Mechanisms like the split horizon, route poisoning, and hold down are used to prevent from incorrect or wrong routing information. Sally Floyd and Van Jacobson [1994] suggest that, without slight randomization of the timer, the timers are synchronized over time. Compared to other routing protocols, RIP (Routing Information Protocol) is poor and limited in size i.e. small network. The main advantage of using RIP is it uses the UDP (User Datagram Protocol). 

2. Open Shortest Path First (OSPF): 
OSPF stands for Open Shortest Path First which uses a link-state routing algorithm. Using the link state information which is available in routers, it constructs the topology in which topology determines the routing table for routing decisions. It supports both variable-length subnet masking and classless inter-domain routing addressing models. Since it uses Dijkstra’s algorithm, it computes the shortest path tree for each route. The main advantage of the OSPF (Open Shortest Path first) is that it handles the error detection by itself and it uses multicast addressing for routing in a broadcast domain. 

Difference Between RIP and OSPF

1RIP Stands for Routing Information Protocol.OSPF stands for Open Shortest Path First.
2RIP works on the Bellman-Ford algorithm.OSPF works on Dijkstra algorithm.
3It is a Distance Vector protocol and it uses the distance or hops count to determine the transmission path.It is a link-state protocol and it analyzes different sources like the speed, cost and path congestion while identifying the shortest path.
4It is used for smaller size organizations.It is used for larger size organizations in the network.
5It allows a maximum of 15 hops.There is no such restriction on the hop count.
6It is not a more intelligent dynamic routing protocol.It is a more intelligent routing protocol than RIP.
7The networks are classified as areas and tables here.The networks are classified as areas, sub-areas, autonomous systems, and backbone areas here.
8Its administrative distance is 120.Its administrative distance is 110.
9RIP uses UDP(User Datagram Protocol) Protocol.OSPF works for IP(Internet Protocol) Protocol.
10It calculates the metric in terms of Hop Count.It calculates the metric in terms of bandwidth.
11In RIP, the whole routing table is to be broadcasted to the neighbors every 30 seconds by the routers.In OSPF, parts of the routing table are only sent when a change has been made to it.
12RIP utilizes less memory compared to OSPF but is CPU intensive like OSPF.OSPF device resource requirements are CPU intensive and memory.
13It consumes more bandwidth because of greater network resource requirements in sending the whole routing table.It consumes less bandwidth as only part of the routing table is to send.
14Its multicast address is’s multicast addresses are and 
My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!