Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

WCN - Lab - OE-2 - 2024

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

B.

Tech Programme in Electronics and Telecommunication Engineering

School of Electronics Engineering


Kalinga Institute of Industrial Technology, Deemed to be University
Bhubaneswar, India

Laboratory Report
On
Open-ended Experiment-2

Demonstration of Packet Switching Simulation using


CISCO Packet Tracer

Wireless Communication and Networking Laboratory


(EC 3099)

Submitted by

2104006 AGASTYA KUMAR SINGH


2104009 ANUSATTA MANNA
2104045 SHAMBHAVI KUMARI
2104052 SRINJAY PAL

1
AIM OF THE EXPERIMENT :--
To demonstrate Packet Switching Simulation and represent an Internet
connection to Facebook using CISCO Packet Tracer.

SOFTWARE REQUIRED :--

A Laptop/PC with Cisco Packet Tracer installed.

THEORY :--

Cisco Packet Tracer is a comprehensive, networking technology teaching and learning


program that offers a unique combination of realistic simulation and visualization
experiences, assessment and activity authoring capabilities, and opportunities for
multiuser collaboration and competition.

Packet switching is the transfer of small pieces of data across various networks. These
data chunks or “packets” allow for faster, more efficient data transfer.

Often, when a user sends a file across a network, it gets transferred in smaller data
packets, not in one piece. For example, a 3MB file will be divided into packets, each
with a packet header that includes the origin IP address, the destination IP address, the
number of packets in the entire data file, and the sequence number.

2
Connectionless Packet Switching: This classic type of packet switching includes
multiple packets, each individually routed. This means each packet contains complete
routing information—but it also means different paths of transmission and out-of-
order delivery are possible, depending on the fluctuating loads on the network’s nodes
(adapters, switches and routers) at the moment. This kind of packet switching is
sometimes called datagram switching.

Each packet in connectionless packet switching includes the following information in


its header section:

 Source address

 Destination address

 Total number of packets

 Sequence number (Seq#) for reassembly

Once the packets reach their destination via various routes, the receiving devices
rearrange them to form the original message.

PROCEDURE :--
1) Launch Cisco Packet Tracer on your computer.
2) Click on the "End Devices" tab from the left sidebar, and select a "PC" device.
3) Drag and drop the "PC" device to the workspace.
4) Click on the "Switches and Hubs" tab from the left sidebar, and select a "Router"
device.

3
5) Drag and drop the "Router" device to the workspace.
6) Connect the "PC" device to the "Router" device using a straight-through cable.
7)Connect the "Router" device to the Internet cloud using a copper straight-
through cable.

7) Double-click on the "PC" device to open its configuration window.


8) Configure the IP address and subnet mask for the "PC" device in the
configuration window. For example, set the IP address to 192.168.1.10 and
subnet mask to 255.255.255.0.

9) Repeat steps 8 and 9 for the "Router" device. For example, set the IP address to
192.168.1.1 and subnet mask to 255.255.255.0.

10) Click on the "CLI" tab in the "Router" configuration window.


11) Type "enable" to enter the privileged EXEC mode.
12) Type "configure terminal" to enter the global configuration mode.
13) Type "interface gigabitethernet0/0" to enter the interface configuration mode
for the interface that is connected to the Internet cloud.

14) Type "ip address dhcp" to configure the interface to obtain IP address
automatically from the Internet Service Provider (ISP).

15) Type "exit" to exit the interface configuration mode.


16) Type "interface gigabitethernet0/1" to enter the interface configuration mode
for the interface that is connected to the "PC" device.

17) Type "ip address 192.168.1.1 255.255.255.0" to configure the IP address and
subnet mask for the interface.

18) Type "exit" to exit the interface configuration mode.


19) Type "ip route 0.0.0.0 0.0.0.0 gigabitethernet0/0" to configure the default route
to the Internet cloud.

20) Type "exit" to exit the global configuration mode.


21) Click on the "Desktop" tab in the "PC" configuration window.
22) Open a web browser and go to "www.facebook.com" to test the Internet
connection.

23) You should now be able to access Facebook through the simulated packet
switching circuit in Cisco Packet Tracer.

4
OBSERVATIONS/RESULTS/GRAPHS :--

Fig  Architecture of Packet Switching Network (Configuration)

Fig  TTL values and delay stats (Command Prompt-PC)

5
Fig  Ping Message-Packet sent (Simulation Mode)

Fig  Facebook page Server (from device web browser)

6
APPLICATIONS :--
Packet switching has many applications in different domains of communication and
networking. Some of the common applications are :--

 Data networking: Packet switching is the basis for data communication over the
internet and other local and wide area networks. Packet switching enables
efficient and flexible data transfer between different devices using IP protocols.

 Voice over IP (VoIP): Packet switching allows voice communication over the
internet or other IP networks using specialized protocols such as SIP, RTP,
etc. VoIP enables low-cost and high-quality voice calls over long distances.

 Video streaming: Packet switching enables video delivery over the internet or
other IP networks using protocols such as HTTP, RTSP, etc. Video streaming
allows users to watch live or on-demand video content on various devices.

 Virtual private networks (VPNs): Packet switching enables secure and private
communication over public networks using encryption and tunneling
techniques. VPNs allow users to access remote resources or services as if they
were on a local network

CONCLUSION :--

Hence, in this experiment we successfully implemented and performed the Packet


Switching Circuit simulation and also observed how it is used as a modelling tool for
representing a sample Internet connection to Facebook server. We also performed
the real-time and simulation mode and sent ping messages to the server in packets and
successfully opened the Facebook page. All these results were verified with the
screenshots taken by using the Cisco Packet Tracer software.

7
STUDENT SIGNATURE

(AGASTYA KUMAR SINGH)

(ANUSATTA MANNA)

(SHAMBHAVI KUMARI)

(SRINJAY PAL)

SIGNATURE OF THE LAB FACULTY MEMBER

You might also like