0% found this document useful (0 votes)
94 views17 pages

Lab 2 Final

This document provides instructions for Lab 2 of the Data Communication and Networking course. It is divided into 3 tasks. Task 1 involves getting familiar with the Packet Tracer software interface and components. Task 2 instructs students to create a simple network with 2 PCs connected directly via a copper cross-over cable and test connectivity using ping, tracert and arp commands. It also demonstrates configuring IP addresses manually and through DHCP. Task 3 adds a hub to the network and connects 3 PCs to the hub to expand the network topology. Students are asked to perform specific steps like adding devices, making connections and testing the links.

Uploaded by

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

Lab 2 Final

This document provides instructions for Lab 2 of the Data Communication and Networking course. It is divided into 3 tasks. Task 1 involves getting familiar with the Packet Tracer software interface and components. Task 2 instructs students to create a simple network with 2 PCs connected directly via a copper cross-over cable and test connectivity using ping, tracert and arp commands. It also demonstrates configuring IP addresses manually and through DHCP. Task 3 adds a hub to the network and connects 3 PCs to the hub to expand the network topology. Students are asked to perform specific steps like adding devices, making connections and testing the links.

Uploaded by

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

Name & ID:____Sumaira Khan______ Date: ____29/08/2023__

EE-424L Data Communication & Networking


Fall 2023

Habib University

Dhanani School of Science & Engineering

LAB 2: Deploying Small Network in Packet tracer using HUB & Bridge

Lab #2 Marks distribution:

LR2=20 LR4=15 LR5=35 LR9=10 AR4=20


Task 1 15 10 20
In-Lab Task 2 05 10
Tasks
Task 3 05 15
Post- Task 1 10 10
Lab
Total 100
Marks

Lab #2 Marks Obtained:

LR2=20 LR4=15 LR5=35 LR9=10 AR4=20


Task 1
In-Lab Task 2
Tasks
Task 3
Post- Task 1
Lab
Marks
Obt.

objectives The objective of this lab is to give basic understanding about connecting end-
device to a Hub, learn Packet Tracer, create a simple Local Area Network (LAN)

1
with PCs and Hub to verify the network connectivity using commands.

Task 1
Familiarization With packet tracer Software

Packet Tracer make available a way of reliability, network capable, and simulation based
knowledge surroundings for networking novices to design, configure, and troubleshoots
computer networks

1. Open you packet tracer, and observe the different type of options and menus that
are available to you, Go through the description of each available option in Table 1.

Figure 1 Packet Tracer Lay out

1. Menu Bar This bar has following option. File, Edit, Option,
View, Tools, Extensions and Basic Command Like
Open, Save, Save as, Pkz and Preferences.
2. Main Tool Bar This bar provides following shortcut icons of the File
and Edit Menu command and buttons for Copy,
Paste, Undo, and Redo, Zoom the Drawing.

3. Common Tools This bar provides commonly used tools like


Select, Move, Layout Place Note, Delete,

2
Bar Inspect, Resize Shape.
4. Logical/Physical We can toggle between both workspaces with the
Workspace and tabs on this bar. The logical workspace allow go
back to a previous level in a cluster, create new
Navigation Bar cluster, Move Object, Set tiled Background.
Physical workspace allow to navigate through
physical location , Create a new city , Create a new
building , Create a new closet , Move object .
5. Workspace The workspace allows creating our network,
watching simulation and view information
and statistic.
6. Real time / This bar provide buttons to power cycle
Simulation Bar device and fast forward time and play control
button and event list button in simulation
mode.
7. Network This box, we choose device and connection
Component to put in to the workspace.
Box It has device type selection box and device
specific selection box.
8. Device-Type It has types of devices and connection.
Selection Box
9. Device-Specific This box, we choose specifically device, We
Selection Box want to put in our network and connection
make.
Table 1 : Settings for Packet Tracer

Tasks

1. 1. Click on end devices and provide name of at least seven devices that are
available in this option

PC, Laptop, Server, Meraki server, printer, IP phone, TV, Wireless Tablet, Smart
Device, Generic wireless, Generic wired, Sniffer

2. Click on end devices and then smart cities. What are different options available in

3
the panel.

The different devices are Atm pressure monitor, battery, beacon, carbon
monoxide detector, ceiling fan, old car, power meter RFID card etc.

3. *Find a PC in the devices option and place it on working area (WorkPlace) Double
Click on it. A new window will open, which will deal with PC properties. Find the
price of PC as suggested by the packet racer. Also try to find that how can IPs be
configured for this PC using same menu.

4. Place two PCs in workspace and explore different options. And see how can they be
connected with each other. What different options are available to connect PCs
with each other.

There are multiple types of connections, console, copper straight, copper cross-
over etc. We selected the cross over one.

5. Try to save this project. What is the extension or format of the project , in which file
will be saved ? _the extension is .pkt___

*Screen Shot required

4
Tasks 2
Creating First Network
1. From the network component box, click on End Devices and drag-and-drop
a Generic PC icon and a Generic laptop icon into the Workspace.

2. *Click on Connections, then click on Copper Cross-Over, then on PC0, and select Fast
Ethernet or Giga Ethernet. After this, click on Laptop0 and select FastEthernet. The
link status LED should show up in green, indicating that the link is up.

Figure 2

3. Click on the PC, go to the Desktop tab, click on IP Configuration, and enter an IP
address and subnet mask. In this topology, the default gateway and DNS server
information is not needed as there are only two end devices in the network.
Configure the following IPs

5
Figure 3

