Dynamic Routing With Rip
Dynamic Routing With Rip
In this network setup, we are going to configure the dynamic routing to allow communication
among the PCs in the networks.
NOTE:
Use the static IP configuration for the PCs.
To enable more interfaces on the routers (Serial interfaces) follow the following steps:
1. Turn off the router by clicking the power button as indicated in the below figure
2. Add the module on the router
3. Turn on the router again through the power button as shown in the first step above.
Step 2: Configure the Serial 0/1/1 interface on ROUTER 1 with the IP address 10.0.0.1 255.0.0.0
to connect to Router-3
Router#configure terminal
Router(config)#interface Serial 0/1/1
Router(config-if)#ip address 10.0.0.1 255.0.0.0
Router(config-if)#no shutdown
Router(config-if)#exit
Step 3: Configure the Serial 0/1/0 interface on ROUTER 1 with the IP address 20.0.0.1 255.0.0.0
to connect to Router-2
Router#configure terminal
Router(config)#interface Serial 0/1/1
Router(config-if)#ip address 20.0.0.1 255.0.0.0
Router(config-if)#no shutdown
Router(config-if)#exit
ON ROUTER 2:
Step 1: Configure the Serial 0/1/0 interface on ROUTER 2 with the IP address 20.0.0.2 255.0.0.0
to connect to Router-1
Router#configure terminal
Router(config)#interface Serial 0/1/0
Router(config-if)#ip address 20.0.0.2 255.0.0.0
Router(config-if)#no shutdown
Router(config-if)#exit
Step 2: Configure the Serial 0/1/1 interface on ROUTER 2 with the IP address 30.0.0.2 255.0.0.0
to connect to Router-3
Router#configure terminal
Router(config)#interface Serial 0/1/1
Router(config-if)#ip address 30.0.0.2 255.0.0.0
Router(config-if)#no shutdown
Router(config-if)#exit
ON ROUTER 3:
Step 1: Configure the GigabitEthernet0/0/0 interface on ROUTER 3 with the IP address
192.168.50.1 255.255.255.0 to connect to LAN for network B
Router#configure terminal
Router(config)#interface GigabitEthernet0/0/0
Router(config-if)#ip address 192.168.50.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Step 2: Configure the Serial 0/1/1 interface on ROUTER 1 with the IP address 10.0.0.2 255.0.0.0
to connect to Router-1
Router#configure terminal
Router(config)#interface Serial 0/1/1
Router(config-if)#ip address 10.0.0.2 255.0.0.0
Router(config-if)#no shutdown
Router(config-if)#exit
Step 3: Configure the Serial 0/1/0 interface on ROUTER 3 with the IP address 30.0.0.1 255.0.0.0
to connect to Router-2
Router#configure terminal
Router(config)#interface Serial 0/1/0
Router(config-if)#ip address 30.0.0.1 255.0.0.0
Router(config-if)#no shutdown
Router(config-if)#exit
CONFIGURE THE DYNAMIC ROUTING WITH RIP
NOTE:
RIP (a distance vector routing protocol) can be implemented using either version 1 or
version 2
RIP Version 1 (RIPv1)
o Type: Classful Routing Protocol
o Assumes all subnets in the network use the same subnet mask (classful
addressing).
o No support for Variable Length Subnet Masking (VLSM)
RIP Version 2 (RIPv2)
o Type: Classless Routing Protocol
o Supports subnet information, allowing VLSM
In this Lab work we will use RIP version 2
ON ROUTER 1:
Configure the dynamic routing with RIP by adding the list of all networks connected to the
router
Step 1: Change the RIP version on the router
Router(config)#router rip
Router(config-router)#version 2
Router(config-router)#
ON ROUTER 2:
Step 1: Change the RIP version on the router
Router(config)#router rip
Router(config-router)#version 2
Router(config-router)#
ON ROUTER 3:
Step 1: Change the RIP version on the router
Router(config)#router rip
Router(config-router)#version 2
Router(config-router)#
Configure the static IP addresses on the PCs and try to ping the hosts to check for
connectivity