VLANs allow segmentation of a single broadcast domain into multiple broadcast domains in a layer 2 switched network. A VLAN uses virtual boundaries to divide devices into different broadcast domains even if they are physically located on the same switch. Devices within a VLAN can communicate within the broadcast domain but a layer 3 device is required to allow inter-VLAN communication since each VLAN represents a separate IP subnet.