How to Setting and Configure IP Address on Debian Server Linux

Internet Protocol Address or often abbreviated IP is a series of binary numbers between 32-bit to 128-bit which is used as an identification address for each host computer in the Internet network. The length of this number is 32-bit (for IPv4 or IP version 4), and 128-bit (for IPv6 or IP version 6) indicating the address of the computer on a TCP / IP-based Internet network. Then for IP addressing system is divided into two, namely IP version 4 (IPv4) and IP version 6 (IPv6).

On this occasion I will invite all buddies to discuss about how to configure or configure IP Address on linux debian server. Previously my friend need to prepare linux debian server that has been installed in your PC. well, I will exemplify this tutorial with practice using virtualbox, actually just the same way kok with the original. Okay before What is the purpose of Addressing IP Address it? So, the purpose of IP addressing is intended to computer computers (Server and Client) can be connected to each other.

Okay we just start from turning on the computer that has been installed Debian Server. Then we will give the IP address for the server computer. Once turned on and logged in as root, type the “nano / etc / network / interfaces” command to enter the Debian IP address configuration. For more details, see the picture below.

Then after typing this command, please press “enter” to enter Debian IP address configuration. For Debian IP address, can be set according to the wishes and needs of my friend. But for the IP network, netmask, and broadcast we must follow the rules of Subnetting (do not miss it!), I’m sure you all know how to use subnetting rules. For example as below.

To configure the IP Address address, enter the configuration as given white box in the above picture sob. If so, then press “Ctrl + X” simultaneously then press “y” then “enter” to save the configuration you made earlier.

In the next step, type the “service networking restart” command to restart the system and to have the configuration pre-installed. After restarting the network interface it will show a notice like the picture below which means the restart process is successful and the IP has changed.

Then if the notification appears like the picture before, then we will continue to the process of checking IP address. First, we check it from his Debian Server computer. The way we just type the command “ifconfig” like this.

If the IP address is correct, we proceed to the IP addressing process on the Client computer (I’m using Windows 7). For how to configure it, see picture below.

If already entered in window like picture above, click “Properties”.

After clicking “Properties” window will appear like this. Since the IP used is IP v4, then we click “Internet Protocol Version 4 (TCP / IPv4)”. Then, the IP configuration must be aligned and in line with the IP on the Server so that they can be connected to each other.

When you’re done configuring your Client’s IP computer, click “Ok” and then close the IP configuration window. Then we will continue to check the connection between the server with the client. The trick, open “Command Prompt” in Windows (Client) and then type “ping”. The IP written is the IP of the Server ( If successful it will be like the one marked with a yellow box. IP Address is the IP that I created on my server, so my friend can create a different IP and to check using ping adjusted only.

If it fails, then the result will be like this omdimas.

Well, if the result is like the first Command Prompt image, then the configuration IP address that has been buddy for successful and running well. Hopefully what I explained above, my friend can all understand and immediately practice. Thank you and good luck.