This document outlines the installation and configuration of a DHCP server on a Debian Sarge system.
apt-get install dhcp
The following is an example configuration file
option domain-name "local.arnoth.net";
option domain-name-servers 68.87.75.194;
default-lease-time 600;
max-lease-time 7200;
subnet 10.0.1.0 netmask 255.255.255.0 {
range 10.0.1.50 10.0.1.110;
option broadcast-address 10.0.1.255;
option routers 10.0.1.10;
}
host backupsvr {
hardware ethernet 00:60:b0:7f:a9:26;
fixed-address 10.0.1.100;
}
The following command starts the dhcp service:
/etc/init.d/dhcp start