VK Cloud logo

VLAN management

On VK Cloud Bare Metal servers, you can assign your own VLAN to network interfaces and LAG interfaces.

Creating a VLAN

  1. Go to the VK Cloud management console.

  2. If the VLAN will be used for connectivity with other VK Cloud services in the Cloud Networks network, prepare the network if this has not been done earlier. It will be bound to a specific VLAN; you cannot assign one network to several VLANs.

  3. Go to the Bare Metal → VLAN section.

  4. Click Add.

  5. Set the VLAN parameters:

    • VLAN: the VLAN number in the range from 2 to 3999; it must be unique within the project.

    • Name: the VLAN name.

    • Description: an arbitrary VLAN description.

    • Type: the VLAN type.

      • Sprut: the VLAN is bound to a VK Cloud cloud network. Servers in such a VLAN can exchange traffic with Cloud Servers virtual machines in the selected network.
      • L2Only: the VLAN is not bound to a cloud network, and no subnet is set for it. In such a VLAN, only Bare Metal servers exchange traffic with each other at the L2 level. All Bare Metal servers in one project are connected to a common L2 network. Such a VLAN has no internet access. This type is suitable if you build your own network infrastructure on top of the servers that is independent of the cloud network.
    • Network and subnet: the network and subnet to which the VLAN is bound. The field is available only for the Sprut type. It must be unique for each VLAN.

  6. Click Add.

Changing the VLAN name and description

For a created VLAN, you can change only the name and description. To use a different number, type, or network binding, create a new VLAN.

  1. Go to the VK Cloud management console.
  2. Go to the Bare Metal → VLAN section.
  3. In the VLAN list, click  for the desired VLAN.
  4. Select Editing.
  5. Change the values of the Name and Description fields.
  6. Click Save.

Deleting a VLAN

  1. Go to the VK Cloud management console.

  2. Go to the Bare Metal → VLAN section.

  3. In the VLAN list, click  for the desired VLAN.

  4. Select Delete and confirm the action.

    If at least one server is connected to this VLAN, a window with the list of such servers opens. In this case, first remove the VLAN from the network configuration of the specified servers and try deleting again.

Was this article helpful?