SlideShare a Scribd company logo
1 of 5
How to Configure Interior Gateway Routing Protocol (IGRP)?
Interior Gateway Routing Protocol (IGRP) is a distance-vector routing protocol. It is
also a Cisco proprietary routing protocol – which means that all routers in your
network must be Cisco routers in order to run IGRP.

Before getting into all the details of IGRP take a quick look aton Dynamic Routing
Protocols for some detailed information on distance-vector routing protocols. This
will help you understand the limitations and problems of distance-vector routing
protocols and the necessity of an enhanced routing protocol like IGRP. The maximum
hop count of 15 in RIP is enhanced into a maximum hop count of 255 with a default
of 100 in IGRP – making IGRP more appropriate for larger networks.

Moreover IGRP uses a composite metric to determine the best route to an
internetwork. It’s called a composite because it uses a combination of metrics –
bandwidth and delay of the link by default. Reliability and load of the link can also be
used as metrics.

Later on we’ll take a look at how these metrics are combined to form a composite
metric.
Main Characteristics of IGRP
        IGRP is a Cisco proprietary distance vector routing protocol.
        IGRP sends routing updates every 90 seconds, advertising networks of a
        particular autonomous system.
        By default IGRP uses bandwidth and delay as metrics. It can be configured to
        use a combination of variables such as bandwidth, delay, load and reliability
        to establish a composite metric.
        IGRP has an administrative distance of 100 making it a more trustworthy
        routing protocol than RIP which has an administrative distance of 120.

IGRP Timers
       Update timer: specifies how frequently routing update messages should be
       sent. The default is 90 seconds.
       Invalid timer: specifies how long a router should wait in the absence of
       routing-update messages about a specific route before declaring that route
       invalid (or unreachable). The default is three times the update period which is
       equal to 270 seconds. After this period, the route is placed in the holddown
       state.
       Holddown timer: specifies the amount of time a router should wait after
       expiration of the invalid timer. During this time the specific route is marked as
       unreachable and information about alternative routes is ignored. The IGRP
       default for this variable is three times the update timer period plus 10
       seconds = 280 seconds.
       Flush timer: indicates how much time should pass before a route is flushed
http://blog.router-switch.com/
from the routing table. The default is seven times the routing update timer
       which is equal to 630 seconds.

Configuring IGRP
Configuring IGRP is similar to configuring RIP. The only difference is that you have to
use anAutonomous System (AS) number in order to be able to turn on IGRP. The
same AS number needs to be configured on all IGRP enabled routers on the network
in order to be able to exchange routing updates. A router may use more than one AS
number. This way it can share different pieces of information with different routers.

Let’s use the following subnet internetwork to configure IGRP routing:




The router igrp command turns IGRP routing on in the router. The Autonomous
System number specified here is 100 (it can be any number between 1 and 65535).
Notice that IGRP uses classful routing, similar to RIP, meaning that it does not send
subnet mask information along with the routing protocol updates.




http://blog.router-switch.com/
Notice that we use the same AS number (100) in order for the two routers to be able
to exchange IGRP routing protocol updates.

Verifying IGRP
Issuing the command show ip route on routerA you can notice that routing
information for network 172.16.0.0 has been acquired via IGRP. The I means IGRP
learned routes. The 100 in [100/80135] is the administrative distance of IGRP and
80135 is the composite metric. The lower this metric, the better the route.




Using the command show ip protocols you can verify IGRPs operation. Information
regarding IGRP timers, AS number and maximum hop count can be obtained from
this command. Moreover the metric variables can be seen here as well (K1- K5).




Metric Calculation
http://blog.router-switch.com/
Use the show interface command to view the metrics used on the specific interface
on which IGRP is being routed.




IGRP uses the following metric calculation:
Metric=[K1* bandwidth + (K2 * bandwidth)/(256-load) + (K3 * delay)]*
[K5/(reliability +K4)]

By default only bandwidth and delay are considered in the metric calculation. To
obtain this behavior (seen on the show ip protocols command as well) the following
default variable values are configured:
K1=1, K2=0, K3=1, K4=0, K5=0, where
K1 is for bandwidth, K2 for load, K3 for delay, K4 and K5 for Reliability

Substituting the default values in the metric calculation we end up with:

Metric= bandwidth + delay
The values used in the metric calculation are not the raw values obtained from
the show interface command. Actually these raw values are used in the following
equations to compute the calculated values which are displayed in the show ip
route command:
       Bandwidth = (10000000/raw bandwidth measured in Kb/s)
       Delay = (raw delay in s/10)

Example: For a serial interface with a bandwidth of 1544 kb/s and delay of
20000X10-6 s the calculated values used in IGRP routing updates would be:
      Bandwidth = 10000000/1544 = 6476
      Delay = 20000/10 = 2000

