Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Aptitude
  • Engineering Mathematics
  • Discrete Mathematics
  • Operating System
  • DBMS
  • Computer Networks
  • Digital Logic and Design
  • C Programming
  • Data Structures
  • Algorithms
  • Theory of Computation
  • Compiler Design
  • Computer Org and Architecture
Open In App
Next Article:
Difference between OSPF and IGRP
Next article icon

Difference between OSPF and IGRP

Last Updated : 22 Aug, 2022
Comments
Improve
Suggest changes
Like Article
Like
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.NOOSPFIGRP
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).

Next Article
Difference between OSPF and IGRP

A

adware
Improve
Article Tags :
  • Computer Networks
  • Difference Between
  • GATE CS

Similar Reads

    Difference between EIGRP and OSPF
    In Computer Network, EIGRP (Enhanced Interior Gateway Routing Protocol) and OSPF (Open Shortest Path First) are popular routing protocols that successful direct data packets in the network to destination. Both routing protocols manage and update routing table in large networks. Enhanced Interior Gat
    5 min read
    Difference between RIP and IGRP
    Routing protocols play a critical role in the process of identifying how data are to be transmitted within a given network infrastructure. Generally, the two most acknowledged distance-vector routing protocols are Routing Information Protocol (RIP) and Interior Gateway Routing Protocol (IGRP). Altho
    6 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 authen
    2 min read
    Difference between IGRP and EIGRP
    IGRP and EIGRP are two developed routing protocols that belong to the Cisco Systems company. IGRP is an older distance-vector protocol that was built for use within a single autonomous system (AS). It was introduced to overcome the shortcomings of RIP, especially in a large network. EIGRP on the oth
    5 min read
    Difference Between OSPF and BGP
    OSPF(Open Shortest Path First) and BGP(Border Gateway Protocol) are routing protocols and both of them have there different characteristics. OSPF finds the best path within a network while BGP finds the best path between networks. Basically, OSPF is Intra-domain routing and BGP is Inter-domain routi
    4 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences