0% found this document useful (0 votes)
165 views7 pages

Computer Networks Lab: Lab No. 10 Dynamic Routing

This document describes a lab experiment on dynamic routing using RIP. The objectives are to understand RIP routing and establish dynamic routes on routers. The lab uses Packet Tracer to simulate connecting two routers via a serial cable, connecting PCs to each router via switches, and configuring RIP routing. Commands are provided to configure interfaces, IP addresses, RIP routing, and verify routes. The lab tasks involve simulating the network connection, verifying IP addressing, and successfully transmitting a message between PCs on different networks.

Uploaded by

Akira Mannahel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
165 views7 pages

Computer Networks Lab: Lab No. 10 Dynamic Routing

This document describes a lab experiment on dynamic routing using RIP. The objectives are to understand RIP routing and establish dynamic routes on routers. The lab uses Packet Tracer to simulate connecting two routers via a serial cable, connecting PCs to each router via switches, and configuring RIP routing. Commands are provided to configure interfaces, IP addresses, RIP routing, and verify routes. The lab tasks involve simulating the network connection, verifying IP addressing, and successfully transmitting a message between PCs on different networks.

Uploaded by

Akira Mannahel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Computer Networks Lab

Lab No. 10

Dynamic Routing

Mannahel Iftikhar (170860)

BACHELOR OF ELECTRICAL ENGINEERING


(Spring 2021)

Submitted To:
Engr. Sharoze Sohail
Lab Engineer

DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING


FACULTY OF ENGINEERING
AIR UNIVERSITY,ISLAMABAD
Lab#10
Dynamic Routing
OBJECTIVE:
This lab has the following objectives:

1. Understanding the concept of RIP routing in networking.


2. To establish dynamic routes on Routers.

DISCUSSION:
Following are the resources required for this experiment

1. Computer
2. Packet Tracer

Introduction:
A routing protocol is a protocol that specifies how routers communicate with each other,
disseminating information that enables them to select routes between any two nodes on a
computer network, the choice of the route being done by routing algorithms. Each router has a
priori knowledge only of networks attached to it directly. A routing protocol shares this
information first among immediate neighbors, and then throughout the network. This way,
routers gain knowledge of the topology of the network.

Procedure For Simulations Of Lab Tasks


1. Pick two routers from the menu.
2. Add a port WIC-2T in both the routers.
3. Connect both the routers with each other using Serial DCE cable.
4. Select two PCs and a Switch from the menu.
5. Connect the two PCs with the switch using Copper Straight through Cable.
6. Join the Switch-1 with the Router-1 using Copper Straight through Cable.
7. Take two more PCs and a Switch from the menu.
8. Join the Switch-2 with the Router-2 using Copper Straight through Cable.
9. Assign IP address to the PCs connected with Switch-1 as:
A. PC-01: 192.168.10.2
B. PC-02: 192.168.10.3
10. Set default gateway for the two PCs as 192.168.10.1.
11. Similarly, assign IP address to the PCs connected with Switch-2 as:
A. PC-03: 192.168.30.2
B. PC-04: 192.168.30.3
12. Set default gateway for the two PCs as 192.168.30.1.
13. Connect a Console cable between a Router-1 and one of the PCs connected with
Switch-1.
14. Similarly connect a Console cable between a Router-2 and one of the PCs
connected with Switch-2.
15. Click on the PC connected with Router-1 (through console cable) and select
Desktop tab.
16. Choose Terminal from the menu and click OK.
17. Write a command enable after Router>.
18. Next type configure terminal after Router#.
19. In order to enable the Fast Ethernet connection between a Switch-1 and Router-1,
type a command interface fastethernet0/0.
20. Move to the next line and write a command ip address 192.168.10.1
255.255.255.0.
21. On next line type a command no shutdown.
22. In order to enable the serial connection from Router-1 side, type a command
23. interface serial0/1/0.
24. Move to the next line and write a command ip address 192.168.20.1
255.255.255.0. Subsequently, type a command no shutdown.
25. Set the clock for serial connection from Router-1 side using following commands
in configuration mode:
A. interface serial0/0/0.
B. clock rate ?
C. clock rate 64000
26. Similarly, in order to enable the Fast Ethernet connection between a Switch-2 and
Router-2, type a command interface fastethernet0/0.
27. Move to the next line and write a command ip address 192.168.30.1
255.255.255.0.
28. On next line type a command no shutdown.
29. Also, in order to enable the serial connection from Router-2 side, type a command
interface serial0/0/0.
30. Move to the next line and write a command ip address 192.168.20.2
255.255.255.0.
31. Subsequently, type a command no shutdown
32. Establish RIP routing on Router-1 using the following commands:
A. Switch# configure terminal
B. Switch (config-router) # router rip
C. Switch (config-router) # network 192.168.10.0
D. Switch (config-router) # network 192.168.20.0
33. Use show ip route command to view the RIP routing.
34. Similarly, establish RIP routing on Router-2 using the following commands:
A. Switch# configure terminal
B. Switch (config-router) # router rip
C. Switch (config-router) # network 192.168.30.0
D. Switch (config-router) # network 192.168.20.0
35. Use show ip route command to view the RIP routing.
36. Send a message from one of the PCs connected with Switch-1 to one connected
with Switch-2.
37. See the status of the message in the event list.
LAB TASKS
Task#01

Simulation of the connection


Screenshot of the connection is shown in the picture below.

1. Connection through a cable

2. Assigned IP addresses of the PCs

Router Network Address Interface Address

A 192.168.10.0 fa0/0 192.168.10.1

A 192.168.20.0 s1/0 192.168.20.1

A 192.168.50.0 s1/1 192.168.50.1

B 192.168.30.0 fa0/0 192.168.30.1

B 192.168.20.0 s1/ 192.168.20.2

B 192.168.40.0 s1/1 192.168.40.1


3. Sucessful transmission and recption of message
Learning Outcomes

The lab achieved the following learning outcomes:

1. learned how to establish RIP routing and on routers.


2. Established RIP routing on routers in a communication network.

You might also like