0% found this document useful (0 votes)
8 views6 pages

Vlan in Cisco

The document outlines the configuration of Virtual Local Area Networks (VLANs) using a Cisco 2960 Switch in Cisco Packet Tracer. It details the setup of two VLANs, including IP address assignments for connected PCs, port assignments, and verification steps to ensure proper communication within and isolation between VLANs. The conclusion emphasizes the successful implementation of VLANs for improved network efficiency and security.
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)
8 views6 pages

Vlan in Cisco

The document outlines the configuration of Virtual Local Area Networks (VLANs) using a Cisco 2960 Switch in Cisco Packet Tracer. It details the setup of two VLANs, including IP address assignments for connected PCs, port assignments, and verification steps to ensure proper communication within and isolation between VLANs. The conclusion emphasizes the successful implementation of VLANs for improved network efficiency and security.
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/ 6

VLAN CONFIGURATION IN CISCO PACKET TRACER

INTRODUCTION:

VLAN is the abbrevia on for Virtual LAN, i.e. Virtual Local Area Network. This is a custom network we
create from one or more exis ng LANs. It enables a group of devices from mul ple networks (both
wired and wireless) to be combined into a single Logical network. The result is a VLAN that can be
administered like a physical area network. The network equipment like routers or switches must
support the VLAN configura ons to create a VLAN.

Virtual Local Area Networks (VLANs) allow network administrators to segment a network into
different broadcast domains, enhancing security and performance. In this topology:

VLAN 02 includes PC0, PC1, and PC2 (IP range: 192.168.10.x) [x ranging from 0-2]

VLAN 03 includes PC3, PC4, and PC5 (IP range: 192.168.10.x) [x ranging from 3-6]

This configura on will be implemented using a Cisco 2960 Switch and CLI commands in Cisco
Packet Tracer.

APPARATUS:

Hardware/So ware Requirements:

Cisco Packet Tracer so ware

Network Devices:

 Cisco 2960 Switch


 PCs (End devices)

Network Cables:

Copper Straight-through cables (PC to switch connec ons)

NETWORK TOPOLOGY:

 VLAN 02 → PC0, PC1, PC2

 VLAN 03 → PC3, PC4, PC5

PROCEDURE:
STEP 01: Set Up the Physical Topology

1. Open Cisco Packet Tracer.

2. Add the following devices:

1 Cisco 2960 Switch

6 PCs
3.Connect PCs to the switch using Copper Straight-through cables as shown in the diagram.

STEP02:Configure IP Addresses on PCs

1. Click on each PC, go to the Desktop tab, and select IP Configura on.

2. Assign the following IP addresses:

o VLAN 02:

 PC0: 192.168.10.1, Subnet Mask: 255.255.255.0

 PC1: 192.168.10.2, Subnet Mask: 255.255.255.0

 PC2: 192.168.10.3, Subnet Mask: 255.255.255.0

o VLAN 03:

 PC3: 192.168.10.4, Subnet Mask: 255.255.255.0

 PC4: 192.168.10.5, Subnet Mask: 255.255.255.0

 PC5: 192.168.10.6, Subnet Mask: 255.255.255.0


STEP03:Configure VLANs on the Switch

1. Open the CLI of the Cisco 2960 Switch.

2. Enter privileged EXEC mode:

#ENABLE

3. Enter global configura on mode


4. Create VLANs

STEP 04: Assign Ports to VLANs

1. Assign ports to VLAN 02:

Ports Fa0/1, Fa0/2, Fa0/3

2. Assign ports to VLAN 03:

Ports Fa0/4, Fa0/5, Fa0/6

STEP 05: Verify VLAN Configura on

 Exit to privileged EXEC mode:


 Verify VLANs and port assignments with:
Expected Output:

i. VLAN 2: Ports Fa0/1, Fa0/2, Fa0/3


ii. VLAN 3: Ports Fa0/4, Fa0/5, Fa0/6

Test VLAN Communication

i. Open the command prompt on PC0 and ping PC1 and PC2 to test communication
within VLAN 02:

ping 192.168.10.2

ping 192.168.10.3
ii. Repeat for VLAN 03 by pinging between PC3, PC4, and PC5.
iii. Attempt a ping between VLANs (e.g., PC0 to PC3) to confirm inter-VLAN
isolation.

CLI COMMANDS USED:


OBSERVATIONS

Devices in the same VLAN can communicate.

Devices in different VLANs cannot communicate, as inter-VLAN rou ng is not configured.

CONCLUSION

Using the above configura on, VLANs were successfully created, and network segmenta on was
achieved on the Cisco 2960 Switch. This ensures traffic isola on between departments (e.g.,
Finance and HR) while improving network efficiency and security.

You might also like