Help answer threads with 0 replies.
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 12-11-2012, 09:02 AM   #1
LQ Newbie
Registered: Dec 2012
Posts: 1

Rep: Reputation: Disabled
dhcp server is not staring on eth1 interface

i am trying to start dhcp server on my linux system which contains two nic cards. when i started it using the command "/sbin/etc/service dhcpd start" it started properly but in /var/log/messages file i can see error the message

"No subnet declaration for eth1 (** Ignoring requests on eth1. If this is not what you want, please write a subnet declaration in your dhcpd.conf file for the network segmentto which interface eth1 is attached. **"

and my etc/dhcpd.conf file contents are

ddns-update-style none;
subnet netmask {
subnet netmask {
option routers;
option subnet-mask;
option bootfile-name "include ftp://ng3600reg9:tigris@";
default-lease-time 0;
max-lease-time 0;


pleas help me on this issue
Old 12-11-2012, 05:01 PM   #2
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905
I don't see anything about your config file that looks wrong (although I suggest posting stuff like that and source code in [CODE] [/CODE] tags to preserve readability). What happens if you swap the postions of the two subnet stanzas within the file? Does the server actually work correctly? Are you sure the error message is current, and not from some prior configuration? It might be helpful to post the details of your software & version.

--- rod.
Old 12-11-2012, 05:28 PM   #3
Registered: Aug 2002
Posts: 13,467

Rep: Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108
Welcome to LinuxQuestions.

What linux distribution/version are you running?

You need to specify the interface in the dhcpd.conf file by adding dhcdpargs=eth1 or eth0 i.e. whatever adapter is attached to your local LAN. If your network is more complicated please post the details.


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
How to set a route for Eth1 (DHCP clients) to reach Tun0 (openvpn server)? CentOS torontob Linux - Networking 2 09-22-2010 01:14 AM
eth1 interface doesnt start automatically ubuntu server 9.04 Person_1873 Linux - Networking 10 12-20-2009 08:19 AM
[SOLVED] Linux Router: Iptables rules and dhcp server on eth1 Sum1 Linux - Networking 5 09-25-2009 04:05 AM
dhcp server - can't figure out dhclient.conf for eth1 JoeBleaux Debian 1 04-06-2009 06:13 PM
DHCP Server, interface issue graciejj_82 Linux - Networking 1 09-07-2006 05:48 AM

All times are GMT -5. The time now is 07:57 AM.

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