What is a VLAN or Virtual LAN When Used In Server Virtualisation
September 3rd, 2010 | Published in Virtualization / Cloud
A VLAN or Virtual Local Area Network is basically what the name implies in simple terms. Its a virtualised LAN (by using the word LAN I would for example be referring to a group of networked computers all connected to each other with a router and RJ45 cable).
A VLAN allows you to assign a secondary network card available on a server (or PC) an ip on a specific range and subnet. For example, you might assign an IP address of 192.168.0.100 / 255.255.255.0 to connection #2 on your server.
Lets say then that you have a second server that also has a secondary network card. If I then give this card an IP of 192.168.0.200 / 255.255.255.0 I now have 2 PCs that can “see” and talk to each other. This is because they are now on the same IP subnet.
The most common use for this in a virtualisation or cloud enviroment is quite simply to allow a person to connect one of more virtualized servers to each other as if they are connected on a physical network. If I now try and ping one server from the other I will get a response.
A second common reason is that a lot of cloud server and virtualisation hosting providers will charge for all outgoing bandwidth. By using a VLAN interconnect on the same set of servers, you can minimize bandwidth usage by transferring data over the VLAN and not the public IP.
For example, lets take my web server and Database server below. By using a VLAN I can transfer any requests to and from my database server over the VLAN ensuring bandwidth use is minimized. See below for a (sketchy looking) diagram!

