VMmanager: Administrator guide

Managing VM IP addresses

When a virtual machine (VM) is created, VMmanager allocates to it an IP address from a specified pool. You can assign additional IP addresses to VMs or delete existing ones. To manage IP addresses, enter Virtual machines  → select VM → Parameters button → IP addresses

You can configure IP addresses to be checked before the platform allocates them to virtual machines (VMs). If the IP address fails verification, VMmanager will not assign it to the VM. For example, you can prevent the issuance of IP addresses assigned to any devices on the network. For more information, see knowledge base article How to set up an IP check before allocation?

Managing IPv4 addresses

Changing IP addresses is not supported if snapshots have been created for VMs.

You can choose the type for adding an IPv4 address to a VM. The file to which the network configuration will be written depends on the selected type:

Type namePath to configuration filesUsed for
debian-based/etc/network/interfacesDebian-based operating systems — Astra Linux, Debian, and Ubuntu
freebsd-based/etc/rc.conf.d/network
/etc/rc.conf.d/routing
FreeBSD-based operating systems
redhat-based/etc/sysconfig/network-scripts/ifcfg-<interface>RHEL-based operating systems — AlmaLinux, CentOS, Oracle Linux, Rocky Linux
WindowsWindows OS
none (No automation)The configuration is not added to the VMOS from ISO images
Windows OS

If VM has network interfaces added manually by the OS, it is recommended to select the none model.

Changing the type may fail with error 5991 "Ip automation not available" if:

  • there is a network interface in the VM settings in the platform that is not actually exists on the VM;
  • the VM settings in the platform have IP addresses that are not actually exists on the VM;
  • VM was imported from VMmanager 5 and automatic synchronization of network interfaces is not completed.

To add IPv4 addresses:

  1. If necessary, change the IP address add type. By default, VMmanager automatically selects the type that corresponds to the operating system.
  2. Click Add an IP address button.
  3. Select a Network type:
  4. For main and additional networks:
    1. Select how to Add IP address or subnet:
      • From pool IPv4:
        1. Select an IP address pool from which to assign addresses to the VM.
        2. Select or enter the desired Number of IP addresses. A maximum of 10 IP addresses can be issued to a VM;
      • Manually:
        1. Enter the IPv4 address or IPv6 subnet. For an IPv4 address, use the format x.x.x.x.x, for an IPv6 subnet, use the format x:x:x:x:x:x:x:x:x:x:x/yy, where /yy is the subnet prefix from /32 to /125.
  5. For virtual network:
    1. Select a VxLAN.
    2. Select a LAN.
    3. Select or enter the desired Number of IP addresses. A maximum of 10 IP addresses can be issued to a VM.
  6. Click Add button.

Additional IPv4 addresses will be added to the network configuration of the VM with the /32 prefix.

Because of the nftables subsystem, if more than 1000 IP addresses are allocated to all VMs on a cluster node, network bandwidth will be significantly reduced. To avoid this problem, disable restrictions on the number of TCP connections in the VM's fine-tuning.

To delete an IP address, click Delete .


IPv4 tab

Managing IPv6 addresses

To add an IPv6 address:

  1. Go to the IPv6 tab.
  2. Click Enable IPv6.
  3. Select IPv6 pool.
  4. Select Subnet prefix from /48 to /125. 

    The subnet prefix must be greater than the network prefix.
  5. Click Enable IPv6.

The platform will allocate a subnet of IPv6 addresses for the VM. The first address from the subnet will be automatically assigned to the VM interface. Network settings will need to be added to the VM manually. Read more in Assigning IP addresses with OS tools.

To disable IPv6 addressing, press Network parametersDisableDisable IPv6.

Read more about IPv6 in Managing IPv6.

IPv6 network settings

PTR records for IPv6 addresses

PTR records are needed so that the DNS server can determine the domain name of a VM by its IP address. These records are used for some Internet services (e.g., sending email).

The main VM domain is automatically linked to the first two IPv6 addresses from the allocated subnet. For example, subnet 2a01:230:2:3::8/125 is allocated to cosmos-diamond.example.com VM. The platform will automatically create PTR records linking the domain cosmos-diamond.example.com to the IP addresses 2a01:230:2:3::8 and 2a01:230:2:3::9.

To manage PTR records:

  1. Configureintegration with DNSmanager 6. Read more in the Integration with DNSmanager 6 module.
  2. Go to Virtual machines  → select the VM → Parameters button → IP addresses tab → IPv6 tab.

To create an additional PTR record for a VM:

  1. Click Add a PTR-record.
  2. Enter the IPv6 address and the Domain it should correspond to.
  3. Click Add.

To change the record settings, click .

To delete the record, click .

Configuring PTR records

Allocating IP addresses via DHCP

If the VM's IP address was assigned by an external DHCP server, the platform will not consider this address, manage it and display it in the interface. You can modify the VM's network settings only in the guest OS.

To disable address allocation via DHCP:

  1. Click the Change IP addresses link.
  2. Select how to Add IP address or subnet:
    • From pool IPv4:
      1. Select an IP address pool from which to assign addresses to the VM.
      2. Select or enter the desired Number of IP addresses. A maximum of 10 IP addresses can be issued to a VM;
    • From pool IPv6:
      1. Select an IP address pool from which to assign addresses to the VM.
      2. Enter the Subnet prefix from /32 to /125;
    • Manually:
      1. Enter the IPv4 address or IPv6 subnet. For an IPv4 address, use the format x.x.x.x.x, for an IPv6 subnet, use the format x:x:x:x:x:x:x:x:x:x:x/yy, where /yy is the subnet prefix from /32 to /125.
  3. Click the Apply button.