Wanted to set up dhcp so that I had more granular control since my router kept screwing up and giving the same IP to different hosts.
On Ubuntu 6, I just installed it:
apt-get install dhcp3-server
Then edited the /etc/dhcp3/dhcpd.conf (ddns-update-style was initially set to none):
ddns-update-style interim;
option domain-name “shocknetwork.com”;
option domain-name-servers chunli.shocknetwork.com, resolver1.opendns.com;
default-lease-time 600;
max-lease-time 7200;
log-facility local7;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.200;
option domain-name-servers chunli.shocknetwork.com, resolver1.opendns.com;
option domain-name “shocknetwork.com”;
option routers 192.168.0.1;
option broadcast-address 192.168.0.3;
default-lease-time 600;
max-lease-time 7200;
}
[ad#ad-1]