Make your own free website on Tripod.com
Last updated Dec 20 2002
DHCP with ISC


Documentation

Server man pages:
dhcpd  -  the deamon
dhcpd.leases  -  server lease database
dhcpd.conf  -  deamon configuration file
dhcp-options  -  options to use in dhcpd.conf to send to clients

Client man pages:
dhclient
dhclient.conf
dhcp-options
dhclient-script
dhclient.leases

Relay Agent man page:
dhcrelay


Firewall rules:
If using a firewall, you must allow ports 67 & 68.
see readme for details

Article from Linux mag.

Clients "lease" an IP address for a certain amount of time (configurable)
Server tracks the lease in the file dhcpd.leases.  This is handy if the server reboots, it doesn't lose the lease information.
dhcpd.conf only gets read when the deamon starts.  If you make changes, restart the deamon.
When dhcpd loads it reads dhcpd.conf and dhcpd.leases so it knows which system already have which lease.

test the dhcpd.conf file
    # dhcpd -t

test the dhcpd.leases file
    # dhcpd -T

##dhcpd.conf
ddns-update-style none;
subnet 192.168.10.0 netmask 255.255.255.0 {
range 192.168.10.132 192.168.10.252;
default-lease-time 86400;
max-lease-time 259200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.10.255;
option routers 192.168.10.254;
option domain-name-servers 192.168.10.45, 192.168.10.254;
}

To add a wins server
option netbios-name-servers 192.168.10.50

600 = 10 minutes
7200 = 2 hrs
86400 = 1 day
604800 = 1 week


Index