In the current version of the platform, this functionality is not available in clusters with LXD virtualization.

In the network settings on the cluster node, you can create network bridges and combine network interfaces into bonds. Virtual machines (VMs) on this cluster node will be able to use the interfaces created.

Bridges are used to combine network segments into a single network. You can specify a VLAN tag in the bridge settings. Then VMmanager will assign a special tag to network frames transmitted through the bridge. This isolates the traffic being transmitted and allows one interface to be used in multiple bridges.

Bonds combine two or more physical network interfaces into one virtual network interface. The use of bonds can improve network fault tolerance and throughput capacity. Read more in Bond operating modes.

Managing network settings

To manage the network settings of a cluster node, enter Nodes → select the node → Network settings. When you change the network configuration on the cluster node, VMmanager automatically updates the data in this section.

The Status column shows the current status of the interface:

  • New — the settings have been created in the platform, but not applied on the node;
  • Changed — the settings have been changed in the platform, but not applied on the node;
  • Deleted — the settings have been deleted in the platform, but not applied on the node;
  • Enabled — the interface has been created in the platform and on the node;
  • Changed manually — the interface has been created or changed on the node without the participation of the platform;
  • Deleted manually — the interface has been deleted on the node without the participation of the platform.

The primary bridge is marked in the table with the sign.

Section interface

To see a graphical representation of the node's network, click View scheme.

Example of network scheme

To create a bridge:

  1. Press Add deviceBridge.
  2. Specify the bridge settings:
    1. Name.
    2. VLAN Tag. Without the VLAN tag, you can only include into the bridge the interfaces that are not used in other bridges.
    3. Ports for merging.
    4. For the bridge to use the IP address of one of the interfaces, enable the Move IP from interface option. VMmanager will delete all IP addresses and gateway settings for this interface and add them to the bridge.
    5. IPv4 address in IPv4/Mask format.
    6. Gateway IPv4.
    7. IPv6 address in IPv6/Mask format.
    8. Gateway IPv6.
    9. To make the bridge primary, enable the Default bridge for new VM option. All VMs created on this node will use this bridge.
  3. Press Create. The interface will appear in the table with the status of New.

To create a bond:

  1. Press Add deviceBond.
  2. Specify the bond settings:
    1. Name.
    2. Interfaces for merging. 

      We do not recommend merging multiple interfaces with IP addresses in a bond. In this case, the network may not be configured correctly.

    3. IP address in IPv4/Mask format.
    4. IP address in IPv6/Mask format.
    5. Mode. Read more in Bond operating modes.
  3. Press Create. The interface will appear in the table with the status of New.

If you plan to use VLANs in a bond, first create a bond and include it in the bridge, then configure VLAN tags for the bridge.

VMmanager requires confirmation of the administrator's actions when changing network settings. After adding, editing and deleting interfaces, a card with the list of changes will appear in the section. To view the changes, press Show. For the platform to apply the settings to the cluster node, press Apply changes. If changes were made by mistake, press Cancel all.

Example of request to apply settings

To change the interface settings, press .

To delete the interface, press . If an IP address was moved to the bridge from an interface, the address will return to the original interface after the bridge is removed.

Before deleting a bridge, delete all VMs that use it. If this is the primary bridge, designate another bridge as primary.

The procedure to apply settings

To apply the settings, the platform creates a task to change the cluster node configuration. If an error occurs while performing the task, VMmanager will restore the original settings of the node.

To track the result of changes made, VMmanager checks the network operation. To do this, the platform sends requests to a specific IP address. If the network becomes unavailable for a specified time, VMmanager will restore the original network settings.

To set the network check parameters:

  1. Enter Clusters → select the cluster → Network settings.
  2. Enter the Check IP for node. VMmanager will check the connectivity to this IP address using the ping utility.
  3. Set the Timeout in seconds. If the network is unavailable during this time, the platform will restore the original network settings.
  4. Press Save.

Example of configuration

Manage the network interfaces of VM

To manage VM network settings, go to Virtual machines → select a VM → Parameters button → Network Settings tab. Read more in the article Network settings of virtual machines.