For VPS purchased after May 16, 2023

If you assign an IPv4 address and one or two IPv6 addresses to a VPS, these IP addresses are automatically configured in the operating system and also automatically removed from the operating system configuration if you delete them in the Cloud Panel. You can find instructions on how to do this in the following article:

Removing a public IPv4 or IPv6 address

If you assigned two IPv4 addresses and at least one IPv6 address to the VPS and configured these manually in the operating system of your VPS, you must also remove these email addresses manually. To do this, follow the steps below.

Prerequisite

You already cancelled the assignment of the additional public IPv4 or IPv6 address in the Cloud Panel.

  • Log in to the server.

  • Open the file etc/netplan/01-netcfg.yaml. To do this, enter the following command:

    [root@localhost ~]# sudo vi etc/netplan/01-netcfg.yaml

  • Delete the corresponding entries in the file etc/netplan/01-netcfg.yaml in the addresses section.

  • Restart the server so that the changes are applied. To do this, enter the following command:

    [root@localhost ~]# systemctl reboot