LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   my DHCP is not running (https://www.linuxquestions.org/questions/linux-networking-3/my-dhcp-is-not-running-750823/)

sayry 08-28-2009 04:26 AM

my DHCP is not running
 
HI

Ive installed fedora 8 and wanted to DHCP server running. So ive installed dhcp using "yum install dhcp"
After installing, ive configured my dhcpd.conf, created touch /var/lib/dhcp/dhcpd.leases
i activate it on boot using chkconfig dhcpd on but when i start the service, it failed.
I have test if my DHCP process is running using pgrep dhcpd but it outputs nothing. as i know, i should output some process ID but in my case, its nothing.

here is my dhcpd.conf file:

ddns-update-style none;

option domain-name-servers 145.253.2.75, 193.174.32.18;

default-lease-time 86400;
max-lease-time 604800;

authoritative;

subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.200 192.168.0.229;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}



Please help me.

fordeck 08-28-2009 06:49 AM

Have you tried testing the config file for errors with the following command:

/etc/rc.d/init.d/dhcpd configtest


Regards,

Fordeck


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