LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 08-28-2009, 05:26 AM   #1
sayry
LQ Newbie
 
Registered: Aug 2009
Posts: 1
Thanked: 0
Exclamation my DHCP is not running


[Log in to get rid of this advertisement]
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.
windows_xp_2003 sayry is offline  
Tag This Post , , ,
Reply With Quote
Old 08-28-2009, 07:49 AM   #2
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 367
Thanked: 11
Have you tried testing the config file for errors with the following command:

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


Regards,

Fordeck
linuxubuntu fordeck is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 09:38 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration