LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 07-17-2010, 09:31 AM   #1
johnxcitizen
LQ Newbie
 
Registered: Aug 2009
Posts: 13

Rep: Reputation: 0
dhcpd3: no subnet declarations for eth0


Running on Debian Lenny, installed dhcpd with apt-get install dhcp3-server.
Machine has two NICs: 192.168.1.1/24 and 10.100.1.17/24.

My /etc/dhcpd.conf:
DHCPDARGS=eth0

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.200;
option routers 192.168.1.1;
default-lease-time 86400;
max-lease-time 86400;
}

subnet 10.100.1.0 netmask 255.255.255.0 {
}


Trying to start dhcpd reports "no subnet declaration for eth0 (192.168.1.1)" and "no subnet declaration for eth1 (10.100.1.17)".

Is dhcpd using /etc/dhcpd.conf, or do I have the wrong config file? If it's right, why is this failing?
 
Old 07-17-2010, 01:13 PM   #2
Hidden Windshield
Member
 
Registered: Jul 2010
Distribution: Lubuntu Lucid Lynx
Posts: 55

Rep: Reputation: 26
In my version of dhcpd, the config file is "/etc/dhcp/dhcpd.conf". The man page for dhcpd should tell you for sure.
 
Old 07-17-2010, 07:35 PM   #3
johnxcitizen
LQ Newbie
 
Registered: Aug 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Thank you

My real dhcpd.conf was in /etc/dhcp3/. Anyone else with this problem can use "find / -name dhcpd.conf" to find it. Thank you.
 
  


Reply

Tags
debian, dhcpd, dhcpdconf, lenny


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No subnet declaration for eth0 when runnig dhcpd nicolaus Linux - Networking 3 02-16-2013 06:49 AM
Can't start dhcpd3!!! ruddyrum Linux - Networking 2 08-07-2009 11:17 AM
How to get list or count of unleased ips from dhcpd3? matiasquestions Linux - Networking 2 07-24-2008 02:57 AM
ignoring dhcp requests on eth0 and wlan0 define subnet mask? Person_1873 Linux - Server 1 12-15-2007 05:58 AM
No subnet declaration for eth0 jakobsg Linux - Networking 6 09-04-2006 11:52 AM


All times are GMT -5. The time now is 05:51 PM.

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