LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Unable to start DHCP server (http://www.linuxquestions.org/questions/linux-networking-3/unable-to-start-dhcp-server-457927/)

krytenuk1971 06-24-2006 04:21 PM

Unable to start DHCP server
 
Hi,

I am trying to set up my RH9 machine as a DHCP server for my winxp boxes. I have created a basic dhcp.conf file (see below) and attempted to start the dhcp service with service dhcp start, but nothing happens, no error messages, nothing. Interface eth0 is set up with a static IP address 192.168.0.1.

My dhcp.conf

ddns-update-style interim;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.250;
default-lease-time 86400;
max-lease-time 86400;
option routers 192.168.0.1;
option ip-fowarding off;
option broadcast-address 192.168.0.255;
option subnet-mask 255.255.255.0;
option nntp-server 192.168.0.1;
option netbios-name-servers 192.168.0.1;
}

Any ideas anyone?

Kind Regards,
Garry.

bathory 06-24-2006 06:03 PM

Did you create the dhcpd.leases file? If not, run:
Code:

touch /var/lib/dhcp/dhcpd.leases

krytenuk1971 06-25-2006 04:44 PM

Yes I did create the leases file and doubled checked it was there.

Thanks,
Garry.


All times are GMT -5. The time now is 05:11 AM.