What is a Switch?
A switch is a network device that connects multiple devices like PCs, printers, or servers within a LAN. Unlike hubs, switches forward data only to the device it's meant for using MAC addresses.
How to Add a Switch in Packet Tracer Open Cisco Packet Tracer.
1) Go to Network Devices → Switches.
2) Choose a basic model like 2960 and place it on the workspace.
🔗 Connect Devices to the Switch Add 2 or more PCs from End Devices.
1) Use Copper Straight-Through Cable to connect each PC to the switch.
2) PC → FastEthernet0
3) Switch → Any available port (FastEthernet0/1, 0/2, etc.)
⚙️ Assign IPs to PCs (so they can communicate)
1) PC1: 192.168.1.10
2) PC2: 192.168.1.11
3) Subnet Mask: 255.255.255.0 for both