LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 06-24-2006, 03:21 PM   #1
krytenuk1971
LQ Newbie
 
Registered: Jun 2006
Posts: 2

Rep: Reputation: 0
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.
 
Old 06-24-2006, 05:03 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,910

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
Did you create the dhcpd.leases file? If not, run:
Code:
touch /var/lib/dhcp/dhcpd.leases
 
Old 06-25-2006, 03:44 PM   #3
krytenuk1971
LQ Newbie
 
Registered: Jun 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Yes I did create the leases file and doubled checked it was there.

Thanks,
Garry.
 
  


Reply


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
New to dhcp- can't get server to start- error mesgs. aquaboot Linux - Networking 4 09-22-2005 01:23 PM
router box - unable to configure DHCP server BrianNJ Linux - Networking 1 06-09-2004 07:11 AM
Unable to start XFree86 server on new dual monitor system gothgeek84 Linux - Hardware 1 02-21-2004 07:35 PM
unable to obtain ip address from dhcp server (Fedora Core 1) zero79 Linux - Hardware 5 11-15-2003 01:42 PM
XP Pro Build 2600/sp1 v.1105 DHCP Client to Redhat 8.0 DHCP Server - Problems atomant Linux - Networking 5 06-28-2003 11:24 AM


All times are GMT -5. The time now is 11:17 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration