VLAN Configuration Lab

Switching

VLAN Configuration Lab

Overview

This lab demonstrates how VLANs are used to logically segment a network at Layer 2 and isolate broadcast domains between different groups of devices.

Requirements

  • Create VLAN 10 and VLAN 20
  • Assign switch ports to VLANs
  • Verify Layer 2 segmentation

Steps

  1. Create VLANs on the switch
  2. Assign ports to the correct VLANs
  3. Configure access ports for end devices
  4. Verify VLAN configuration and connectivity

Solution

  1. Step 1: Created VLAN 10 and VLAN 20 on the switch
  2. Step 2: Assigned switch ports to VLAN 10 and VLAN 20 accordingly
  3. Step 3: Configured switch ports in access mode for end devices
  4. Step 4: Verified VLAN configuration using show vlan brief command
  5. Step 5: Tested connectivity within same VLAN and confirmed isolation between VLANs

Verification

  • VLANs are correctly created and active on the switch
  • Ports are assigned to the correct VLANs
  • Devices in the same VLAN can communicate successfully
  • Devices in different VLANs are properly isolated

Notes

  • Each VLAN represents a separate broadcast domain
  • Devices in different VLANs cannot communicate without routing
  • Proper VLAN design improves security and network organization