0% found this document useful (0 votes)
22 views

Lab 4 by Arslan Nadeem

Uploaded by

neymarslan10
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)
22 views

Lab 4 by Arslan Nadeem

Uploaded by

neymarslan10
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/ 5

Submitted To:

Sir Saad Alvi


Submitted By:
Muhammad Arslan Nadeem
Subject:
Computer Network
Topic:
Getting Familiar with Packet Tracer
Semester:
4th (2M)
S23BDOCS1M01110

Department of Computer Science


Islamia University of Bahawalpur
Getting Familiar with Cisco Packet Tracer

A packet tracer is a tool provide by Cisco that helps to create or configure


networks virtually. In real life, sometimes it’s not possible to configure network as
it’s not feasible and due to lack of resources. Packet tracer helps to create network
virtually. It contains all the tools which are used in configuring a network like
routers, switches, pcs, hubs etc.
Today I am assigned to configure a small network on packet tracer and also show
the simulations (like how a message transfers from a source to destination). To
configure a small network, we need a router, two switches and four pcs.

In the given picture, we arrange the networking in such a way that it becomes a
network that consist of two LANs. On top we have router which connects LAN 1
to LAN 2(I used different color boxes so that I can easily distinguish between
LANs). LAN 1 contains a switch and two pcs. LAN 2 also contain two pcs
connected to a switch.
We assign each computer an ip address one by one so that every computer has its
own unique ip address
Click on PC, then go to the Desktop button in toolbar. Write IP address of that
device for example I assigned PC1 (192.168.1.10). Once you write the Ip address,
the subnet mask will be automatically generated. In default gateway, we write the
exiting Ip address like if someone write (192.168.1.1), that message will
automatically sended to router.

Similarly, we assign PC2 the ip address of (192.168.1.11). Default gateway would


be same as PC1 as they both are in same network.

For PC3 and PC4, the default gateway will be (192.168.2.1) as they both are in
different network. The ip address of PC3 is (192.168.2.10) and PC4 is
(192.168.2.11).

Muhammad Arslan Nadeem


After configuring Ips on pcs, we move to router. Click on router, click on CLI
button which will provide us the interface where we will write commands.

First we change the hostname of router to R1, then we will write the ip address of
the 1st LAN which is 192.168.1.1 also write the subnet mask of the ip address.
No Shut command will open the ports of the interface connected to LAN 1.
Same thing we will do to LAN 2 and that’s it. We’ve configured a small network
with the help of two LANs. Now let’s see if this really work.
PC1 wants to send a message to router. First it will send it to switch, the switch
will check the ip address. As there is no Ip address, the default gateway is set on
the message. Switch will send this message to router as this message is out of this
network. If router receive message successfully then there is no issue in network.

The router received message successfully, which means that there is no issue in
network.

Muhammad Arslan Nadeem

You might also like