Monday, August 25, 2008

Installing and configuring DHCP on Debian

Step 1: Install DHCP package

aptitude install dhcp3-server

Step 2: Configure DHCP package

option domain-name "";
option domain-name-servers,;
option routers;
default-lease-time 3600;
subnet netmask {

#if you want to assign IP based on MAC address
host imran {
hardware ethernet 00:50:BA:82:DE:63;

Step 3: Restart

/etc/init.d/dhcp3-server restart

Further Docs

No comments: