IP address change after order restoration.

Instructions on changing the IP address after restoring the order for Ubuntu, Debian, CentOS, Fedora, RHEL distributions.

for APT-based Distributions (Debian, Ubuntu)

After restoring your order, you need to update the network settings of your server.

  • Open the "Console" in the billing panel of your order and log in to the server.

  • Enter the command to edit the network configuration:

nano /etc/netplan/00-installer-config.yaml
  • Locate and modify the following parameters:
    • Replace the IP address in the addresses field with the actual value from your billing information.
    • Update the gateway in the routes via field with the one matching your order.

Example of a modified file:

network:
  ethernets:
    eth0:
      addresses:
      - [your_ipaddresses]/24
      - 1a01:6c11:1000:1121::1/48
      nameservers:
        addresses:
        - 11.221.113.11
        - 15.11.12.11
        - 11.11.11.11
      routes:
      - to: default
        via: [your_gateway]
      - to: ::/0
        via: 1a01:6c11:1121::1
  version: 2
  • Save the changes:

    • Press CTRL + O to save the file.

    • Press CTRL + X to exit the editor.

  • Apply the changes with the command:

netplan apply

for RPM/DNF-based Distributions (CentOS, Fedora, RHEL)

After restoring your order, you need to update the network settings of your server.

  • Open the "Console" in the billing panel of your order and log in to the server.

  • Check the name of your network interface:

nmcli connection show

Example output:

NAME  UUID                                  TYPE      DEVICE
eth0  bb093c6c-944c-34f1-ad26-20ea3c85d995  ethernet  eth0
lo    ae84ba1c-0e92-471e-82a3-f4baa7cb8587  loopback  lo

In this case, the network interface name is eth0.

  • Assign the IPv4 address and default gateway to the interface:
nmcli connection modify 'eth0' ipv4.addresses [your_ipaddress]/24
nmcli connection modify 'eth0' ipv4.gateway [your_gateway]
  • Save and activate the changes:
nmcli connection up 'eth0'

Expected output:

Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/3)

for Debian-based Systems (Debian)

After restoring your order, you need to update the network settings of your server.

  • Open the "Console" in the billing panel of your order and log in to the server.

  • Open the network configuration file for editing:

nano /etc/network/interfaces
  • Locate and update the following parameters:

    • Replace the address value with the current IP address from the billing panel.

    • Update the gateway value with the corresponding gateway.

Example updated file:

auto eth0
iface eth0 inet static
    address [your_ipaddress]
    netmask 255.255.255.0
    gateway [your_gateway]
    dns-nameservers 11.221.113.11 15.11.12.11
  • Save the changes:

    • Press CTRL + O to save the file.

    • Press CTRL + X to exit the editor.

  • Restart the networking service to apply the changes:

systemctl restart networking

Info

If you have any questions or problems when changing your IP address, please contact our technical support via the ticket system

Need help?Our engineers will help you free of charge with any question in minutesContact us