Setup DHCP server

5 minute setup

log as root

Code: Select all
apt-get install dhcp3-server
nano /etc/dhcp3/dhcpd.conf
Code: Select all
option subnet-mask 255.255.255.0;
default-lease-time 6000;
max-lease-time 72000;

subnet 192.168.44.0 netmask 255.255.255.0 {
option broadcast-address 192.168.44.255;
option routers 192.168.44.5;
range 192.168.44.32 192.168.44.196;
option domain-name-servers 192.168.44.1;
}

Restart the DHCP Server

Code: Select all
sudo /etc/init.d/dhcp3-server restart

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: