Understanding RIP and IGRP Protocols
Understanding RIP and IGRP Protocols
RIP has no notion of autonomous system. This means that it knows nothing other than
himself. The only way to exit the autonomous RIP system is therefore a
default static route.
An autonomous system is a series of networks under the administrative control of an entity.
unique presenting a common routing strategy on the Internet.
Invalid: Time interval after receiving the last update for each
entry into the routing table before considering it as expired. After this time,
the concerned entry will no longer be analyzed during the routing table traversal (180 seconds)
by default).
Flush: Time interval after receiving the last update for each
entry in the routing table before removing it from the routing table (240 seconds per)
default).
1.2. Configuration
1.2.1. Commands
network {prefix}
Router configuration mode
Specify the network that will be included in the routing updates
Determine the interfaces belonging to this network that participate in the process of
routing
The pre-fixed must be a network directly connected to the router.
neighbor {IP}
Router configuration mode
Define the IP address of a neighbor with which RIP will exchange routing updates.
By default, no neighbor is defined.
no ip split-horizon
Interface configuration mode
Enable/disable Split Horizon on the current interface
basic
default-information originate
Router configuration mode
Propagate the default candidate network to the other RIP routers in the autonomous system.
{name}
Router configuration mode
Specify the maximum number of links with the same metric that can be used.
for the
load distribution
Default to 4 and maximum to 6 or 16 (IOS >= 12.3(2)T)
redistribute static
Router configuration mode
Inject local static routes and propagate them in RIP updates
2. RIPv2 Protocol
2.2. Configuration
2.2.1. General Commands
router rip
Global configuration mode
Enable the RIP protocol.
version 2
Routing protocol configuration mode
Allows the use of RIPv2 instead of RIPv1
no auto-summary
Routing protocol configuration mode
Disable auto-aggregation.
2.2.2. Authentication
key chain
Global configuration mode
Allows for the identification of a group of authentication keys.
{id}
Key configuration mode
Allows you to create a key in a key group. The key identifier can take
a value from 0 to 2147483647. The key identifier may not be consecutive.
key-string {password}
Key configuration mode
Allows you to set a password for a key.
3. IGRP Protocol
3.1. Theory
Load: Load on the link. It is a binary percentage whose value can range from 0 to
255.
Delay: Transmission time on the path expressed in microseconds (µs). It is the sum
delays of all connections between the source and destination hosts. This value is calculated
throughtheformulaS
.
Thus, with the default values, we arrive at the following simplified formula:
There can be up to 4 routes to the same destination in the routing table. These routes
can be of 3 types:
Interior: Route between directly connected subnets to the local router.
•System: Internal route in the autonomous system propagated by a router.
•External: External route in the AS that has been redistributed into the AS IGRP (also includes the)
redistributed static routes.
Invalid: Time interval after the receipt of the last update for each entry
in the routing table before considering it as outdated. After this time, the entry
concerned will no longer be analyzed during the routing table process (270 seconds per
default, or 3 times the Update).
Hold down: Time interval after receiving the last update before allowing
the replacement of this route by another one that is less good (280 seconds by default).
Flush: Time interval after receiving the last update for each entry
in the routing table before removing it from the routing table (630 seconds by default,
or 7 times the Update).
IGRP also uses Poison Reverse updates. This allows for the placement of routes.
directly to the Holddown state.
Any route whose metric increases by a factor of 1.1 will be updated.
Poison Reverse.
3.2. Configuration
3.2.1. Commands
The commands that can be used for configuring the IGRP protocol are
following:
•router igrp {AS}
Global configuration mode
Activate the IGRProuting protocol on the router for the indicated autonomous system.
parameter
Allows switching to the router's configuration mode
•network {prefix}
Router Configuration Mode
specify the network that will be included in the routing updates
Determine the interfaces belonging to this network that participate in the routing process.
The Lepréfixedoit must be a network directly connected to the router.
neighbor {IP}
Router configuration mode
Defines the IP address of a neighbor with which IGRP will exchange routing updates
By default, no neighbor is defined.
•[no] ip split-horizon
Interface configuration mode
Enable/disable Split Horizon on the current interface
{name}
Router configuration mode
orSpecifythemaximumnumberoflinkswiththesamemetricthatcanbeusedforthe
load distribution
Default is 4 and maximum is 6 or 16 (IOS >= 12.3(2)T)
{value}
Router configuration mode
It allows load balancing between links that do not have the same metric.
oval will be an integer ranging from 1 to 128 (default = 1)
Variance is a multiplicative coefficient used to select routes that have
metrics identical to the variance ready for weighted load distribution
(Weighted
Round Robin
default-network {prefix}
Global configuration mode
Defines a default candidate network to propagate within the autonomous system
The indicated network must be known by the IGRP routers and must be directly connected.
The propagated route will be seen by other IGRP routers as an external route.
redistribute static
Router configuration mode
Inject local static routes and propagate them in IGRP updates
bandwidth {BP}
Interface configuration mode
Defines the bandwidth of the link
This value is used by IGRP and EIGRP for the calculation of their metrics.
The BP parameter is expressed in Kbps
3.3. Verification
As with RIP, IOS provides status visualization and debugging commands for
IGRP :
•show ip protocols : Displays the different IGRP instances, with their AS number, the
counters, the coefficients used for calculating metrics, the informed networks as well as
the interfaces participating in the routing process.
Bibliography:
CISCO CCNA 640-802 v4 Course Material