Setting DHCP Debian

1. Install dhcp

# apt-get install dhcp3-server

2. edit seperti ini dan hilangkan tanda (#) di dhcp.conf :
# pico /etc/dhcp3/dhcp.conf

cari text ;

# A slightly different configuration for an internal subnet.
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.1 192.168.1.4;
range 192.168.1.6 192.168.1.154;
option domain-name-servers 192.168.123.13;
option domain-name “sayko.com”;
option routers 192.168.1.5;
option broadcast-address 192.168.1.255;
default-lease-time 600;
max-lease-time 7200;
}

> Restart dhcp: # /etc/init.d/dhcp3-server restart

> Dan setting client dg ip dhcp.