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 VMs → 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 How to set up an IP check before allocation?
Adding an IPv4 address
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 name||Path to configuration files||Used for|
|debian-based||/etc/network/interfaces||Debian-based operating systems — AlmaLinux, Astra Linux, Debian, and Ubuntu|
|FreeBSD-based operating systems|
|redhat-based||/etc/sysconfig/network-scripts/ifcfg-<interface>||RHEL-based operating systems — CentOS, Oracle Linux, Rocky Linux|
|none||The configuration is not added to the VM||OS from ISO images |
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:
- If necessary, change the IP address add type. By default, VMmanager automatically selects the type that corresponds to the operating system.
- Press Add an IP address.
- Select the Pool from which IP addresses will be allocated , or click Assign IP to enter a specific address .
- Select the required Number of IPv4 addresses.
- Press Add.
Additional IPv4 addresses will be added to the network configuration of the VM with the /32 prefix.
To delete an IP address, press Delete → .
Adding an IPv6 address
To add an IPv6 address:
- Go to the IPv6 tab.
- Press Enable IPv6 .
- Select IPv6 pool.
- Select Subnet prefix from /32 to /125.
- Press 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 Adding an IPv6 address to the server.
To disable IPv6 addressing, press Network parameters → Disable → Disable IPv6 .
Read more about IPv6 in Managing IPv6 .
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, configure integration with PowerDNS and enter Virtual machines → select the VM → IP addresses → IPv6 .
To create an additional PTR record for a VM:
- Press Add a PTR-record .
- Enter the IPv6 address and the Domain it should correspond to.
- Press Add .
To change the record settings, press .
To delete the record, press .