To end up with the final composite metric, the router sums up all calculated delay
metrics on the outgoing interfaces along the route towards a given destination and
the Bandwidth calculated metric taken from the lowest bandwidth along the route.


http://blog.router-switch.com/
The IGRP Scenario
If IGRP has lower AD than RIP, then I should use IGRP, right?

Actually the answer is NO. There is no single best case solution. There is no best
solution among RIP and IGRP.

Networks vary in many ways. You need to fully understand the operation of these
routing protocols and try to adapt their operation into the architecture of your
network in order to differentiate their pros and cons.

Though I cannot tell you which of these two protocols is better, what I am able to tell
you is that if you do have the option to use EIGRP, then you should use it over IGRP
or RIP. EIGRP is definitely a better routing protocol than both RIP and IGRP.

More Networking Tips:
Static Routing vs. Dynamic Routing
How to Troubleshoot OSPF?
How to Configure EIGRP on a Cisco Router?




http://blog.router-switch.com/

More Related Content

More from IT Tech

Cisco transceiver module for compatible catalyst switches
Cisco transceiver module for compatible catalyst switchesCisco transceiver module for compatible catalyst switches
Cisco transceiver module for compatible catalyst switchesIT Tech
 
Cisco ios on cisco catalyst switches
Cisco ios on cisco catalyst switchesCisco ios on cisco catalyst switches
Cisco ios on cisco catalyst switchesIT Tech
 
Cisco's wireless solutions deployment modes
Cisco's wireless solutions deployment modesCisco's wireless solutions deployment modes
Cisco's wireless solutions deployment modesIT Tech
 
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dell
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dellCompetitive switching comparison cisco vs. hpe aruba vs. huawei vs. dell
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dellIT Tech
 
Four reasons to consider the all in-one isr 1000
Four reasons to consider the all in-one isr 1000Four reasons to consider the all in-one isr 1000
Four reasons to consider the all in-one isr 1000IT Tech
 
The difference between yellow and white labeled ports on a nexus 2300 series fex
The difference between yellow and white labeled ports on a nexus 2300 series fexThe difference between yellow and white labeled ports on a nexus 2300 series fex
The difference between yellow and white labeled ports on a nexus 2300 series fexIT Tech
 
Cisco transceiver modules for compatible cisco switches series
Cisco transceiver modules for compatible cisco switches seriesCisco transceiver modules for compatible cisco switches series
Cisco transceiver modules for compatible cisco switches seriesIT Tech
 
Guide to the new cisco firepower 2100 series
Guide to the new cisco firepower 2100 seriesGuide to the new cisco firepower 2100 series
Guide to the new cisco firepower 2100 seriesIT Tech
 
892 f sfp configuration example
892 f sfp configuration example892 f sfp configuration example
892 f sfp configuration exampleIT Tech
 
Cisco nexus 7000 and nexus 7700
Cisco nexus 7000 and nexus 7700Cisco nexus 7000 and nexus 7700
Cisco nexus 7000 and nexus 7700IT Tech
 
Cisco firepower ngips series migration options
Cisco firepower ngips series migration optionsCisco firepower ngips series migration options
Cisco firepower ngips series migration optionsIT Tech
 
Eol transceiver to replacement model
Eol transceiver to replacement modelEol transceiver to replacement model
Eol transceiver to replacement modelIT Tech
 
Cisco firepower 2100 series, as a ngfw or a ngips
Cisco firepower 2100 series, as a ngfw or a ngipsCisco firepower 2100 series, as a ngfw or a ngips
Cisco firepower 2100 series, as a ngfw or a ngipsIT Tech
 
16 questions of cisco sfp 10 g-sr...
16 questions of cisco sfp 10 g-sr...16 questions of cisco sfp 10 g-sr...
16 questions of cisco sfp 10 g-sr...IT Tech
 
Various raid levels pros & cons
Various raid levels pros & consVarious raid levels pros & cons
Various raid levels pros & consIT Tech
 
5 comparisons measuring ssd and hdd performance
5 comparisons measuring ssd and hdd performance5 comparisons measuring ssd and hdd performance
5 comparisons measuring ssd and hdd performanceIT Tech
 
Cisco 1921 series key features & benefits
Cisco 1921 series key features & benefitsCisco 1921 series key features & benefits
Cisco 1921 series key features & benefitsIT Tech
 
Guide using the hpe dl380 gen9 24-sff server as a vertica node
Guide using the hpe dl380 gen9 24-sff server as a vertica nodeGuide using the hpe dl380 gen9 24-sff server as a vertica node
Guide using the hpe dl380 gen9 24-sff server as a vertica nodeIT Tech
 
Raid the redundant array of independent disks technology overview
Raid the redundant array of independent disks technology overviewRaid the redundant array of independent disks technology overview
Raid the redundant array of independent disks technology overviewIT Tech
 
