2
RIP-Routing Information Protocol


Routing Information Protocol is distance vector routing protocol.It knows only neighbors,

It doesn't know entire topology,Routing by rumors
It doesn't support classless network(CIDR),But Rip Version 2 supports CIDR and VLSM
It will update routing informations every 30 seconds(Periodic Updates)
It sends entire routing table to its neighbour

RIP- Routing Information Protocol
Administrative Distance-120
Maximum Hop count-15,16 is unreachable network
Metric - Hop count


Here we are going to see how to configure RIP in a simple topology,check connectivity between hosts




Step 1:Create a topology like i have added below


Step 2:Configure ip address for all interfaces and assign ip address,default gateway to hosts



In Router R1,



R1(config)#interface fastethernet 2/0
R1(config-if)#ip address 10.0.0.1 255.0.0.0
R1(config-if)#no shutdown
R1(config-if)#exit


R1(config)#interface serial 1/0
R1(config-if)#ip address 20.0.0.1 255.0.0.0
R1(config-if)#encapsulation ppp
R1(config-if)#clock rate 64000
R1(config-if)#no shutdown
R1(config-if)#exit





In Router R2,


R2(config)#interface serial 1/0
R2(config-if)#ip address 20.0.0.2 255.0.0.0
R2(config-if)#encapsulation ppp
R2(config-if)#no shutdown
R2(config-if)#exit



R2(config)#interface serial 1/1
R2(config-if)#ip address 30.0.0.1 255.0.0.0
R2(config-if)#encapsulation ppp
R2(config-if)#clock rate 64000
R2(config-if)#no shutdown
R2(config-if)#exit





In Router R3,


R3(config)#
R3(config)#interface serial 1/0
R3(config-if)#ip address 30.0.0.2 255.0.0.0
R3(config-if)#encapsulation ppp
R3(config-if)#no shutdown
R3(config-if)#exit




R3(config)#
R3(config)#interface fastethernet 2/0
R3(config-if)#ip address 40.0.0.1 255.0.0.0
R3(config-if)#no shutdown
R3(config-if)#exit




Step 3:Configure RIP to all routers by using command,

In Router R1,


R1(config)#router rip
R1(config-router)#network 10.0.0.0
R1(config-router)#network 20.0.0.0
R1(config-router)#exit



In Router R2,


R2(config)#router rip
R2(config-router)#network 20.0.0.0
R2(config-router)#network 30.0.0.0
R2(config-router)#exit


In Router R3,


R3(config)#router rip
R3(config-router)#network 30.0.0.0
R3(config-router)#network 40.0.0.0
R3(config-router)#exit



Step 4: Now check routing table of  route R1.Router will have all network information in its routing table, router learned this route by using rip.


R1#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set


C    10.0.0.0/8 is directly connected, FastEthernet2/0
C    20.0.0.0/8 is directly connected, Serial1/0
R    40.0.0.0/8 [120/2] via 20.0.0.2, 00:00:02, Serial1/0
R    30.0.0.0/8 [120/1] via 20.0.0.2, 00:00:02, Serial1/0



Step 5:Now ping from host 10.0.0.10 to 40.0.0.10









RIP Version 2



RIP- Routing Information Protocol
Administrative Distance-120
Maximum Hop count-15,16 is unreachable network
Metric - Hop count

Rip version 2 supports CIDR(Classless Ineternet Domain Routing)

To configure with rip version 2,just give this command,





R1(config)#router rip

R1(config-router)#version 2
R1(config-router)#network 10.0.0.0
R1(config-router)#network 20.0.0.0
R1(config-router)#exit






RIP-Routing Information Protocol Configuration Full Video!!



Post a Comment

 
Top