Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
7 views2 pages

CN 2

The document outlines an experiment to build a local area network (LAN) using Cisco Packet Tracer, involving 4 PCs, 2 switches, and 1 router. It details the steps for setting up the network topology, configuring IP addresses, and testing connectivity across different subnets. The experiment successfully demonstrated the routing of traffic and PDU transmission within the network.

Uploaded by

Sonu Kumar
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)
7 views2 pages

CN 2

The document outlines an experiment to build a local area network (LAN) using Cisco Packet Tracer, involving 4 PCs, 2 switches, and 1 router. It details the steps for setting up the network topology, configuring IP addresses, and testing connectivity across different subnets. The experiment successfully demonstrated the routing of traffic and PDU transmission within the network.

Uploaded by

Sonu Kumar
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/ 2

EXPERIMENT NO.

2
Aim: To build a network connection between two lanes using Cisco packet tracer.
Materials Required:
• Cisco Packet Tracer software
• 4 PCs
• 2 Switches (Switch0, Switch1)
• 1 Router (Router0)
• Ethernet cables (copper straight-through and crossover cables)
Theory:
A local area network (LAN) is a network that connects computers within a limited area such
as a residence, school, or office building. In this experiment, we will configure a simple LAN
network with 4 PCs, connected through switches to a router. The router will be used to route
traffic between different subnets. We will use Cisco Packet Tracer to simulate the network,
configure devices, and test connectivity using PDUs.

Fig 2.1: Network Diagram


Steps:
1. Setting Up the Network Topology:
o Open Cisco Packet Tracer.
o Drag and drop 4 PCs, 2 switches, and 1 router onto the workspace.
o Connect:
▪ PC0 to Switch0 using a copper straight-through cable.
▪ PC1 to Switch0 using a copper straight-through cable.
▪ Switch0 to Router0 using a copper straight-through cable.
▪ Router0 to Switch1 using a copper straight-through cable.
▪ PC2 to Switch1 using a copper straight-through cable.
▪ PC3 to Switch1 using a copper straight-through cable.
2. Configuring IP Addresses:
o Assign IP addresses to each PC:
▪ PC0: 192.168.1.2, Subnet Mask: 255.255.255.0, Default Gateway:
192.168.1.1

1
▪ PC1: 192.168.1.3, Subnet Mask: 255.255.255.0, Default Gateway:
192.168.1.1
▪ PC2: 192.168.2.2, Subnet Mask: 255.255.255.0, Default Gateway:
192.168.2.1
▪ PC3: 192.168.2.3, Subnet Mask: 255.255.255.0, Default Gateway:
192.168.2.1
3. Configuring the Router:
o Access the router (Router0) and configure the interfaces:
▪ Interface G0/0 (connected to Switch0):
▪ IP Address: 192.168.1.1
▪ Subnet Mask: 255.255.255.0
▪ Interface G0/1 (connected to Switch1):
▪ IP Address: 192.168.2.1
▪ Subnet Mask: 255.255.255.0
o Turn on both interfaces.
4. Configuring the Switches:
o The switches do not require IP configuration as they operate at Layer 2. Ensure all
ports used to connect the PCs and the router are in the default VLAN.
5. Testing Connectivity:
o From PC0, open the command prompt and ping PC1 (192.168.1.3).
o From PC0, ping the router interface G0/0 (192.168.1.1) and G0/1 (192.168.2.1).
o From PC0, ping PC2 (192.168.2.2) and PC3 (192.168.2.3) to test connectivity
across different subnets.
6. Using and Sending PDUs:
o Use the simulation mode in Cisco Packet Tracer to create and send a PDU from
PC0 to PC2.
o Observe how the PDU travels through the network, moving from PC0 to Switch0,
then to Router0, and finally to Switch1 before reaching PC2.
o Analyze the flow of the PDU, ensuring it follows the correct path as per the
configured network topology.
Results:
• All PCs should be able to communicate with each other within the same subnet and across
different subnets.
• The PDUs should be correctly routed through the router to reach PCs in different subnets.
Conclusion:
This experiment demonstrated how to set up a basic network using 4 PCs, 2 switches, and 1
router in Cisco Packet Tracer. The successful configuration and testing of PDUs confirmed that
the network was correctly set up, and the router effectively routed traffic between different
subnets.

You might also like