LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 10-26-2004, 11:51 AM   #1
gsgleason
Member
 
Registered: Oct 2004
Posts: 69

Rep: Reputation: 15
what's wrong with this dhcpd.conf?


here's my dhcpd.conf file. when I include lots of paramaters and try to start my dhcp server, it doesn't start. if I remove most of this then it will. after reading the man page for dhcpd.conf, I see nothing wrong with this. Please help.
Quote:

ddns-update-style none;
default-lease-time 3600;
max-lease-time 7200;
subnet 10.10.10.0 netmask 255.255.255.240
{
option routers 10.10.10.1;

# unknown client pool
pool
{
range 10.10.10.10 10.10.10.14;
option subnet-mask 255.255.255.240;
option broadcast-address 10.10.10.15;
option domain-name-servers 10.10.10.6, 132.194.10.3;
allow unknown-clients;
}

# known client pool
pool
{
range 10.10.10.2 10.10.10.9;
option subnet-mask 255.255.255.240;
option broadcast-address 10.10.10.15;
option domain-name-servers 10.10.10.6, 132.194.10.3;
option domain-name "mydomain.com";
deny unknown-clients;
}
}
group
{
use-host-decl-names on;
host slackbox
{
hardware ethernet 00:06:29:F1:40:9E;
fixed-address 10.10.10.6;
}
host gregory
{
hardware ethernet 00:50:70:62:0e:47
fixed-address 10.10.10.2
}
host gregxbox
{
hardware ethernet 00:50:F2:C0:25:1A
fixed-address 10.10.10.3
}
}

Last edited by gsgleason; 10-26-2004 at 12:32 PM.
 
Old 10-26-2004, 12:35 PM   #2
Homer Jay
LQ Newbie
 
Registered: Dec 2003
Location: Berlin/Germany
Distribution: Debian
Posts: 22

Rep: Reputation: 15
Have you tried to run

Code:
tail -f /var/log/syslog
while starting dhcpd?
 
Old 10-26-2004, 12:37 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
can't see anything offhand, but any chance of an error message? we're not psychic....
 
Old 10-26-2004, 12:55 PM   #4
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
You're missing the ending semi-colons in the following host declarations. i.e. hardware/fixed-adress
Code:
host gregory
{
hardware ethernet 00:50:70:62:0e:47
fixed-address 10.10.10.2
}
host gregxbox
{
hardware ethernet 00:50:F2:C0:25:1A
fixed-address 10.10.10.3
}
 
Old 10-26-2004, 12:57 PM   #5
gsgleason
Member
 
Registered: Oct 2004
Posts: 69

Original Poster
Rep: Reputation: 15
yeah that was it! thanks. I guess I just needed a resh set of eyes. Thanks a lot for the help....on to qmail..
 
  


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
dhcpd wrong ip lease? del_gr Linux - Newbie 6 10-24-2006 10:58 AM
dhcpd subnet declaration problems in dhcpd.conf vcrispo Linux - Networking 6 07-15-2005 10:32 AM
Wrong netmask for dhcpd ? michaelsanford Linux - Networking 3 05-11-2005 10:15 AM
dhcp.conf or dhcpd.conf? rogerbennett Linux - Networking 3 09-03-2003 12:25 PM
dhcpd.master or dhcpd.conf rickg Linux - Networking 0 04-11-2002 03:34 PM


All times are GMT -5. The time now is 07:15 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