Configuration of Routing Information Protocol (RIP) in Cisco Packet Tracer

What is Routing Information Protocol?
Routing information protocol is a protocol that routers use to exchange topological information. It is characterized as an interior gateway protocol and is only used in small and medium-sized networks. In Cisco packet tracer this information is updated every 30 seconds
.
How to use Routing Information Protocol?

STEPS:

1) Initially select 2 PC'S, 2 SWITCHES and 2 ROUTERS namely PC-0, PC-1, SWITCH-0, SWITCH-1 ROUTER-0 and ROUTER-1 respectively.

2) Make the necessary connection between the ROUTERS and SWITCHES and SWITCHES and PC'S

3) Now provide the IP addresses to the devices in the following format -:

Device name -- IP address -- Subnet Mask -- Gateway

PC-0 -- 192.168.1.2 -- 255.255.255.0 -- 192.168.3.2

PC-1 -- 192.168.2.2 -- 255.255.255.0 -- 192.168.2.1

ROUTER-0 -- 192.168.1.1 -- 255.255.255.0 ---------- ( to SWITCH-0 - fa 0/2) (first switch off the router then assign)

ROUTER-1 -- 192.168.2.1 -- 255.255.255.0 ---------- ( to SWITCH-1 - fa 0/3) (first switch off the router then assign)

ROUTER-0 -- 10.10.0.2 -- 255.0.0.0  ------------- ( to ROUTER-1 - serial 0/2/0) (first switch off the router then assign)

ROUTER-1 -- 10.10.0.3 -- 255.0.0.0 ------------ ( to ROUTER-0 - serial 0/2/0) (first switch off the router then assign)

4) Once the networks are added, go to the settings option and in 'NVRAM' tap the save option.

5) Now write the command 'no shut' in the CLI of each device on the workspace to change the link to 'up' state.

6) Now in the CLI of ROUTER-1 type the command 'router rip'. Next command in the router configuration mode, type 'network 192.168.2.0' press enter and 'network 10.0.0.0' and press enter.
This will establish the connection and RIP will be in use.




Router-1:
Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 192.168.3.0 255.255.255.0 192.168.1.2
Router(config)#no ip route 192.168.3.0 255.255.255.0 192.168.1.2
Router(config)#router rip
Router(config-router)#network 192.168.1.0
Router(config-router)#network 192.168.2.0

Router-2:
Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 192.168.2.0 255.255.255.0 192.168.1.1
Router(config)#no ip route 192.168.2.0 255.255.255.0 192.168.1.1
Router(config)#router rip
Router(config-router)#network 192.168.3.0
Router(config-router)#network 192.168.1.0
Router(config-router)#

Comments

Popular posts from this blog

Configuring Open Shortest Path First Protocol:

Introduction to Cisco Packet Tracer