Custom ISO installation – configure gateway

servers guru

Last Update 23 days ago


Doing a manual installation via ISO you will have to configure the default gateway yourself.


This guide explains how to set up the default gateway manually.


Prerequisites:

The new ISO image must have been mounted

You must have performed a restart on your server After the server’s restart, you have to complete the image installation via the VNC console. 


You can open the console by clicking the VNC button on your control panel non your server page at https://my.servers.guru.


Configuring the default gateway:

During the installation

When you open the console as explained above, it will view the installation.


You will need to setup the network manually using the following information:


The gateway will change depending on your ip range.


Netherlands 10Gbps:


your ip is in the range : 185.198.234.0/24

gateway: 185.198.234.1



Netherlands 1Gbps:


your ip is in the range: 45.135.180.0/24

gateway: 45.135.180.1


your ip is in the range: 89.35.131.0/24

gateway: 89.35.131.1


your ip is in the range: 93.115.172.0/24

gateway: 93.115.172.1



Montreal - Canada 1Gbps:


your ip is in the range: 86.107.168.0/24

gateway: 174.142.205.11


your ip is in the range: 185.141.216.0/24

gateway: 185.141.216.1



Singapore 1Gbps:


your ip is in the range: 2.57.241.0/24

gateway: 2.57.241.1



USA - Spokane 1Gbps:


your ip is in the range: 86.107.101.0/24

gateway: 86.107.101.1



All other locations:


your ip is not in any of these ranges:

gateway: 172.31.1.1


After the installation

To Connect to the server after the installation, you can use a normal CLI again, instead of the VNC console.


To change the default permanently after the installation, you will have to edit the network configuration.


Ubuntu/Debian

Ubuntu 18.04 and newer

Ubuntu 18.04 (and newer) uses netplan, which is different to the older configurations of Ubuntu.


Open the .yml file in the /etc/netplan/ folder:

Edit the file:


Replace eth0 with the network interface of your vps ( you can find it by using the command ip addr)

Once you are done, you can use CTRL + X to exit the file, Y to save the file and ENTER to confirm.


Debian 9 or newer / Ubuntu 16.04

Open the configuration file in the /etc/network folder:

Edit the file:


Replace eth0 with the network interface of your vps ( you can find it by using the command ip addr)

Once you are done, you can use CTRL + X to exit the file, Y to save the file and ENTER to confirm.

Was this article helpful?

1 out of 8 liked this article

Still need help? Message Us