aptitude install isc-dhcp-server
/etc/dhcp/dhcpd.conf の設定をする。 192.168.1.10~50のIPを割り振る場合の設定
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.10.50;
option domain-name-servers 192.168.1.1;
option domain-name "local";
option routers 192.168.1.1;
option broadcast-address 192.168.1.255;
default-lease-time 600;
max-lease-time 7200;
}
chkconfig isc-dhcp-server on
※chkconfig がなければインストールする
aptitude install chkconfig