"Segmentation brings clarity. VLANs bring control."
This project demonstrates VLAN Trunking in a multi-department setup using Cisco Packet Tracer. VLANs are used to logically segment a network, improve performance, and enhance security. Trunking enables VLAN communication across switches.
- Department 1 (MP) – VLAN 2
- Department 2 (Assam) – VLAN 3
- Department 3 (Delhi) – VLAN 4
- Department 4 (Haryana) – VLAN 5
- Two Switches (Switch2 and Switch3)
- End Devices connected to specific VLANs based on departments
- Trunk link between switches to carry multiple VLANs
- Server and Laptops for extended testing
enable
configure terminal
interface fa0/3
switchport mode access
switchport mode trunkenable
configure terminal
vlan 2
name MP
vlan 3
name Assam
vlan 4
name Delhi
vlan 5
name Haryanainterface fa0/x
switchport mode access
switchport access vlan <vlan_id>- VLANs created: 2 (MP), 3 (Assam), 4 (Delhi), 5 (Haryana)
- Ports mapped accordingly to VLANs
- Identical VLAN configuration to Switch2
- Consistent port-to-VLAN mapping
- VLAN Trunking allows multiple VLANs to be carried over a single physical link.
- Logical segmentation of network using VLANs reduces broadcast domains and improves security.
- Trunk ports must be configured on both sides to ensure VLAN data is correctly tagged and understood.
- Ensure VLAN IDs match across switches
- Verify trunk ports are correctly configured
- Use
show vlanandshow interface trunkcommands for debugging
- Add Router-on-a-Stick to enable inter-VLAN routing
- Use VTP (VLAN Trunking Protocol) to propagate VLANs automatically
- Implement Port Security for enhanced control
"A well-segmented network is a well-managed network."
📡 Keep your network clean, controlled, and secure with VLANs!



