How to Configure Static IP Configuration on DEBIAN 10/11/12

1. From the home page of your HayHost client area, click "SERVICES".

 

2. In the My Products & Services section, select the server on which you would like to log in via the console.

 

 

3. Activate the console screen, and click on the "Console".

4. Click "Launch HTML5 Console".

 

5. To log in, use your root user and the root password that you received via Email.

6. Open the configuration file with an editor. Type this command.

nano /etc/network/interfaces

7. Edit the configuration file, and set the IP address that you received via email.

iface lo inet loopback
auto lo

auto ens192
iface ens192 inet static
address 192.198.1.5
netmask 255.255.255.0
gateway 192.192.13.1
metric 0 

8. Press "Ctrl + X" to start the exit sequence.
9. If you've made changes, nano will prompt you to save them. Press "Y" for "Yes" to confirm.

For Network updates type the following

systemctl restart networking

  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

How to buy a Virtual Server In HayHost

1. Go to the HayHost client area and click "Order New Services" in the bottom left corner....

How to Connect to Your Server via RDP on Windows 7

1. Օn your computer, access the "Start" menu, search for "Remote Desktop Connection" then click...

How to Connect to Linux Server via SSH on Windows

1. On your personal computer, navigate to the "Start" menu and type "cmd".   2. Type your IP...

How to Connect from one Linux Server to Another Using SSH

SSH is a secure way to connect to a Linux device remotely. This guide will provide you with the...

How to Configure Static IP Configuration on Windows 10

1. From the home page of your HayHost client area, click "SERVICES".   2. Select the server...