ROUTING INFORMATION PROTOCOL (RIP)

ROUTING INFORMATION PROTOCOL (RIP)

Enable RIP and advertise the directly connected networks using the following commands.
Syntax:
Router(config)#router rip
Router(config-router)#network <network ID>


Configurations of Routers are given below: 




ON DELHI:
DELHI#configure terminal
DELHI(config)#ip routing 
DELHI(config)#router rip 
DELHI(config-router)#network 192.168.1.0 
DELHI(config-router)#network 172.16.0.0 
DELHI(config-router)#Ctrl + z


ON KOLKATA:
KOLKATA#configure terminal
KOLKATA(config)#ip routing 
KOLKATA(config)#router rip 

KOLKATA(config-router)#network 10.0.0.0 
KOLKATA(config-router)#network 172.16.0.0
KOLKATA(config-router)#network 172.17.0.0
KOLKATA(config-router)#Ctrl + z


ON MUMBAI:
MUMBAI#configure terminal
MUMBAI(config)#ip routing 
MUMBAI(config)#router rip 
MUMBAI(config-router)#network 192.168.2.0 
MUMBAI(config-router)#network 172.17.0.0 
MUMBAI(config-router)#Ctrl + z


To verify, the following commands can be give on  all Routers
Show commands:
KOLKATA#show ip route
KOLKATA#show ip protocol



To verify, the following commands can be give on all Routers

Debug commands:
KOLKATA#debug ip rip
KOLKATA#terminal monitor
KOLKATA#undebug  all            (to turnoff debugging)
KOLKATA#terminal no monitor


OUTPUT :

Kolkata#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, FastEthernet0/0
C    172.16.0.0/16 is directly connected, Serial0/0/0
C    172.17.0.0/16 is directly connected, Serial0/0/1
R    192.168.1.0/24 [120/1] via 172.16.0.1, 00:00:11, Serial0/0/0
R    192.168.2.0/24 [120/1] via 172.17.0.2, 00:00:06, Serial0/0/1

'R" represents Route learnt by RIP, "120" is the Administrative distance and "1" is the metric (Hop count).


To verify which dynamic routing protocols are configured and their properties use the following command

Kolkata#sh ip protocols 
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 7 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 1, receive any version
  Interface             Send  Recv  Triggered RIP  Key-chain
  FastEthernet0/0       1     2 1   
  Serial0/0/0              1     2 1   
  Serial0/0/1              1     2 1   
Automatic network summarization is in effect Maximum path: 4
Routing for Networks:
10.0.0.0
172.16.0.0
172.17.0.0
Passive Interface(s):
Routing Information Sources:
Gateway         Distance      Last Update
172.16.0.1           120      00:00:09
172.17.0.2           120      00:00:05
Distance: (default is 120)

To enable the logs on telnet session use the following command. (By default logs can be seen only on Console)
 Router#terminal monitor


To verify the RIP updates, use the following command:

Router#debug ip rip

NOTE:-  Configure RIP version 2


To configure RIP version 2, use the following command :-

Router(config)#router rip
Router(config-router)#version 2 
Router(config-router)#network <Network ID>



















No comments:

Post a Comment