Hi,
Here is an example of "/etc/dhcpd.conf"
Code:
# dhcpd.conf
#
# Configuration file for ISC dhcpd (see 'man dhcpd.conf')
#
ddns-update-style none;
default-lease-time 21600;
max-lease-time 21600;
server-name "your-server";
option subnet-mask 255.255.255.0;
option domain-name "your-domain";
shared-network WORKSTATIONS {
subnet 10.0.0.0 netmask 255.255.255.0 {
option broadcast-address 10.0.0.255;
option routers 10.0.0.254;
option domain-name-servers 10.0.0.254;
authoritative;
pool {
range 10.0.0.1 10.0.0.20;
}
}
}
In this example, our net is "10.0.0.0", mask is "255.255.255.0", the server has address "10.0.0.254" and it is the gateway and also the local dns server. It is leasing addresses in the range of 10.0.0.1 to 10.0.0.20.
All you have to edit is your server name and your domain. This dhcpd.conf is working on my gateway machine.
I hope this helps. May be, you have to replace all the occurrences of "10.0.0" with "192.168.0" which is the preferred default configuration for many distros.