Install DHCP
$ sudo apt-get install dhcp3-server
Edit setting di file dhcpd.conf
$ sudo gedit /etc/dhcp/dhcpd.conf
cari setting di bagian
#slightly different configuration for an internal subnet
# A slightly different configuration for an internal subnet.
subnet 192.168.2.0 netmask 255.255.255.0 {
range 192.168.2.1 192.168.2.30;
option domain-name-servers 202.155.0.10,202.155.0.15;
option domain-name “kelompok2.com”;
option routers 192.168.2.1;
option broadcast-address 192.168.2.255;
default-lease-time 600;
max-lease-time 7200;
}
==> save
Restart DHCP
$ sudo service isc-dhcp-server restart