Virtual LANs (VLANs) logically segment a network into broadcast domains to restrict communication between devices. VLANs group devices by function, department, application or other criteria without regard to physical location. Routers provide connectivity between VLAN segments. Implementing VLANs on a switch creates separate bridging tables for each VLAN so frames are only switched between ports in the same VLAN. VLANs improve security, flexibility and management of the network compared to relying solely on physical segmentation.