Creating multiple vLANs in a vRack
Objective
The standard vRack configuration enables you to create only one VLAN. This means that you can only use each IP address once. However, with the vRack version 2.0 configuration, you can create up to 4,000 VLANs within a single vRack. This means that you can use each IP address up to 4,000 times.
This guide will show you how to create multiple vLANs within the vRack.
Requirements
- An active vRack service in your account
- Two or more vRack-compatible servers
- Administrative (sudo) access to your server via SSH (Linux) or RDP (Windows)
- Your chosen private IP address range
- You must have completed the vRack configuration guide
This feature might be unavailable or limited on servers of the Eco product line.
Please visit our comparison page for more information.
Instructions
Linux
As an example, we'll use eno2 as the network interface, 10 and 11 as the VLAN tags, and 192.168.0.0/16 and 10.0.0.0/16 as the private IP address ranges.
All commands must be adapted to the distribution used. Please refer to the official documentation for your distribution if you have any doubts.
First, establish an SSH connection to your server and run the following commands from the command line to install the VLAN package on your server:
Next, load the 8021q kernel module:
To verify that the module is loaded:
Run the following command to ensure the modules are permanently loaded at boot:
Next, retrieve your interface names and identify the private interface:
Next, create a VLAN tag. The tag serves as an identifier, allowing you to differentiate between multiple VLANs:
In this example:
Use the same command for each VLAN tag you wish to add.
Next, declare the private IP address range within the vRack and tag it with the identifier using the following command:
Amend the configuration of your network interface to incorporate the VLAN tag. Open your network interface configuration file and add the following entries:
For multiple configured VLANs, your network configuration should look like this:

Windows
Log on to your server via a remote desktop connection, and open the Server Manager app. Then select Local Server. Now click the Disabled link next to NIC Teaming:
Next, right-click on the network interface and select Add to New Team.
In the popup window, create a new team by typing a team name into the Team name field. When you have finished, click OK.
Next, we need to define the vLAN tag. In the ADAPTERS AND INTERFACES pane of the NIC Teaming screen, go to the Team Interfaces tab and right-click the interface you have just added to the new team, then click Properties. Now click Specific VLAN, and define the tag:
Next, we need to configure the IP address of the vLAN. Click the Start button on your keyboard, then click Control Panel:
Next, click Network and Internet:
Then Network and Sharing Center:
Then click Change adapter settings:
Next, right-click the vLAN interface, and click Properties:
Note that in our example Ethernet 2 is the interface used for the vRack. However, it is possible that the vRack NIC is a different interface in your configuration. The correct one to select will be the interface that does not have the server's main IP address or has a self-assigned IP.
Then double-click Internet Protocol Version 4 (TCP/IPv4):
Next, click Use the following IP address. For IP address, type in an IP from your internal range. For Subnet mask, type in 255.255.0.0.
Finally, click the OK button to save the changes, then reboot your server.
Go further
Configuring the vRack on your Dedicated Servers
Join our community of users.





