Creating VLAN interfaces

According to the requirements listed in Compute cluster requirements, it is recommended to configure VLAN interfaces over network bonds for the compute cluster. You can create these logical interfaces on the Network interfaces tab of the node screen. Additionally, VLAN network interfaces on the compute nodes can be created with the automated procedure outlined in Connecting virtual switches to trunk interfaces.


  • A network interface must have at least one IPv4 address.
  • You can only assign an IPv6 address manually. Obtaining an IPv6 address via DHCP is not supported.

To create a VLAN interface

Admin panel

  1. On the Infrastructure > Nodes screen, click the name of the node, go to the Network interfaces tab, and then click Create.
  2. In the Create network interface window, select the VLAN type and a network interface to create a VLAN interface from, and then click Next.
  3. Specify a number for VLAN in the VLAN ID field. You can choose a number in the range from 1 to 4094.
  4. Select a network to assign the VLAN to, and then specify the network parameters:

    • Select Automatically (DHCP) to obtain the IP address, DNS, and routing settings from the DHCP server.
    • Select Automatically (DHCP address only) to obtain only the IP address from the DHCP server.
    • Select Manually, and then specify the IPv4 address and optionally the IPv6 address in CIDR notation by clicking Add.

    Dynamic IP address allocation will cause network issues as soon as the IP addresses of cluster nodes change. Configure static IP addresses from the start or as soon as possible.

  5. Specify a gateway. The provided gateway will become the node’s default.

  6. Enter the desired MTU value in the MTU field. If you leave Auto, the parent interface MTU will be used.

  7. Click Create.

Command-line interface

Use the following command:

vinfra node iface create-vlan [--ipv4 <ipv4>] [--ipv6 <ipv6>] [--gw4 <gw4>] [--gw6 <gw6>]
                              [--mtu <mtu>] [--dhcp4 | --no-dhcp4] [--dhcp6 | --no-dhcp6]
                              [--auto-routes-v4 | --ignore-auto-routes-v4]
                              [--auto-routes-v6 | --ignore-auto-routes-v6]
                              [--network <network>] [--node <node>] --iface <iface> --tag <tag>
--ipv4 <ipv4>
A comma-separated list of IPv4 addresses
--ipv6 <ipv6>
A comma-separated list of IPv6 addresses
--gw4 <gw4>
Gateway IPv4 address
--gw6 <gw6>
Gateway IPv6 address
--mtu <mtu>
MTU interface value
Enable DHCPv4
Disable DHCPv4
Enable DHCPv6
Disable DHCPv6
Enable automatic IPv4 routes
Ignore automatic IPv4 routes
Enable automatic IPv6 routes
Ignore automatic IPv6 routes
--network <network>
Network ID or name
--node <node>
Node ID or hostname (default: node001.vstoragedomain)
--iface <iface>
Interface name
--tag <tag>
VLAN tag number

For example, to create a VLAN interface with the tag 100 on the network interface eth2 on the node node002, run:

# vinfra node iface create-vlan --iface eth2 --tag 100 --dhcp4 --node node002