Common VLAN Problems
Wrong VLAN assignment: a device is assigned to the wrong VLAN (e.g., placed in VLAN 10 instead of VLAN 20). The device cannot communicate with others in VLAN 20 even though physically nearby. The device may reach different resources than expected. Check the switch port's access VLAN assignment.
VLAN not in allowed list on trunk: traffic for a specific VLAN is not crossing a trunk link because the VLAN is not in the trunk's allowed VLAN list. Devices in that VLAN on one switch cannot communicate with devices on other switches. Check trunk port configuration — verify the VLAN is included.
VLAN not created on switch: a port is assigned to a VLAN that doesn't exist on the switch. The port may go into an inactive state. VLANs must be created on all switches that carry that VLAN (or VTP must propagate it).
Native VLAN mismatch: the two ends of a trunk port have different native VLANs configured. Untagged traffic is placed into different VLANs on each side — devices in the native VLAN on one switch appear in a different VLAN on the other switch. Causes connectivity issues and security concerns.
Troubleshooting VLAN Issues
Verify device VLAN: confirm which VLAN a switch port is in. Check the switch port configuration. If a device has APIPA or wrong IP, it may be in the wrong VLAN (assigned to a VLAN with no DHCP server or a different DHCP scope).
Verify trunk configuration: confirm trunk ports between switches carry the correct VLANs. Check that the VLAN exists on both switches. Verify the native VLAN matches on both ends. CDP/LLDP neighbor commands show connected device information; native VLAN mismatches generate switch log warnings.
Inter-VLAN routing not working: devices in different VLANs cannot communicate. Verify Layer 3 configuration — router-on-a-stick subinterfaces or SVI (Switch Virtual Interface) configuration on Layer 3 switch. Verify the routing protocol or static routes between VLANs.