RIP Routing Information Protocol

RIP Routing Information Protocol


RIP Routing Information Protocol

RIP (Routing Information Protocol) is distance vector routing protocols.It uses the hop count (the number of routers between the source and destination network) as the metric.RIP has a default administrative distance of 120

RIP (Routing Information Protocol) comes in two different versions:

Routing Information Protocol Version 1 (RIPv1)
RIPv1 is classfull routing and doesn’t send subnet masks in routing updates. For sharing routing information its use local broadcast. By default it rn in every 30 seconds.To prevent a loop in routing it used 15 hops on packets, any route with more hop cont will be unreachable.

Routing Information Protocol (RIPv2)
RIPv2 classless routing and sends subnet masks in routing updates. RIPv2 uses the multicast address of 224.0.0.9 to send routing updates.RIPv2 uses multicast instead of broadcasts.when a change occurs, a RIPv2 router will immediately propagate its routing information to its connected neighbours.It supports variable-length subnet masking (VLSM).

How RIP works.

Dia

Considering we have configured RIP on all routers in above scenario. There will be two different possible routes  for R1.
1) Through R2.
2) Through R3 and R4.

Rip used hop count for selecting best path as administrative distance of both router is same.
In this scenario the route through R2 will have a metric of 1, as there is only one router in the path to the 10.0.0.0/24 network.

Routing Information Protocol (RIP) Configuration.

RIP Routing Information Protocol, CCNA

In the above diagram we have three routers, three switches and three hosts connected together.

considering we have configure Hostname and IP address in Router01,Router03,Router03
Please refer how to configure Hostname and IP address in Router01,Router03,Router03 by clicking here.

Routing Information Protocol Version 2 (RIPv2) configuration in Router01

Routing Information Protocol Version 2 (RIPv2) configuration in Router02

Routing Information Protocol Version 2 (RIPv2) configuration in Router03

view the routing table in Router01

view the routing table in Router02

view the routing table in Router03

Now verifying the connnection

Use ping command from Host01 (IP address: 172.16.0.10/16) to Host03 (IP address: 172.20.0.10/16).

The ping reply from Host03 (IP address: 172.20.0.10/16) shows that the Routing Information Protocol Version 2 (RIPv2) is configured well in three routers and there is network connectivity between different networks.


Classfull routing : It means that devices in the network must use the same Subnet Mask
Classless routing

Split Horizon this prevents sending information about a router back out the same interface that originally learnt about the route.

Poison reverse router learn from its neighbours that a route is down and the route send an update back to the neighbour with an inter infinite matrix to that route.



You May Also Enjoy Reading This …