IP address change after order restoration.
Instructions on changing the IP address after restoring the order for Ubuntu, Debian, CentOS, Fedora, RHEL distributions.
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.
- Replace the IP address in the
Example of a modified file:
network:
ethernets:
eth0:
addresses:
- [your_ipv4_addresses]/24
- [your_ipv6_addresses]/48
nameservers:
addresses:
- [your_dns_server]
- [your_dns_server]
- [your_dns_server]
routes:
- to: default
via: [your_gateway_v4]
- to: ::/0
via: [your_gateway_v6]
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
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_ipv4_address]/24
nmcli connection modify 'eth0' ipv4.gateway [your_gateway_v4]
- Save and activate the changes:
nmcli connection up 'eth0'
Expected output:
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/3)
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_ipv4_address]
netmask 255.255.255.0
gateway [your_gateway_v4]
dns-nameservers [your_dns_server] [your_dns_server]
-
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
Help
If you have any questions or problems when changing your IP address, please contact our technical support via the ticket system