Lab Manual
Lab Manual
COMPUTER NETWORKS
1|Page
National College of Business Administration
& Economics Lahore
SCHOOL OF COMPUTER SCIENCE
Computer Network
LAB MANUAL
(software “cisco packet tracer”)
Submitted by:
Shanza Safdar
2213286 (M2)
BSIT (IV)
Submitted to:
Sir Amjad
NCBA&E
Department of computer science
2|Page
Lab no content Page no
Lab 1 Connection for understanding software 04
Lab 5 PC to PC communication 09
3|Page
National College of Business Administration
& Economics Lahore
SCHOOL OF COMPUTER SCIENCE
Apparatus:
2 PC’s
Cross-over wire
Diagram:
Procedure:
open cisco packet tracer. Take 2 PC’s from the bottom bar end user devices
and place them on the screen. Now connect the PC’s through the cross-over wire because these
are the similar devices. give the IP addresses to each PC and configure it. Now drop one
message on PC0 and the other on PC1 from the upper toolbar.
4|Page
National College of Business Administration
& Economics Lahore
SCHOOL OF COMPUTER SCIENCE
Results:
See the message will pass through PC0 to PC1.
Apparatus:
2 PC’s
Straight-through wire
Switch (2960)
Diagram:
Procedure:
open cisco packet tracer. Take 2 PC’s from the bottom bar end user devices
and place them on the screen. Now take one switch of 2960 from the bottom tools and place
them on screen. Connect each PC to the switch by using straight-through wire. give the IP
5|Page
addresses to each PC and configure it. Now drop one message on PC0 and the other on PC1
from the upper toolbar.
Results:
See the message will pass through PC0 to PC1.
Apparatus:
6 PC’s
Straight-through wire
2 LAN switches
1 router
Diagram:
Procedure:
6|Page
open cisco packet tracer. Take 3 PC’s from the bottom bar end user devices
and place them on the screen. Take a LAN s=8[witch of 2960 from the bottom and place it on
screen. Connect these PC’s with straight-through wire because we are connecting the different
devices. Now repeat this same process again to make another LAN network. Now take a router
from network devices and place it on screen and connect it with the both LAN switches through
straight-through wire. give the IP addresses to each PC and configure it. Now click on router to
configure it. Configure the router's interfaces by accessing its CLI (Command Line Interface).
You can do this by right-clicking on the router and selecting "CLI". Enter the "enable" command
to access privileged mode and then enter the "configure terminal" command to enter global
configuration mode. Configure the IP addresses of each interface. For example, if the first
switch has an IP address of 192.168.1.1 and the second switch has an IP address of 192.168.2.1,
you would configure the router's interfaces as follows:
Interface Fast Ethernet 0/0
IP address 192.168.1.254 255.255.255.0
No shutdown
Interface Fast Ethernet 0/1
IP address 192.168.2.254 255.255.255.0
No shutdown
Save the configuration by entering the "copy running-config startup-config" command . Now
drop one message on PC0 and the other on PC1 from the upper toolbar. Now drop the message on PC0
and PC6
Results:
See the message will pass through PC0 to PC1.
7|Page
National College of Business Administration
& Economics Lahore
SCHOOL OF COMPUTER SCIENCE
Apparatus:
4 PC’s
Straight-through wire
Hub
Diagram:
Procedure:
8|Page
open cisco packet tracer. Take 4 PC’s from the bottom bar from end user
devices and place them on screen. Take a hub from bottom and place on screen. Connect the all
PC’s with hub through straight-through wires. give the IP addresses to each PC and configure it.
Now drop one message on PC0 and the other on PC4 from the upper toolbar.
Results:
See the message will pass through PC0 to PC2 via switches.
Apparatus:
2 PC’s
Cross-over wire
Diagram:
9|Page
Procedure:
open cisco packet tracer. Take 2 PC’s from the bottom bar end user devices
and place them on the screen. Now connect the PC’s through the cross-over wire because these
are the similar devices. give the IP addresses to each PC and configure it. Now drop one
message on PC0 and the other on PC1 from the upper toolbar.
Results:
See the message will pass through PC0 to PC1.
Apparatus:
3 PC’s
Cross-over wire
Straight-through wire
3 switches
Diagram:
10 | P a g e
Procedure:
open cisco packet tracer. Take 3 switches of 2960 from the bottom bar and
place them on the screen. Now connect the switches through the cross-over wire because
these are the similar devices. Now take 3 PC’s from the bottom bar from end user devices and
place them on screen adjacent to each switch. Now connecting the PC’s from switches through
straight-through wire and give the IP addresses to each PC and configure it. Now drop one
message on PC0 and the other on PC2 from the upper toolbar.
Results:
See the message will pass through PC0 to PC2 via switches.
Apparatus:
2 PC’s
Wireless access point
Diagram:
11 | P a g e
Procedure:
open cisco packet tracer. Take 2 PC’s from the end user devices and place them
on screen. Now take an wireless access point and place it on screen. Now give the IP address to
the computers and configure them. Now click on the PC and go to the settings turn off the
power button and change the connector port to the wireless port and then turn on the power
switch again. Now take a meesage and place it on PC0 and PC1.
Results:
See the message will pass through PC0 to PC1 via switches.
Apparatus:
4 PC’s
Cross-over wire
Straight-through wire
12 | P a g e
4 switches
Diagram:
Procedure:
open cisco packet tracer. Take 4 switches of 2960 from the bottom bar and
place them on the screen. Now connect the switches through the cross-over wire because
these are the similar devices. Now take 4 PC’s from the bottom bar from end user devices and
place them on screen adjacent to each switch. Now connecting the PC’s from switches through
straight-through wire and give the IP addresses to each PC and configure it. Now drop one
message on PC0 and the other on PC2 from the upper toolbar.
Results:
See the message will pass through PC0 to PC2 via switches.
Apparatus:
13 | P a g e
Switches
PC’s
Straight-through wire
Cross-through wire
Diagram:
Procedure:
Take 4 switches from the bottom bar from networks devices section. Connect them
with cross-through wire. Now take 4 PC’s and connect them with each switches and connect
them with straight-through wire and give IP addresses to them. Now take a message from
upper bar and place it on PC0 and PC4.
Results:
See the message will pass through PC0 to PC4 via switches in ring topology.
14 | P a g e
Apparatus:
Hub
PC’s
Straight-through wire
Diagram:
Procedure:
Take a hub from bottom network devices and place it on screen. Now take 5 PC’s and
place it around the hub. Now connect the PC’s to the hub with straight-through wire. Now give
IP addresses to the PC’s and configure them. Now place a message on PC6 and PC4.
Results:
See the message will pass through the PC’s via hub in star topology.
15 | P a g e
How to design the hybird topology in the cisco pocket tracer?
Apparatus:
5 PC’s
Cross-over wire
Straight-through wire
7 switches
Diagram:
Procedure:
open cisco packet tracer. Take 4 switches of 2960 from the bottom bar and
place them on the screen. Now connect the switches through the cross-over wire because
these are the similar devices. Now take 3 PC’s from the bottom bar from end user devices and
place them on screen adjacent to each switch. Now connecting the PC’s from switches through
straight-through wire and give the IP addresses to each PC and configure it.now Take 3 switches
of 2960 from the bottom bar and place them on the screen. Now connect the switches through
the cross-over wire because these are the similar devices. Now take 2 PC’s from the bottom bar
from end user devices and place them on screen adjacent to each switch. Now connecting the
PC’s from switches through straight-through wire and give the IP addresses to each PC and
configure it Now drop one message on PC0 and the other on PC4 from the upper toolbar.
Results:
National College of Business Administration
& Economics Lahore
SCHOOL OF COMPUTER SCIENCE
See the message will pass through PC0 to PC4 via switches.
16 | P a g e
Lab task no.12:
How to design the tree topology in the cisco pocket tracer?
Apparatus:
6 PC’s
Cross-over wire
Straight-through wire
4 switches
Diagram:
Procedure:
open cisco packet tracer. Take 4 switches of 2960 from the bottom bar and
place them on the screen. Now connect the switches through the cross-over wire because
these are the similar devices. Now take 6 PC’s from the bottom bar from end user devices and
place them on screen adjacent to each switch. Now connecting the PC’s from switches through
straight-through wire and give the IP addresses to each PC and configure it. give the IP
addresses to each PC and configure it Now drop one message on PC0 and the other on PC3
from the upper toolbar.
Results:
See the message will pass through PC0 to PC3 via switches.
17 | P a g e