CHM Practical 9 2
CHM Practical 9 2
A.1 AIM: - To perform configuration of switch in a network using cisco packet tracer
A.2 Prerequisite
Nil
A.3 Outcome
After successful completion of this experiment students will be aware of
• Configuration of switch in a network
• Difference between Hub and switch
Comph!134
A.4 Theory
Activity:
Task 1:
Write a brief definition of what a switch is and how it operates in a network.
Task 2:
Compare the functionalities of a hub and a switch, focusing on how each device forwards data in a
network.
Task 3: Network Configuration in Cisco Packet Tracer
Connect minimum 4 computers with a switch on cisco packet tracer and send a packet from
one computer to another and show simulation
Write all steps to connect and configure switch
Show how IP addresses are assigned the above computers (IP range: 10.10.10.1 to
10.10.10.20)
Show packet simulation(attached screenshots)
PART B
(PART B: TO BE COMPLETED BY STUDENTS)
(Students must submit the soft copy as per following segments within two hours of the
practical. The soft copy must be uploaded on the Blackboard or emailed to the
concerned lab in charge faculties at the end of the practical in case the there is no Black
board access available)
Roll No. C025 Name: Tanish Parikh
Program: BTI Division: B
Semester: 3 Batch : B1
Date of Experiment: 15/10/14 Date of Submission: 15/10/24
Grade :
Task 2
Hubs and switches are both networking devices used to connect multiple devices within a
local area network (LAN), but they operate in different ways:
Hub:
Data Forwarding: A hub operates at the physical layer (Layer 1) of the OSI model.
When a hub receives a data packet from one of its ports, it broadcasts that packet to
all other ports, regardless of the intended recipient. This means all connected devices
receive the same data, leading to potential collisions.
Efficiency: Hubs do not differentiate between devices, resulting in lower efficiency,
especially as the number of connected devices increases. This can lead to network
congestion.
Switch:
Data Forwarding: A switch operates at the data link layer (Layer 2) of the OSI
model. It maintains a MAC address table to track the devices connected to each port.
When a switch receives a data packet, it examines the MAC address and forwards the
packet only to the specific port associated with the destination device.
Efficiency: This targeted forwarding significantly reduces collisions and improves
overall network efficiency, as multiple communications can occur simultaneously
without interference.
Task 3
1. Add a Switch:
o Find the switch in the "Switches" section and drag it onto the workspace.
2. Add PCs:
o Find "End Devices" and drag four PCs onto the workspace.
1. Send a Ping:
o On PC1, go to "Desktop" and open "Command Prompt."
o Type ping 10.10.10.3 (this pings PC2).
o If you see replies, the connection is working!
Final Check
B.2 Conclusion:
(Students must write the conclusion as per the attainment of individual outcome listed
above and learning/observation noted in section B.1)
In conclusion, configuring a switch in a network using Cisco Packet Tracer is a fundamental skill for
networking professionals. Through this process, we learned how to connect multiple devices, assign
IP addresses, and verify connectivity. By simulating real-world scenarios, Packet Tracer provides a
safe environment to practice and understand the essential concepts of network configuration.