Manual configuration of networking on Debian based OS

Networking > Network Configuration

Manual configuration of networking on Debian based OS

Updated

In this guide we'll show you how you can easily configure your assigned IPs on your VPS running .

1. Getting your networking details

  1. In the sidebar, click Cloud (or GPU Cloud / VDS / Metal).
CleanShot 2026-06-29 at 10.18.47@2x.png
  1. Click the row for the server you want to get the networking information from. The detail page opens at /vps/{id} for VPS-class or /metal/{id} for dedicated.
CleanShot 2026-07-12 at 14.15.27@2x.png
  1. Go to the Network tab.
CleanShot 2026-06-29 at 10.20.39@2x.png

In there you'll find your networking information:

CleanShot 2026-06-29 at 10.21.27@2x.png

2. Configuring the Network

Start by logging into your VPS and then run the following command:

nano /etc/network/interfaces

Now, Depending on the IPs from step 1., edit this file to look like this:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
    address <IPv4 Address>
    netmask <IPv4 Netmask>
    dns-nameservers 1.1.1.1 9.9.9.9 2620:fe::fe 2620:fe::9
    gateway <IPv4 Gateway>

iface eth0 inet6 static
    address <IPv6 Address>/64
    gateway <IPv6 Gateway>

Once done, Press Ctrl + X then Y and then press Enter to exit out of the file editor.

3. Checking for syntax errors

Run the following command to check for any syntax errors:

ifquery eth0

Your output should look something like this:

image.png

4. Applying Changes

Next, to apply your new changes, reboot the server with the following command:

# reboot

And Done! Network should be working on your VPS now.

 

Was this helpful?