Ubuntu DHCP Server

To install DHCP server from scratch
apt-get install dhcp3-server
When it installs you will see that it had a problem. Don't worry about this failure, we will fix it. I recommend before we make any changes that we do a backup of the config file.
cd /etc/dhcp3
mv dhcpd.conf dhcpd.conf.bak
nano dhcpd.conf
Here is some sample code for the DHCP configuration
# Sample /etc/dhcpd.conf
# (add your comments here) 
default-lease-time 600;
max-lease-time 7200;
option subnet-mask;
option broadcast-address;
option routers;
option domain-name-servers;
option domain-name "gressick.local";

subnet netmask {
For more information on this read from Ubuntu link Ubuntu DHCP3

if you want to install and LDAP version
apt-get install dhcp3-server-ldap
If you want to install the VERY light version of DHCP
apt-get install udhcpd


Popular posts from this blog

Console over SSH (ONTAP)

Brocade Zone Setup

vFoglight Purge Stale Objects (Groovy Script)