How do virtual local area networks (VLANs) operate at Layer 2, and how do you configure VLAN tagging on a Linux server?