Non-authoritative version of DHCP server OK
# pico /etc/dhcp3/dhcpd.conf
# option definitions common to all supported networks…
# option domain-name “boboho95.co.ccc”;
# option domain-name-servers tkj.boboho95.co.c;
# 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 192.168.0.0 netmask 255.255.255.240 {
range 192.168.0.1 192.168.0.14;
option domain-name-servers 192.168.0.2;
option domain-name “boboho95.co.cc”;
option routers 192.168.0.2;
option broadcast-address 192.168.0.15;
default-lease-time 600;
max-lease-time 7200;
}
# reboot
Sambil menunggu komputer server hidup kembali. Ubah setting TCP/IP di client windows menjadi :
Obtain an IP address automatically
Obtain DNS server address automatically
Kemudian ping dari Command Prompt dari komputer server, ping nama domain dan juga IP server. Jika muncul reply berarti konfigurasi DNS dan DHCP berhasil…. Selamat…. Good Bye….JJJ
0 komentar:
Posting Komentar