Skip to main content

Manual IP Change Instructions

Learn how to update your IP address without server reinstallation. Follow these step-by-step instructions to manually configure the network settings in Ubuntu.

Access Portal and Launch VNC

1

Log in to your

2

Enable your VNC server

Follow the instructions here
3

Open VNC

  • Enter your username and password on the Ubuntu login page.
  • The interface will look like the image below: Change IP (Ubuntu)

Identify Your Network Interface

  1. Open Terminal in the VNC session.
  2. Execute either of these commands to find your network interface name:
ip a
Change IP (Ubuntu) or
ip link
Change IP (Ubuntu) Take note of your interface name (e.g., ens3 or eth0).

Edit the Netplan Configuration File

Navigate to the Netplan directory:
cd /etc/netplan/
Open the configuration file (e.g., 50-cloud-init.yaml):
sudo nano /etc/netplan/50-cloud-init.yaml
Change IP (Ubuntu) Note: The filename might be different on your system (e.g., 01-network-manager-all.yaml). Make sure to edit the correct file for your installation.

Change the IP Address

  1. Locate the current IP address line and replace it with your new IP address (e.g., 172.16.30.15).
  2. Update the Gateway address in the routes section to match your new network configuration.

Configure Multiple IPs (Optional)

To add multiple IP addresses, use this format in your configuration:
addresses:
        - 172.30.1.16/24
        - 172.30.1.17/24
        - 172.30.1.18/24
Change IP (Ubuntu) Important: Maintain proper YAML indentation to avoid configuration errors.

Save Configuration

  1. Press CTRL + X to exit the editor
  2. Press Y to confirm your changes
  3. Press Enter to save the file

Apply Network Changes

Execute the following command to apply your new network configuration:
sudo netplan apply

Verify Configuration

Check your new IP configuration using either command:
ip a
Or check a specific interface:
ip addr show dev ens3
(Replace ens3 with your actual network interface name)

Fast Ubuntu VPS — Ready in Minutes

Spin up a secure Ubuntu VPS with up to 8 vCPU cores. Instant setup, full root access, SSD/NVMe storage, and reliable global performance. Select your preferred hosting location, VPS plan, choose Ubuntu 24.04, 22.04 or 20.04 LTS at checkout, and get started with full SSH access within minutes.
I