Selasa, 11 Desember 2012

CARA Konfigurasi TCP/IP di Ubuntu

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

Tidak ada komentar:

Posting Komentar