Ads 468x60px

Thursday, April 5, 2012

Konfigurasi DHCP Server Debian Lenny

Sebelumnya, selamat bagi anda yang telah berhasil Mengkonfigurasi Proxy Server. Langkah terakhir yang akan kita lakukan adalah mengkonfigurasi DHCP Server.. Silahkan ikuti langkah berikut:


* Kata2 yang bercetak tebal adalah perintah yang dijalankan pada komputer server.
* Kata2 yang TEBAL adalah yang harus anda ubah atau buat.

1) apt-get install dhcp3-server
Non-authoritative version of DHCP server OK

2) pico /etc/dhcp3/dhcpd.conf
# option definitions common to all supported networks...
option domain-name "ahafed02.blogspot.com";
option domain-name-servers antoro.ahafed02.blogspot.com;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;

# A slightly different configuration for an internal subnet.
subnet 172.16.1.0 netmask 255.255.255.192 {
range 172.16.1.2 172.16.10.61;
option domain-name-servers 172.16.1.62;
option domain-name "situstkj.co.cc";
option routers 172.16.1.0;
option broadcast-address 172.16.1.63;
default-lease-time 600;
max-lease-time 7200;
}



* Untuk kata yang tidak saya cantumkan, jangan diubah/dihapus.




3) Reboot
4) Sambil menunggu komputer server hidup kembali. Ubah settingan TCP/IP di client windows menjadi Automatic.



5) Kemudian ping dari komp windows ke komp server.
C:\Users\antoro>ping 172.16.1.62
Pinging 172.16.1.62 with 32 bytes of data:
Reply from 172.16.1.62: bytes=32 time<1ms TTL=64 Reply from 172.16.1.62: bytes=32 time<1ms TTL=64 Reply from 172.16.1.62: bytes=32 time<1ms TTL=64 Reply from 172.16.1.62: bytes=32 time=1ms TTL=64 Ping statistics for 172.16.1.62: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 1ms, Average = 0ms C:\Users\antoro>ping 192.168.1.1
Pinging 192.168.1.1 with 32 bytes of data:
Reply from 192.168.1.1: bytes=32 time=1ms TTL=64
Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
6) Check mulai dari DNS, Web, Mail, Ftp, Proxy. Jika bisa, berarti konfigurasi anda berhasil.

semoga bermanfaat........

0 comments:

Post a Comment


Followers

visitor of state

like me on FaceBook