VLAN Configuration in Packet Tracer
VLAN Configuration in Packet Tracer
SAP ID 33418
A Virtual LAN (VLAN) is a logical grouping of devices within the same broadcast domain that is not limited to a physical
location. VLANs are used to segment network traffic, enhance security, and improve network performance and
manageability. Here are the primary purposes and advantages of VLANs
Segmentation: VLANs separate network traffic into different logical networks. This reduces broadcast traffic and
improves overall network performance.
Security: By isolating sensitive data and systems into their own VLANs, network administrators can enhance
security and reduce the risk of unauthorized access.
Efficiency: VLANs help reduce congestion by limiting broadcast traffic to specific network segments.
Flexibility: VLANs allow devices to be moved within the network without reconfiguring physical connections.
Scalability: VLANs simplify network design and management, making it easier to scale the network as the
organization grows.
VLAN Tagging
VLAN tagging is a method used to identify and separate traffic from different VLANs. It involves adding a tag to the
Ethernet frames that indicate the VLAN membership of the frame. The two main types of VLAN tagging are
IEEE 802.1Q: This is the most widely used VLAN tagging protocol. It inserts a 4-byte tag into the Ethernet frame
header, which includes the VLAN ID.
Inter-Switch Link (ISL): A Cisco-proprietary protocol that encapsulates the entire Ethernet frame with a new
header that includes the VLAN information. ISL is less common and is being phased out in favor of 802.1Q.
VLAN tagging allows network devices, like switches and routers, to direct traffic appropriately based on the VLAN tag,
ensuring that devices in the same VLAN can communicate with each other while isolating traffic from other VLANs
CN_LAB PAGE 2
Step-by-Step Guide
1. Open Packet Tracer Launch Cisco Packet Tracer on your computer.
2. Add Devices
Drag and drop two switches and one router into the workspace.
Add end devices (PCs) and connect them to the switches using Ethernet cables.
3. Configure VLANs on Switches
Select the first switch, go to the CLI tab, and configure VLANs.
Repeat for the second switch.
4. Assign Ports to VLANs
On each switch, assign specific ports to different VLANs.
5. Configure Inter-VLAN Routing
On the router, configure sub-interfaces for each VLAN to enable routing between VLANs.
CN_LAB PAGE 3
Configuration For Switch 1
CN_LAB PAGE 4
GUI Configuration of VLANs on Switches Screen Shots
CN_LAB PAGE 5
CN_LAB PAGE 6
Verify through Ping in VLANs
CN_LAB PAGE 7
Packet Send Successfully
The Packet Tracer file, with complete configuration, is also uploaded and functioning properly in Cisco Packet Tracer.
CN_LAB PAGE 8