How to choose a server for your data center's needs
How to choose a server for your data center's needsHow to choose a server for your data center's needs
How to choose a server for your data center's needsIT Tech
 

More from IT Tech (20)

Cisco transceiver module for compatible catalyst switches
Cisco transceiver module for compatible catalyst switchesCisco transceiver module for compatible catalyst switches
Cisco transceiver module for compatible catalyst switches
 
Cisco ios on cisco catalyst switches
Cisco ios on cisco catalyst switchesCisco ios on cisco catalyst switches
Cisco ios on cisco catalyst switches
 
Cisco's wireless solutions deployment modes
Cisco's wireless solutions deployment modesCisco's wireless solutions deployment modes
Cisco's wireless solutions deployment modes
 
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dell
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dellCompetitive switching comparison cisco vs. hpe aruba vs. huawei vs. dell
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dell
 
Four reasons to consider the all in-one isr 1000
Four reasons to consider the all in-one isr 1000Four reasons to consider the all in-one isr 1000
Four reasons to consider the all in-one isr 1000
 
The difference between yellow and white labeled ports on a nexus 2300 series fex
The difference between yellow and white labeled ports on a nexus 2300 series fexThe difference between yellow and white labeled ports on a nexus 2300 series fex
The difference between yellow and white labeled ports on a nexus 2300 series fex
 
Cisco transceiver modules for compatible cisco switches series
Cisco transceiver modules for compatible cisco switches seriesCisco transceiver modules for compatible cisco switches series
Cisco transceiver modules for compatible cisco switches series
 
Guide to the new cisco firepower 2100 series
Guide to the new cisco firepower 2100 seriesGuide to the new cisco firepower 2100 series
Guide to the new cisco firepower 2100 series
 
892 f sfp configuration example
892 f sfp configuration example892 f sfp configuration example
892 f sfp configuration example
 
Cisco nexus 7000 and nexus 7700
Cisco nexus 7000 and nexus 7700Cisco nexus 7000 and nexus 7700
Cisco nexus 7000 and nexus 7700
 
Cisco firepower ngips series migration options
Cisco firepower ngips series migration optionsCisco firepower ngips series migration options
Cisco firepower ngips series migration options
 
Eol transceiver to replacement model
Eol transceiver to replacement modelEol transceiver to replacement model
Eol transceiver to replacement model
 
Cisco firepower 2100 series, as a ngfw or a ngips
Cisco firepower 2100 series, as a ngfw or a ngipsCisco firepower 2100 series, as a ngfw or a ngips
Cisco firepower 2100 series, as a ngfw or a ngips
 
16 questions of cisco sfp 10 g-sr...
16 questions of cisco sfp 10 g-sr...16 questions of cisco sfp 10 g-sr...
16 questions of cisco sfp 10 g-sr...
 
Various raid levels pros & cons
Various raid levels pros & consVarious raid levels pros & cons
Various raid levels pros & cons
 
5 comparisons measuring ssd and hdd performance
5 comparisons measuring ssd and hdd performance5 comparisons measuring ssd and hdd performance
5 comparisons measuring ssd and hdd performance
 
Cisco 1921 series key features & benefits
Cisco 1921 series key features & benefitsCisco 1921 series key features & benefits
Cisco 1921 series key features & benefits
 
Guide using the hpe dl380 gen9 24-sff server as a vertica node
Guide using the hpe dl380 gen9 24-sff server as a vertica nodeGuide using the hpe dl380 gen9 24-sff server as a vertica node
Guide using the hpe dl380 gen9 24-sff server as a vertica node
 
Raid the redundant array of independent disks technology overview
Raid the redundant array of independent disks technology overviewRaid the redundant array of independent disks technology overview
Raid the redundant array of independent disks technology overview
 
How to choose a server for your data center's needs
How to choose a server for your data center's needsHow to choose a server for your data center's needs
How to choose a server for your data center's needs
 

Recently uploaded

FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 

Recently uploaded (20)

FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 

