Konfigurasi DHCP Server Pada DEBIAN

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 berwarna merah 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 "situstkj.co.cc";
option domain-name-servers antoro.situstkj.co.cc;

# 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:




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" bytes="32" ttl="64" bytes="32" ttl="64" bytes="32" time="1ms" ttl="64" sent =" 4," received =" 4," lost =" 0" minimum =" 0ms," maximum =" 1ms," average =" 0ms">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.




sumber:situstkj.co.cc

Category:

Tidak ada komentar:

Posting Komentar