root@debian:~# apt-get install dhcp3-server
Tempat setting
root@debian:~# nano /etc/dhcp/dhcpd.conf
Kira-kira isinya sebagai berikut:
ddns-update-style none;
option domain-name "example.org";
#option domain-name-servers 145.253.2.75, 193.174.32.18;
option domain-name-servers ns1.example.org, ns2.example.org;
default-lease-time 86400;
max-lease-time 604800;
authoritative;
subnet 192.168.10.0 netmask 255.255.255.0 {
range 192.168.10.200 192.168.10.229;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.10.255;
option routers 192.168.0.15;
}Kemudian restart DHCP server
root@debian:/etc/dhcp# /etc/init.d/isc-dhcp-server restart
Tidak ada komentar:
Posting Komentar