The Wayback Machine - https://web.archive.org/web/20240717024602/https://www.geeksforgeeks.org/difference-between-ospf-and-igrp/
Open In App

Difference between OSPF and IGRP

Last Updated : 22 Aug, 2022
Improve
Suggest changes
Post a comment
Like Article
Like
Save
Share
Report

1. Open Shortest Path First (OSPF): 
OSPF 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) are 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, to compare the 2 routes which are combined into single metrics. The port number for IGRP is 9 which is 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 used for larger size organizations in the network. It is basically used for medium to larger size organizations in the network.
5. There is no such restriction on the hop count. It allows maximum hop count up to 255.
6. It is a more intelligent routing protocol than IGRP. It is not more intelligent routing protocol.
7. OSPF routing protocol creates three Tables in the router: Neighbor Table, Database Table, and Routing Table. IGRP routing protocol creates three tables In the router: Neighbor Table, Topology Table, and Routing Table.
8. Its administrative distance is 110. Its administrative distance is 100.
9. It is an 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.
11. To calculate the best path SPF algorithm is used. To calculate the best path distance vector algorithm is used and the load balancing of unequal cost is done by a variance mechanism.
12. The area no. is used to create a separate administrative boundary. The routers that are within the same area able to exchange the route information with neighbor routers in the network. The Autonomous System (AS) No. is used to create a separate administrative boundary in the network.
13. VLSM (Variable Length Subnet Mask) is supported. It does not provide VLSM (Variable Length Subnet Mask).


Similar Reads

Difference between IGRP and EIGRP
Interior Gateway Routing Protocol (IGRP): Interior Gateway Routing Protocol is the routing protocol. It is also a distance vector routing protocol. In this, Bellman ford algorithm is used. The least hop count in IGRP is 255. Enhanced Interior Gateway Routing Protocol (EIGRP): Enhanced Interior Gateway Routing Protocol is routing protocol like Inter
2 min read
Difference between RIP and IGRP
1. Routing Information Protocol (RIP): RIP, 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. A mechanism like the split horizon, route poisoning, and hold down is used to prevent fr
2 min read
Difference between IGRP and BGP
1. Interior Gateway Routing Protocol (IGRP): IGRP, in which uses distance vector protocol (interior) to exchange data within a system. It supports multiple metrics for each node which includes delay, load, and bandwidth, to compare the 2 routes which are combined into single metrics. The port number for IGRP is 9 which is used for communication and
2 min read
IGRP Routing Protocol
In a host network, the Interior Gateway Routing Protocol (IGRP) is a proprietary distance vector routing protocol that is used to exchange routing information. Cisco was the one who came up with the idea. The Interior Gateway Routing Protocol (IGRP) regulates the transfer of routing information among linked routers in the host network or autonomous
5 min read
Difference between OSPF and BGP
Open Shortest Path First (OSPF): OSPF is type of hierarchical network topology or design. OSPF prefers fastest path rather than shortest path. In Open Shortest Path First, internet protocol is used. It uses link-state-routing (LSR) algorithm for its functionality. OSPF is an Interior Gateway Protocol (IGP), where routers connect networks using the
3 min read
Difference between EIGRP and OSPF
EIGRP (Enhanced Interior Gateway Routing Protocol) It is used to share the information from one router to the neighbor routers if they exist in the same region. It is also a complex protocol but can be configured and make it work easily in small and large networks. It is also a hybrid protocol because it uses the features of the both distance vecto
2 min read
Difference between RIP and OSPF
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 poisonin
3 min read
Difference between OSPF and IS-IS
1. OSPF : It was developed because of in demand in the internet society to launch a high functionality non-proprietary IGP for the TCP/IP protocol community. The OSPF is an intradomain routing protocol and is based on link state routing technology. It has introduced some new concepts that are authentication of routing updates, variable length Subne
2 min read
Open shortest path first (OSPF) router roles and configuration
Prerequisite - Open shortest path first (OSPF) Open shortest path first (OSPF) is a link-state routing protocol which is used to find the best path between the source and the destination router using its own SPF algorithm. Open shortest path first (OSPF) router roles - An area is a group of contiguous networks and routers. Routers belonging to same
3 min read
Open Shortest Path First (OSPF) Protocol fundamentals
Open shortest path first (OSPF) is a link-state routing protocol that is used to find the best path between the source and the destination router using its own shortest path first (SPF) algorithm. A link-state routing protocol is a protocol that uses the concept of triggered updates, i.e., if there is a change observed in the learned routing table
5 min read