How to configure interior gateway routing protocol

  • 1. How to Configure Interior Gateway Routing Protocol (IGRP)? Interior Gateway Routing Protocol (IGRP) is a distance-vector routing protocol. It is also a Cisco proprietary routing protocol – which means that all routers in your network must be Cisco routers in order to run IGRP. Before getting into all the details of IGRP take a quick look aton Dynamic Routing Protocols for some detailed information on distance-vector routing protocols. This will help you understand the limitations and problems of distance-vector routing protocols and the necessity of an enhanced routing protocol like IGRP. The maximum hop count of 15 in RIP is enhanced into a maximum hop count of 255 with a default of 100 in IGRP – making IGRP more appropriate for larger networks. Moreover IGRP uses a composite metric to determine the best route to an internetwork. It’s called a composite because it uses a combination of metrics – bandwidth and delay of the link by default. Reliability and load of the link can also be used as metrics. Later on we’ll take a look at how these metrics are combined to form a composite metric. Main Characteristics of IGRP IGRP is a Cisco proprietary distance vector routing protocol. IGRP sends routing updates every 90 seconds, advertising networks of a particular autonomous system. By default IGRP uses bandwidth and delay as metrics. It can be configured to use a combination of variables such as bandwidth, delay, load and reliability to establish a composite metric. IGRP has an administrative distance of 100 making it a more trustworthy routing protocol than RIP which has an administrative distance of 120. IGRP Timers Update timer: specifies how frequently routing update messages should be sent. The default is 90 seconds. Invalid timer: specifies how long a router should wait in the absence of routing-update messages about a specific route before declaring that route invalid (or unreachable). The default is three times the update period which is equal to 270 seconds. After this period, the route is placed in the holddown state. Holddown timer: specifies the amount of time a router should wait after expiration of the invalid timer. During this time the specific route is marked as unreachable and information about alternative routes is ignored. The IGRP default for this variable is three times the update timer period plus 10 seconds = 280 seconds. Flush timer: indicates how much time should pass before a route is flushed http://blog.router-switch.com/
  • 2. from the routing table. The default is seven times the routing update timer which is equal to 630 seconds. Configuring IGRP Configuring IGRP is similar to configuring RIP. The only difference is that you have to use anAutonomous System (AS) number in order to be able to turn on IGRP. The same AS number needs to be configured on all IGRP enabled routers on the network in order to be able to exchange routing updates. A router may use more than one AS number. This way it can share different pieces of information with different routers. Let’s use the following subnet internetwork to configure IGRP routing: The router igrp command turns IGRP routing on in the router. The Autonomous System number specified here is 100 (it can be any number between 1 and 65535). Notice that IGRP uses classful routing, similar to RIP, meaning that it does not send subnet mask information along with the routing protocol updates. http://blog.router-switch.com/
  • 3. Notice that we use the same AS number (100) in order for the two routers to be able to exchange IGRP routing protocol updates. Verifying IGRP Issuing the command show ip route on routerA you can notice that routing information for network 172.16.0.0 has been acquired via IGRP. The I means IGRP learned routes. The 100 in [100/80135] is the administrative distance of IGRP and 80135 is the composite metric. The lower this metric, the better the route. Using the command show ip protocols you can verify IGRPs operation. Information regarding IGRP timers, AS number and maximum hop count can be obtained from this command. Moreover the metric variables can be seen here as well (K1- K5). Metric Calculation http://blog.router-switch.com/
  • 4. Use the show interface command to view the metrics used on the specific interface on which IGRP is being routed. IGRP uses the following metric calculation: Metric=[K1* bandwidth + (K2 * bandwidth)/(256-load) + (K3 * delay)]* [K5/(reliability +K4)] By default only bandwidth and delay are considered in the metric calculation. To obtain this behavior (seen on the show ip protocols command as well) the following default variable values are configured: K1=1, K2=0, K3=1, K4=0, K5=0, where K1 is for bandwidth, K2 for load, K3 for delay, K4 and K5 for Reliability Substituting the default values in the metric calculation we end up with: Metric= bandwidth + delay The values used in the metric calculation are not the raw values obtained from the show interface command. Actually these raw values are used in the following equations to compute the calculated values which are displayed in the show ip route command: Bandwidth = (10000000/raw bandwidth measured in Kb/s) Delay = (raw delay in s/10) Example: For a serial interface with a bandwidth of 1544 kb/s and delay of 20000X10-6 s the calculated values used in IGRP routing updates would be: Bandwidth = 10000000/1544 = 6476 Delay = 20000/10 = 2000 To end up with the final composite metric, the router sums up all calculated delay metrics on the outgoing interfaces along the route towards a given destination and the Bandwidth calculated metric taken from the lowest bandwidth along the route. http://blog.router-switch.com/
  • 5. The IGRP Scenario If IGRP has lower AD than RIP, then I should use IGRP, right? Actually the answer is NO. There is no single best case solution. There is no best solution among RIP and IGRP. Networks vary in many ways. You need to fully understand the operation of these routing protocols and try to adapt their operation into the architecture of your network in order to differentiate their pros and cons. Though I cannot tell you which of these two protocols is better, what I am able to tell you is that if you do have the option to use EIGRP, then you should use it over IGRP or RIP. EIGRP is definitely a better routing protocol than both RIP and IGRP. More Networking Tips: Static Routing vs. Dynamic Routing How to Troubleshoot OSPF? How to Configure EIGRP on a Cisco Router? http://blog.router-switch.com/