How to Configure RIP (Routing Information protocol) on Cisco Router

Configure RIP (Routing Information protocol) is use to make Communication Between two or more Netwirk. RIP  is a Dynamic Routing Protocol and Distance vector protocol which used to find the best path based on the hope count in the network . RIP perform routing only single autonomous system because it is a interior gateway protocol . Number of hops in the RIP is limited that why it prevent from routing looping because no of hops will exceed (means 16 hop) considered as unreachable .

 

 
 

 

Configure RIP (Routing Information protocol) 

Configuration Of Router 1

 
 
Router>
Router>en
Router#conf t
Router#hostname R1
R1(config)#
To Configure IP address on Router 1 interfaces
 
R1(config)#int s0/0/0
R1(config-if)#ip add 10.1.1.1 255.0.0.0
R1(config-if)#clock rate 64000
R1(config-if)#no shut
R1(config-if)#int f0/0
R1(config-if)#ip add 172.16.1.1 255.255.0.0
R1(config-if)#no shut
R1(config-if)#exit
 
Enable  RIP protocol to Router 1
 
 
R1(config)#Router Rip
R1(config-router)#net 10.0.0.0
R1(config-router)#net 172.16.0.0
R1(config-router)#exit
R1(config)#exit
R1#wr
Building configuration…
[OK]
R1#
 
Show IP Route detail on Router 1
 
R1#sh ip route
Codes: C – connected, S – static, I – IGRP, 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, E – EGp   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, Serial0/0/0
C    172.16.0.0/16 is directly connected, FastEthernet0/0
R    192.168.1.0/24 [120/1] via 10.1.1.2, 00:00:09, Serial0/0/0
 
 Verify Network configuration with Ping 192.168.1.1
 
R1#ping 192.168.1.1
 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 2/3/5 ms
 
R1#

Configuration of Router 2

Router>en
Router#conf t
Router(config)#hostname R2
 
To Configure IP address on Router 1 interfaces
 
R2(config)#int s0/0/1
R2(config-if)#ip add 10.1.1.2 255.0.0.0
R2(config-if)#no shut
R2(config-if)#int f0/0
R2(config-if)#
R2(config-if)#ip add 192.168.1.1 255.255.255.0
R2(config-if)#no shut
R2(config-if)#exit
 
Enable RIP protocol on Router 2
 
R2(config)#router rip
R2(config-router)#net 10.0.0.0
R2(config-router)#net 192.168.1.0
R2(config-router)#exit
R2(config)#exit
R2#wr
Building configuration…
[OK]
R2#
Show IP Route detail on Router 2
 
R1#sh ip route
Codes: C – connected, S – static, I – IGRP, 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, E – EGp   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, Serial0/0/1
R    172.16.0.0/16 [120/1] via 10.1.1.1, 00:00:08, Serial0/0/1
C    192.168.1.0/24 is directly connected, FastEthernet0/0
 
 Verify Network configuration with Ping 192.168.1.1
 
R2#ping 172.16.1.1
 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 2/4/6 ms
 
R2#
 
Share This onShare on FacebookTweet about this on TwitterShare on LinkedInShare on RedditShare on StumbleUponShare on Google+Pin on PinterestBuffer this pageShare on Tumblr
Rakesh Kumar
at
Rakesh Kumar is a Network engineer and a Blogger. He is crazy for learn and write about Technology , Tech and Computer Tips and Tricks Blog.