Setting Static IP Address di Ubuntu Linux

Filed in Linux 0 comments

Tutorial kali ini akan membahas tentang bagaimana mensetting static IP Address di Ubuntu Linux. Tutorial ini menggunakan text editor vi, jika anda kurang familiar dengan text editor tersebut, bisa menggunakan teks editor yang berbasis GUI semisal leafpad atau gedit. Berikut cara-caranya :

1. Disable Network Manager

#sudo update-rc.d -f NetworkManager remove
#sudo apt-get remove network-manager network-manager-gnome

2. Edit File /etc/network/interfaces

#sudo vi /etc/network/interfaces

Lalu masukkan baris-baris dibawah ini :

auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

3. Edit File /etc/resolv.conf >>

#sudo vi /etc/resolv.conf

masukkan baris2 dibawah iniĀ  (asumsi:memakai koneksi dari telkom speedy)

nameserver 192.168.1.1
nameserver 202.134.1.10
nameserver 203.134.196.155

4. Hapus DHCP client

#sudo apt-get remove dhcp-client

5. Restart Network

#sudo /etc/init.d/networking restart

6. Test

#ping www.google.com

Semoga bermanfaat

sumber : arielz.net

Posted by luplia   @   25 January 2010 0 comments
Tags : , , ,

Share This Post

RSS Digg Twitter StumbleUpon Delicious Technorati

0 Comments

No comments yet. Be the first to leave a comment !
Leave a Comment

Anti-Spam Protection by WP-SpamFree

Previous Post
«
Next Post
»
Powered by Wordpress   |   Delighted designed by Web Hosting   |   Song Lyrics   |   Free Download Ebook   |   Gadget Review