Skip to main content
The network is already configured when the server is provisioned and works out of the box. You rarely edit the configs by hand — mostly to add an additional IPv4 or set up IPv6. A mistake in the network config can cut off SSH access: change one parameter at a time and immediately check access from a second window without closing your current session. As a last resort, reinstalling the system will bail you out (it wipes data).

Additional IPv4

There’s no button in the bot to order an extra IP — an additional IPv4 is issued through support @lumisup_robot. Once they send you the address, netmask, and gateway, set them in the OS.
Modern Ubuntu uses Netplan. The config lives in /etc/netplan/ (a file like 01-netcfg.yaml or 50-cloud-init.yaml). Check the interface name with ip a (often eth0 or ens3) and add the second address to the addresses list:
/etc/netplan/01-netcfg.yaml
network:
  version: 2
  ethernets:
    eth0:
      addresses:
        - 192.0.2.10/24
        - 192.0.2.11/24
      routes:
        - to: default
          via: 192.0.2.1
      nameservers:
        addresses:
          - 1.1.1.1
          - 8.8.8.8
Here 192.0.2.10 is the primary IP and 192.0.2.11 is the added one. Substitute your own values.Check the syntax and apply:
netplan try
netplan apply
netplan try applies the config temporarily and automatically rolls it back after 120 seconds if you don’t confirm. Handy for not losing access over a typo.

IPv6

If you’ve been given an IPv6 address and gateway, set them up the same way.
/etc/netplan/01-netcfg.yaml
network:
  version: 2
  ethernets:
    eth0:
      addresses:
        - "2001:db8:abcd::2/64"
      routes:
        - to: "::/0"
          via: "2001:db8:abcd::1"
to: "::/0" is the default route for IPv6 (the equivalent of default for IPv4). Apply with netplan apply.
Check that IPv6 came up and connectivity works:
ip -6 a
ping6 -c 4 google.com

Check the network

1

Check addresses and interfaces

ip a
2

Look at the routing table

ip route
3

Check connectivity to the outside

ping -c 4 1.1.1.1
4

Diagnose packet loss (MTR)

If the connection keeps dropping, look at the route with MTR (it combines ping and traceroute):
apt install mtr-tiny
mtr 1.1.1.1

Firewall (ufw)

Open the ports you need, close off the rest.

Reverse DNS (PTR)

A reverse record for your IP.

VPS not working

Access, load, IP on blocklists.