Instructions:
- Connect to your server via SSH.
- Open the network interface configuration file:
sudo nano /etc/sysconfig/network-scripts/ifcfg-eth0
(If the interface is named differently, adjust accordingly.)
- Edit or add the following lines:
IPADDR=YourNewIP
GATEWAY=YourNewGateway
Example:
IPADDR=104.160.9.57
GATEWAY=104.160.9.1
- Save and exit the file:
- Press Ctrl+X, then Y, then Enter
- Restart the network service to apply changes:
sudo systemctl restart network
Important:
- If you require any help, feel free to contact support via your client portal.