Difference between OSPF and IGRP

1. Open Shortest Path First (OSPF) :
OSPF uses link-state routing algorithm. Using the link state information which is available in routers, it constructs the topology in which the 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 advantages 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.

2. Interior Gateway Routing protocol (IGRP) :
IGRP uses distance vector protocol (interior) to exchange data within a system. It supports multiple metrics for each node which includes delay, load and bandwidth, in order to compare the 2 routes which are combined into single metrics. The port number for IGRP is 9 which are used for communication and by default every 90 seconds it updates the routing information.



Difference between OSPF and IGRP :

SR.NO OSPF IGRP
1. OSPF stands For Open Shortest Path First. IGRP Stands For Interior Gateway Routing protocol.
2. OSPF works on Dijkstra Algorithm. IGRP works on Bellman ford Algorithm.
3. It is a link state protocol. It is a distance vector protocol.
4. It is basically use for larger size organization in the network. It is basically use for medium to larger size organization in the network.
5. There is no such restriction on the hop count. It allow maximum hop count upto 255.
6. It is a more intelligent routing protocol than IGRP. It is not more intelligent routing protocol.
7. OSPF routing protocol creates three Table in the router:
Neighbor Table, Database Table, Routing Table.
IGRP routing protocol creates three table In the router :
Neighbor Table, Topology Table, Routing Table.
8. It’s dministrative distance is 110. It’s administrative distance is 100.
9. It Is a Industry standard routing protocol. It Is a Cisco standard routing protocol.
10. It calculates the metric in terms of bandwidth. It calculates the metric In terms of bandwidth, load and delay.

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.