4. *Using Ping ,Tracert ip and arp-a to check the connectivity of computers together.
Record your results. Also briefly explain them.
By using ping,
tracert, arp-a
we can see that
the two
5. From IP configuration settings, try to configure IPs automatically using DHCP option.
computers are
Now try to check connectivity of computers. Discuss your result
connected
together. If they
weren’t, these
commands
would have
timed out.

We can see that DHCP failed and that APIPA(Automatic Private IP Addressing) is
being used. This happens when there's no DHCP server available to assign an IP
automatically so it assigns an IP address to itself.

6. Assign same IPs to both devices 10.1.1.1. Now try to ping each device. Discuss the
results.

6
We can’t ever give two devices the same IP in a network as it is just not possible.

*Screen Shot required


Task 3

Adding a Hub to the network

A hub is probably the most common Physical layer device found on networks. A hub
serves as a central connection point for several network devices. It repeats what it
receives on one port to all other ports, excluding the port on which the signal was
received, so that the transmitting device may monitor and recover from collisions
because every device in the network connects directly to the hub through a single
cable. The properties of HUB are

7
Figure 4

1. Start Packet Tracer and Entering Real time mode


2. Add PCs: Add three PCs
3. Add Hub: Select a hub, by clicking once on Hubs and once on a PT-Hub
4. Connections: To create the network use Copper Straight-through cable

5. *Perform the following steps to connect PC0 to Hub0:

a) Click once on PC0


b) Choose Fast Ethernet
c) Drag the cursor to Hub0
d) Click once on Hub0 and choose Port0
e) Notice the green link lights on both the PC0 Ethernet NIC and the Hub0 Port0
showing that the link is active

8
Figure 2

6. Double click the hub and switch it off. What happens to green LEDs? What does the
new state of LEDs mean?
The LEDs turn red, meaning that the connection is lost.

7. Repeat the same process but this time use Copper cross over cable. How does this
effect the network?
When we used copper-cross over the LEDs turn red (even when the Hub is turned
on). This means that the connection between the PCs and the Hub is not
established.

9
8. *Create the following topology

Figure 3

9. *Can you ping one computer to other computer with in the same network?

10
Yes we can indeed ping to other computer with in the same network.
10. How Hub is broadcasting the information in a network? Explain with the help of making any
network in Packet Tracer? Attach the model of your network with assigned and labelled IPs.

11. Find the bridge in Packet Tracer and replace Hub with Bridge in Figure 6. Are you able to do
this? yes or not, support your answer with explanation.

11
*Screen Shot required

POST LAB:

1) Create a network of 5 PCs, assign IP addresses and ping them. Attach network topology and
verify connectivity screenshots.

12
We can see from the screen
shots of the results of the
networking diagnostic tool
commands (Ping, Tracert,
ARP, NETSTAT) that the five
computers in the network
(star topology) are indeed
connected. If the were not,
these commands would have
timed out and not given the
results.

2) If you assign one PC an IP address of 192.168.7.15 and another PC with IP address of


192.168.8.15. Does the Subnet mask remain same for both devices? Can you ping each other?
Yes or No. If No, why?

13
The subnet mask is the same but we cannot ping one computer from another since the network id is
different for both.

14
Perform networking diagnostic tool commands (Ping, Tracert, ARP, NETSTAT) on topology given in
Question 1. Append your Screen-shots and explanations.

15
Lab Evaluation Assessment Rubric
EE-424 Lab 2
# Assessment Elements Level 1: Level 2: Developing Level 3: Good Level 4: Exemplary
Unsatisfactory Points 2 Points 3 Points 4
Points 0-1

LR2 Program/Code/ Program/code/ Program/code/ Program/code/ Program/code/


Simulation Model/ simulation simulation simulation simulation /network
Network Model model/network model/network model/network model is efficiently
model does not model has some model gives correct implemented and
implement the errors and does not output but not gives correct output.
required functionality produce completely efficiently Student has full
and has several accurate results. implemented or command on the
errors. The student is Student has limited implemented by basic tools of the
not able to utilize command on the computationally software.
even the basic tools basic tools of the complex routine.
of the software. software.

LR4 Data Collection Measurements are Measurements are Measurements are Measurements are
incomplete, somewhat inaccurate mostly accurate. both accurate and
inaccurate and and imprecise. Observations are precise. Data
imprecise. Observations are generally complete. collection is
Observations are incomplete or vague. Minor errors are systematic.
incomplete or not Major errors are there present in using Observations are very
included. Symbols, in using symbols, units symbols, units and thorough and include
units and significant and significant digits. significant digits. appropriate symbols,
figures are not units and significant
included. digits and task
completed in due
time.

LR5 Results & Plots Figures/ graphs / Figures, graphs and All figures, graphs, Figures / graphs /
tables are not tables are drawn but tables are correctly tables are correctly
developed or are contain errors. Titles, drawn but contain drawn and
poorly constructed captions, units are minor errors or some appropriate
with erroneous not accurate. Data of the details are titles/captions and
results. Titles, presentation is not missing. proper units are
captions, units are too clear. mentioned. Data
not mentioned. Data presentation is
is presented in an systematic.
obscure manner.

LR9 Report All the in-lab tasks are Most of the tasks are Good summary of Detailed summary of
not included in included in report but most of the in-lab the in-lab tasks is
report. are not well tasks is included in provided. All tasks are
explained. All the report. The work is included and
necessary figures / supported by figures explained well. Data

16
plots are not and plots with is presented clearly
included. explanations. including all the
necessary figures,
plots and tables.

Late submission after Late submission after Late submission after Timely submission of
1 week and in 2 days and within a the lab timing and the report and in the
AR4 *Report Submission
between 2 weeks. week. within 2 days of the lab time.
due date.
*Report: Report will not be accepted after 1 week of due date

17

You might also like