What is vlan?

VLAN is Virtual Local area network and it is a group of hosts with a common set of requirements that communicate as if they were attached to the same broadcast domain, regardless of their physical location. VLANs are configured through software rather than hardware, which makes them extremely flexible.