Routing Information Protocol (Ripv1 & Ripv2)
Routing Information Protocol (Ripv1 & Ripv2)
Routing Information Protocol (Ripv1 & Ripv2)
ROUTING INFORMATION
PROTOCOL
(RIPv1 & RIPv2)
Routing Protocols
Routing protocols
Protocols used by routers to make path determination
choices and to share those choices with other routers
Hop count
The number of routers a packet must pass through to
reach a particular network
Metric
A value used to define the suitability of a particular
route
Routers use metrics to determine which routes are
better than other routes
Routing Categories
Autonomous System
EGP
Exterior Gateway
Protocols are used
for routing between
Autonomous Systems
AS 1000
AS 3000
IGP
AS 2000
Routing Categories
Interior Gateway Protocol Exterior Gateway
(IGP)
Protocol (EGP)
AS 1000
AS 3000
EGP
EGP
IGP
EGP
AS 2000
Fig. 49 The use of IGP and EGP protocols (TI1332EU02TI_0004 The Network Layer, 67)
routes
are
exchanged
between
foreign
Distance Vector
192.168.10.1
192.168.20.1
192.168.20.1
192.168.10.1
There are two Distance Vector Protocol, Both uses different metric
RIP Hops
IGRP - Internetwork delay, bandwidth, reliability, and load are all
factored into the routing decision.
Distance Vector
2
R1R1
3
0
192.168.10.1
192.168.10.1
2
1
192.168.20.1
192.168.20.1
Distance Vector
10
1 Mbps
R1
1 Mbps
1 Mbps
10
10
192.168.10.1
56 kbps
192.168.10.1
30
30
30
60
56 kbps
192.168.20.1
192.168.20.1
Each node maintains the distance from itself to each possible destination network.
Count to Infinity
Routing Loops
Defining a Maximum
Split Horizon
Split-horizon Route Advertisement is a method
of preventing routing loops in distance-vector
routing protocols by prohibiting a router from
advertising a route back onto the interface from
which it was learned.
Split Horizon is a rule that routing information
cannot be sent back in the direction from which it
was received.
Route Poisoning
Route Poisoning is usually used in conjunction with split
horizon.
For example if Router A goes down, Router B initiates
route poisoning by advertising the network between A
and B as unreachable.
When router C receives a route poisoning from B, it
sends an update, called a poison Reverse back to B.
This ensures that all routes on the segment have
received the poisoned route information.
Hold-downs
Hold-downs are a technique used to ensure that a route
recently removed or changed is not reinstated by a routing
table update from another route.
Hold-down prevents regular update messages from
reinstating a route that is going up and down (called
flapping).
Hold-downs make a router wait a period of time before
accepting an update for a network whose status or metric
has recently changed.
RIP TIMERS
Route Update Timer - The routing-update timer
clocks the interval between periodic routing updates. It
is usually set to 30 seconds.
Administrative distance
A value used to determine the reliability of the
information regarding a particular route
Administrative distances range from 0255
Summary
Routing Information Protocol (RIP) is a true distance-vector
routing protocol.
It sends the complete routing table out to all active interfaces
every 30 seconds
RIP only uses hop count to determine the best way to a
remote network
It has a maximum allowable hop count of 15
AD is 120
Works well in small networks, but its inefficient on large
networks
RIP version 1 uses only class-full routing.
RIP version 2 does send subnet mask information with the
route updates. This is called classless routing.