Modul 2 Konfigurasi IP Address Di Debian Server
-
Upload
mohammad-syarif-potabuga -
Category
Documents
-
view
260 -
download
1
description
Transcript of Modul 2 Konfigurasi IP Address Di Debian Server
SMK TI Cokroaminoto Kotamobagu
ICT Center Kotamobagu Created : Rianda Paputungan, ST Page 1
Konfigurasi IP Address Di Debian Server
IP Address yang digunakan untuk server terdiri dari 2 adapter atau 2 NIC(Network Interface
Card) yaitu adapter 1 untuk koneksi LAN (Eth0) dan adapter 2 untuk WAN (Eth1)
Debian Server :
eth0 (LAN)
ip address : 192.168.100.1
netmask : 255.255.255.0
broadcast : 192.168.100.255
eth1(WAN)
ip address : 10.10.10.1
netmask : 255.255.255.0
gateway : 10.10.10.254
broadcast : 10.10.10.255
dns-nameserver : 192.168.100.1
PC Client Windows
Virtual Box Adapter Ip address : 192.168.100.XXX
Netmask : 255.255.255.0
Gateway : 192.168.100.1
DNS Server : 192.168.100.1
Eth 0
Eth 1
Internet
Server Client
SMK TI Cokroaminoto Kotamobagu
ICT Center Kotamobagu Created : Rianda Paputungan, ST Page 2
KONFIGURASI IP ADDRESS PADA DEBIAN SERVER
Perintah untuk konfigurasi ip address pada debian 6 (Squezze)
Dimana /etc adalah main directory, /network adalah sub directory didalam main directory,
interfaces adalah file konfigurasi untuk IP address. Tekan enter untuk meng-eksekusi perintah
diatas. Isi default dari file interfaces yaitu :
Edit atau tambahkan script di atas menjadi seperti dibawah ini :
Jika konfigurasi telah selesai, save/simpan dengan menekan Ctrl+X, dan Tekan Y untuk yes
dan tekan Enter
Selanjutnya restart service IP Address dengan perintah:
SMK TI Cokroaminoto Kotamobagu
ICT Center Kotamobagu Created : Rianda Paputungan, ST Page 3
KONFIGURASI PADA PC CLIENT
Setelah Konfigurasi IP Address server, kita akan melakukan konfigurasi IP Address untuk
Client agar supaya antara client dan server bias terhubung/terkoneksi. Langkah-
langkahnya yaitu :
a) Klik Control Panel
b) Klik Kanan Pada VirtualBox Host-Only Network, Pilih Properties
c) Selanjutnya untuk koneksi network pilih Internet Protocol Version 4 (TCP/IPv4)
, lalu klik properties. Setelah itu konfigurasi IP Address untuk Client yaitu :
IP Address : 192.168.100.2
Subnetmask : 255.255.255.0
Gateway : 192.168.100.1
Prefered DNS : 192.168.100.1
SMK TI Cokroaminoto Kotamobagu
ICT Center Kotamobagu Created : Rianda Paputungan, ST Page 4
UJI KONEKSI SERVER DAN CLIENT
Gunakan perintah ping dari PC Server “ping 192.168.100.2” ke PC Client dengan perintah :
Dan hasilnya menjadi seperti dibawah ini
Dari perintah di atas menyatakan kalau koneksi dari server ke client berhasil.