RIP and IGRP
RIP and IGRP
RIP
Routing Information Protocol
ICT Department
ATVI
Distance Vector Protocols
• Split Horizon
Routing info can not be send back to the router from which its
received
• Route Poisoning
When a network goes down, the routers send the router poison
message (hop 16) which show that its down
• Hold Downs
Its prevents the sending of routing info about the routers that
rapidly changes to DOWN and UP
(4 by default)
• RIP has two versions
• RIPv1
• RIPv2
Ali Mohammad Masoomi
RIP uses two message types
• Request message
• This is sent out on startup by each RIP enabled interface
• Response message
• Message sent to requesting router containing routing table
RIP uses a single routing metric (hop count) to measure the distance
between the source and a destination network.
Each hop in a path from source to destination is assigned a hop
count value, which is typically 1.
When a router receives a routing update that contains a new or
changed destination network entry, the router adds 1 to the metric
value indicated in the update and enters the network in the routing
table. The IP address of the sender is used as the next hop.
• Route invalid timer: Determines the length of time that must elapse
(180 seconds) before a router determines that a route has become
invalid.
• Route flush timer: Sets the time between a route becoming invalid
and its removal from the routing table (240 seconds). Before it’s
removed from the table, the router notifies its neighbors of that route’s
death.
• After you enable the RIP routing process, you must define the
interfaces that will participate in that routing process using
the network command. By default, the router sends RIP
Version 1 updates and accepts RIP Version 1 and Version 2
updates.
Command Purpose
Network network_address This step specifies the interfaces that will
participate in the RIP routing process.
Example: If an interface belongs to a network
R1(config)# router rip defined by this command, the interface will
R1(config-router)# network 10.0.0.0 participate in the RIP routing process. If an
interface does not belong to a network
defined by this command, it will not send
or receive RIP updates.
Command Purpose
version [ 1 | 2 ] Specifies the version of RIP used by the
router.
Example: You can override this setting on a per-
R1(config-router)# version 2 interface basis
RIPv1 RIPv2
Distance Vector Distance Vector
Classful Classless
R1(config)#router rip
R1(config-router)#version 2
R1(config-router)#network 192.168.10.0
R1(config-router)#network 192.168.20.0
R1(config-router)#network 192.168.30.0
R1(config-router)#network 192.168.40.0
• The main difference between RIP and IGRP is that all the
Routers that share the same routing table in IGRP must have
the same Autonomous System (AS) number, while in RIP
such thing is not available.
• Cisco does not support IGRP anymore