LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-17-2010, 10:31 AM   #1
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: and

My /etc/dhcpd.conf:

subnet netmask {
option routers;
default-lease-time 86400;
max-lease-time 86400;

subnet netmask {

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

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, 02:13 PM   #2
Hidden Windshield
Registered: Jul 2010
Distribution: Fedora
Posts: 65

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, 08:35 PM   #3
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.


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

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

All times are GMT -5. The time now is 06:55 PM.

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