Konfigurasi TCP/IP di Ubuntu

Banyak Sekali Cara Mengkonfigurasikan / Setting ip address, dari mode GUI sampai text. Tapi biasanya Setting yang lebih sering di gunakan adalah melalui mode text.

ini dia caranya. ! Cekidot

1. Buka terminal => Klik menu Application | Accesories | Terminal

2. Masuk ke root => ketik su (enter)

masukan password root

3. Kemudian ketikan seperti di bawah ini

smk:~# nano /etc/network/interfaces

auto eth0
iface eth0 inet static
address 192.168.100.1
netmask 255.255.255.240
network 192.168.100.0
broadcast 192.168.100.15
gateway 192.168.100.1

Lalu tekan Ctrl+x

Restart konfigurasi
smk:~# /etc/init.d/networking restart

cek ip apa sudah berhasil atau belum
smk:~# ifconfig

eth0 Link encap:Ethernet HWaddr 00:21:27:C8:B7:33
inet addr:192.168.100.1 Bcast:192.168.100.15 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16443 errors:0 dropped:0 overruns:0 frame:0
TX packets:16272 errors:0 dropped:0 overruns:0 carrier:0
collisions:284 txqueuelen:100
RX bytes:1816154 (1.7 MiB) TX bytes:4807945 (4.5 MiB)
Interrupt:18 Base address:0xa400

jika muncul persis seperti konfigurasi di atas maka ip telah berhasil dimasukkan.

smk:~# ping 192.168.100.2 #ping ke client

jika Reply maka OK anda Berhasil

Posted on 21 August 2011, in Linux, Tutorial. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: