VMmanager 6: Administrator guide

Managing VM IP addresses

ISPSystem

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 do I set up an IP address check before issuing? 

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 namePath to configuration filesUsed for
debian-based

/etc/network/interfaces

Debian-based operating systems — AlmaLinux, 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 — CentOS, Oracle Linux, Rocky Linux
Windows

Windows OS

noneThe configuration is not added to the VM
  • OS from ISO images
  • Windows OS

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. Press Add an IP address.
  3. Select the Pool from which IP addresses will be allocated, or click Assign IP to enter a specific address.
  4. Select the required Number of IPv4 addresses.
  5. Press Add.

To delete an IP address, press Delete.

Note

To prevent the platform from rebooting the VM when adding or removing an IP address, the following conditions must be met:

If these conditions are not met, the platform will reboot the VM to change the configuration.

IPv4 tab

Adding an IPv6 address


To add an IPv6 address:

  1. Go to the IPv6 tab.
  2. Press Enable IPv6.
  3. Select IPv6 pool.
  4. Select Subnet prefix from /32 to /125.
  5. 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 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, configure integration with PowerDNS and enter Virtual machines → select the VM → IP addressesIPv6.

To create an additional PTR record for a VM:

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

To change the record settings, press .

To delete the record, press .

Configuring PTR records

Thank you for your feedback!
Was the article useful?
Tell us why not:

it does not match the title

it was hard to understand

I didn't find the answer

recommendations from the article did not help

other

Tell us what you didn't like in the article: