, ,

To set up DHCP on Debian, we first need to install the dhcp server package.

apt-get install dhcp3-server


After the package is sucessfully installed,we can now proceed to configure the configuration files.

open up /etc/dhcp/dhcpd.conf

To add a scope, add the following lines

subnet netmask {


  option broadcast-address;

  option routers;

  option domain-name-servers;

  option domain-name “wssX.local”;

  default-lease-time 3600;



To reserve static ip addresses for certain machines, add the following lines

host statichost {

  hardware ethernet 12:34:56:78:90:AB;




Save and exit the text editor.

Restart the DHCP service.

service isc-dhcp-server restart


Connect a client to the network and verify if the DHCP server is working.