Howto Set Ubuntu Server IP
Configuring Ubuntu Server IP have never been any easier. Just edit the /etc/network/interfaces file using any text editor on the server. By default, you should have nano and vi in your Ubuntu Server. The simplest and straight forward text editor is nano. So, use this command: $ sudo nano /etc/network/interfaces you should see the default file content like this: # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet dhcp This is the default network settings on your Ubuntu Server where it use DHCP. So, to set it as static IP. Let say, we wanna setting like this: => Host IP address: 10.1.1.100 => Netmask: 255.255.255.0 => Network ID: 10.1.1.0 => Broadcast IP: 10.1.1.255 => Gateway/Router IP: 10.1.1.254 => DNS Server: 10.1.1.254 You should change the file like th...