# Cisco Packet Tracer Labs
## What is Cisco Packet Tracer
Cisco Packet Tracer is a network simulation tool developed by Cisco that allows students and network engineers to practice configuring network devices in a virtual environment without needing real hardware. It supports routers, switches, firewalls, servers, PCs, and many other devices. Packet Tracer is widely used in CCNA and networking courses.
## Lab 1 - Basic Network Setup
Objective: Create a simple network with two PCs connected through a switch.
Step 1: Open Packet Tracer and select a 2960 switch from the Network Devices panel. Place it in the workspace.
Step 2: Add two generic PCs to the workspace.
Step 3: Connect PC0 to switch port FastEthernet0/1 using a copper straight-through cable.
Step 4: Connect PC1 to switch port FastEthernet0/2 using a copper straight-through cable.
Step 5: Click on PC0 and go to the Desktop tab then IP Configuration. Assign IP 192.168.1.1 with mask 255.255.255.0.
Step 6: Click on PC1 and assign IP 192.168.1.2 with mask 255.255.255.0.
Step 7: From PC0 Desktop open the Command Prompt and type ping 192.168.1.2. The ping should succeed showing four replies.
Step 8: Open the simulation mode and send a ping again. Watch the packets travel through the switch to the destination.
## Lab 2 - Router Configuration
Objective: Connect two networks through a router.
Step 1: Add a 1941 router to the workspace.
Step 2: Create two separate switch networks, one with 192.168.1.0/24 and one with 192.168.2.0/24.
Step 3: Connect each switch to a different router interface.
Step 4: Configure router interface GigabitEthernet0/0 with IP 192.168.1.1/24 and activate it with no shutdown.
Step 5: Configure router interface GigabitEthernet0/1 with IP 192.168.2.1/24 and activate it.
Step 6: Set the default gateway on PCs in network 1 to 192.168.1.1 and on PCs in network 2 to 192.168.2.1.
Step 7: Test connectivity by pinging from a PC in network 1 to a PC in network 2.
## Lab 3 - VLAN Configuration
Objective: Configure VLANs on a switch to separate traffic.
Step 1: Open switch configuration and create VLAN 10 with name Sales and VLAN 20 with name IT.
Step 2: Assign ports Fa0/1 to Fa0/5 to VLAN 10 as access ports.
Step 3: Assign ports Fa0/6 to Fa0/10 to VLAN 20 as access ports.
Step 4: Verify that PCs in VLAN 10 can ping each other but cannot ping PCs in VLAN 20.
Step 5: This demonstrates VLAN isolation within a single switch.Back to Subject