Open In App

Implementation of RIP Routing in Cisco For Connecting Two Routers

Last Updated : 24 Jun, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

Pre-Requisite: Routing Information Protocol (RIP)

Routing Information Protocol (RIP) is an active routing protocol that operates hop count as a routing metric to find the most suitable route between the source and the destination network. It is a distance-vector routing protocol that has an AD value of 120 and works on the Network layer of the OSI model.

Steps to Configure and Verify Two Router Connections in Cisco Packet Tracer:

Step 1: First, open the Cisco packet tracer desktop and select the devices given below:

S.NO Device Model Name Qty.
1. pc pc 4
2. switch PT-Switch 2
3. router PT-Router 2

IP Addressing Table

S.NO Device IPv4 Address Subnet-Mask Default-Gateway
1. pc0 192.168.10.2 255.255.255.0 192.168.10.1
2. pc1 192.168.10.3 255.255.255.0 192.168.10.1
3. pc2 192.168.20.2 255.255.255.0 192.168.20.1
4. pc3 192.168.20.3 255.255.255.0 192.168.20.1
  • Then, create a network topology as shown below the image.
  • Use an Automatic connecting cable to connect the devices with others.

 

Step 2: Configure the PCs (hosts) with IPv4 address and Subnet Mask according to the IP addressing table given above.

  • To assign an IP address in PC0, click on PC0.
  • Then, go to desktop and then IP configuration and there you will IPv4 configuration.
  • Fill IPv4 address and subnet mask.

 

  • Assigning IP address using the ipconfig command, or we can also assign an IP address with the help of a command.
  • Go to the command terminal of the PC.
  • Then, type ipconfig <IPv4 address><subnet mask><default gateway>(if needed)
Example: ipconfig 192.168.10.2  255.255.255.0 192.168.10.1

 

  • Repeat the same procedure with other PCs to configure them thoroughly.

Step 3: Configure router with IP address and subnet mask.

IP Addressing Table Router

S.NO Device Interface IPv4 Address Subnet Mask
1. router0 FastEthernet0/0 192.168.10.1 255.255.255.0
Serial 2/0 10.0.0.1 255.0.0.0
2. router1 FastEthernet0/0 192.168.20.1 255.255.255.0
Serial 2/0 10.0.0.2 255.0.0.0
  • To assign an IP address in router0, click on router0.
  • Then, go to config and then Interfaces.
  • Make sure to turn on the ports
  • Then, configure the IP address in FastEthernet and serial ports according to IP addressing Table.
  • Fill IPv4 address and subnet mask.

 

  • Repeat the same procedure with other routers to configure them thoroughly.

Step 4: After configuring all of the devices we need to assign the routes to the routers.

To assign RIP routes to the particular router:

  • First, click on router0 then Go to CLI.
  • Then type the commands and IP information given below.
CLI command : network <network id>

RIP Routes for Router0 are given below:

Router(config)#network 192.168.10.0
Router(config)#network 10.0.0.0

RIP Routes for Router1 are given below:

Router(config)#network 192.168.20.0
Router(config)#network 10.0.0.0

Step 5: Verifying the network by pinging the IP address of any PC.

we’ll use the ping command to do so.

  • First, click on PC0 then Go to the command prompt
  • then type ping <IP address of targeted node>
  • as we can see in the below image we are getting replies which means the connection is working very fine
Example : ping 192.168.20.2

 

  • A simulation of the experiment is given below we are sending PDU from  PC0 to PC2 and PC1 to PC3:

 


Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads