This article explains network settings when using VLAN (KVM & XenServer)
How to enable VLAN
Go to Admin Panel -> Create IP Pool
Note: VLAN is supported for KVM and XenServer virtualization.
- Gateway : As provided by the data center.
- Netmask : As provided by the data center.
- VLAN : Please check the Enable VLAN option.
- VLAN Bridge : Enter vlan bridge as configured on the server.
- Adding IP : Please add ip range to the pool .
Note : VLAN is supported for KVM and XenServer virtualization.
VLAN bridge must have an IP address assigned (even a dummy IP will work)
This will avoid known issue where VPS using VLAN network do not get their IPs configured through DHCP
Note: VLAN configuration is not done by Virtualizor and it should be configured by your system / network admin. Virtualizor will just use the VLAN bridge name in VPS configuration.
Following is the sample configuration file for VLAN.
~]# vi /etc/sysconfig/network-scripts/ifcfg-vlan.192 DEVICE=bond0.192 BOOTPROTO=none ONPARENT=yes #IPADDR=192.168.10.1 #NETMASK=255.255.255.0 VLAN=yes NM_CONTROLLED=no BRIDGE=br0
NOTE: Above sample is just an example for VLAN bridge file, it may vary as per your datacenter configuration. Please contact your datacenter for setting up VLAN on your server.