SlideShare una empresa de Scribd logo
1 de 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/

Más contenido relacionado

Más de 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
 

Más de 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
 

Último

Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 

Último (20)

Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 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/