Kamis, 18 Februari 2016

Seting IP Static di Ubuntu Server

ini saya copy dari site nya ubuntu  yah, soalnya sering lupa saya nya juga :D
sudo vi /etc/network/interfaces
auto eth0:1
iface eth0:1 inet static
  address 192.168.1.24
  netmask 255.255.255.0
  network 192.168.1.1
  broadcast 192.168.1.255
  gateway 192.168.1.1
For these new settings to take effect you need to restart networking services using the following command

sudo /etc/init.d/networking restart

source  : https://help.ubuntu.com/community/NetworkConfigurationCommandLine/Automatic

Tidak ada komentar:

Posting Komentar