Knowledgebase

Simple instructions to work with the Profitserver service
  1. Main
  2. Knowledgebase
  3. How to setup network in Debian OS

How to setup network in Debian OS


In this article we will show how to configure network in Debian OS. We will give detailed instruction with each step described.

1. First you should know your IP config. You can do it with Net-tools utilite. To do this you should execute command:

apt install net-tools
know your IP config

2. Next step is editing configuration file /etc/network/interfaces. You can do it with any Linux text editor, for example Nano. Execute command:

nano /etc/network/interfaces

Default configuration looks like this screenshot:

Default configuration looks like this screenshot

3. To set up static IP, you shold set up interface from dhcp to static and write your IP-address, mask, gateway and DNS.  

set up interface from dhcp to static

 4. To set up multiply it is necessary to add one more interface with the same name and write its number. After write its IP, mask, gateway and DNS.

Configuring the network in Debian
⮜ Previous article How to change PHP version on web hosting
Next article ⮞ How to configure network interfaces in CentOS

Ask us about VPS

We are always ready to answer your questions at any time of day or night.
Please, check our Knowledge base, most likely the answer to your question is already there!