Beranda > HoW-To, Linux > Static IP address on Ubuntu

Static IP address on Ubuntu

edit file /etc/network/interfaces dengan menggunakan perintah :

# sudo vi /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
#iface eth0 inet dhcp –> untuk IP address dari dhcp(dynamic)
iface eth0 inet static
address 192.168.117.22
netmask 255.255.255.0
network 192.168.117.0
broadcast 192.168.117.255
gateway 192.168.117.171

setelah itu restart network :
#sudo /etc/init.d/networking restart

Kategori:HoW-To, Linux
  1. September 25, 2013 pukul 5:41 pm

    Spot on with this write-up, I absolutely believe this site needs
    far more attention. I’ll probably be back again to read more,
    thanks for the information!

  2. Maret 19, 2014 pukul 3:45 pm

    I was recommended this website by my cousin.
    I am not sure whether this post is written by him as no one else know such detailed about
    my problem. You’re amazing! Thanks!

  1. No trackbacks yet.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: