Yarmouk University
Hijjawi Faculty for Engineering Technology
Computer Engineering Department
CPE 563: Computer Networking Laboratory
Task 4: Dynamic Routing Using RIP Routing
Protocol
Basic Information:
Student Name:
Student ID:
Student Section Number:
PC Logical Address:
PC Physical Address:
Objective:
Learn how to apply dynamic routing on a network using RIP.
Outcomes:
The student should be able to:
1- Cable a network according to the Topology Diagram.
2- Erase the startup configuration and reload a router to the default state.
3- Perform basic configuration tasks on a router.
4- Interpret debug IP routing output.
5- Configure and activate Serial and Ethernet interfaces.
6- Test connectivity.
7- Gather information to discover causes for lack of connectivity between devices.
8- Configure a dynamic route using RIP routing protocol.
Background:
RIPv2 configuration is pretty simple to understand with really only three required commands to use
besides the network command which depends how many networks are connected to your router.
So following the packet tracer that is used with this tutorial the first step is to configure the
hostname on the routers. Enter into the router and type the command enable to move into
privilege EXEC mode, then type configure terminal to move into global configuration mode and type
hostname then the name of the router. (This example is for R1)
1 Router>enable
2 Router#configure terminal
3 Router(config)#hostname R1
The next step is configure the routers interfaces, just like this:
1 R1(config)#interface fa0/0
2 R1(config-if)#ip address [Link] [Link]
3 R1(config-if)#no shut
4 R1(config-if)#exit
The next part of the step is to configure the PCs IP address and the default gateway.
Note: The default gateway is the router’s fast Ethernet interface.
The next and final step is to configure RIPv2 on all the routers.
1 R1(config)#router rip
2 R1(config-router)#version 2
3 R1(config-router)#network [Link]
✔ The network command:
⮚ Enables RIP on all interfaces that belong to this network. These interfaces will now
both send and receive RIP updates.
⮚ Advertises this network in RIP routing updates sent to other routers every 30
seconds.
Lab Work:
In this lab, we will create a network that is similar to the one shown in the Topology Diagram.
Begin by cabling the network shown. We will then perform the initial router configurations required
for connectivity. Use the IP addresses that are provided in the Addressing Table to apply an
addressing scheme to the network devices. After completing the basic configuration, Test
connectivity between the devices on the network using simulated ping tool, what did you find?
Device Interface IP Address Subnet Mask Default Gateway
Fa0/0 [Link] [Link] N/A
R1
S0/0/0 [Link] [Link] N/A
S0/0/0 [Link] [Link] N/A
R2 Fa0/0 [Link] [Link] N/A
S0/0/1 [Link] [Link] N/A
S0/0/0 [Link] [Link] N/A
R3
Fa0/0 [Link] [Link] N/A
PC1 NIC [Link] [Link] [Link]
PC2 NIC [Link] [Link] [Link]
PC3 NIC [Link] [Link] [Link]
Step 1:Test connectivity.
1. From the host PC1, is it possible to ping the default gateway?
2. From the host PC2, is it possible to ping the default gateway?
3. From the host PC3, is it possible to ping the default gateway?
Step 2:Use the ping command to test connectivity between directly connected routers.
4. From the router R2, is it possible to ping R1 at [Link]?
5. From the router R2, is it possible to ping R3 at [Link]?
Step 3:Use ping to check connectivity between devices that are not directly connected.
6. From the host PC3, is it possible to ping the host PC1?
7. From the host PC3, is it possible to ping the host PC2?
8. From the host PC2, is it possible to ping the host PC1?
9. From the router R1, is it possible to ping router R3 at [Link]?
10. These pings should all fail. Why?
Step 4:View the routing table information for all three routers.
1. R1#
2. R2#
3. R3#
Step 5: Enable dynamic routing to configure RIPv2 on R1, R2, and R3.
Step 6:Verify RIP Routing.
11. Use the show ip route command to verify that each router has all of the networks in the
topology entered in the routing table.
12. Use the show ip protocols command to view information about the routing processes.
13. Test and Verify the Configurations.
From the host PC1, is it possible to ping PC2?
From the host PC1, is it possible to ping PC3?
From the host PC2, is it possible to ping PC3?