LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 08-28-2009, 05:26 AM   #1
sayry
LQ Newbie
 
Registered: Aug 2009
Posts: 1

Rep: Reputation: 0
Exclamation 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.
 
Old 08-28-2009, 07:49 AM   #2
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 520

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

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


Regards,

Fordeck
 
  


Reply

Tags
dhcp, running


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP leases running out without being renewed? TotalLinuxNoob Linux - Networking 1 05-01-2009 12:55 PM
DHCP running? maxsanders Linux - Networking 3 06-23-2007 12:53 PM
dhcp double running problem sacoskun Linux - Networking 2 01-17-2007 05:38 AM
running servers with DHCP??? wiredX Linux - Security 4 07-14-2003 05:01 AM
dhcp weird but running guanyu Linux - Networking 1 04-01-2003 03:46 PM


All times are GMT -5. The time now is 02:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration