LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-14-2010, 08:05 AM   #1
Ashish Sood
Member
 
Registered: Feb 2009
Location: Gwalior
Distribution: Fedora 15 Now
Posts: 152

Rep: Reputation: 15
dhcpd service fail to start


my dhcpd service get failed every time when i try to start it

1) actually i have a lan connection which has a static ip network 192.168.10.0/24 and the pc to which is using the dhcpd has a ip address 192.168.10.1/24

2) And i have a internet connection wirelessly which has a network 192.168.2.0/24

now i want to problem ip address in the network of 192.168.10.0/24


here below is the configuration file of dhcp server
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#

# option definitions common to all supported networks...
option domain-name "example.org";
option domain-name-servers ns1.example.org, ns2.example.org;


# Use this to enble / disable dynamic dns updates globally.
#ddns-update-style none;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;

# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.

subnet 192.168.10.0 netmask 255.255.255.0 {
}



# which we don't really recommend.

subnet 192.168.10.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.10.1 192.168.10.20;
default-lease-time 600;
max-lease-time 7200;
}

Last edited by Ashish Sood; 03-14-2010 at 08:07 AM.
 
Old 03-14-2010, 08:09 AM   #2
Ashish Sood
Member
 
Registered: Feb 2009
Location: Gwalior
Distribution: Fedora 15 Now
Posts: 152

Original Poster
Rep: Reputation: 15
this is the log file /var/log/messages

Mar 14 18:37:13 client dhcpd: Internet Systems Consortium DHCP Server 4.1.1
Mar 14 18:37:13 client dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Mar 14 18:37:13 client dhcpd: All rights reserved.
Mar 14 18:37:13 client dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Mar 14 18:37:13 client dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Mar 14 18:37:13 client dhcpd: Wrote 0 leases to leases file.
Mar 14 18:37:13 client dhcpd:
Mar 14 18:37:13 client dhcpd: No subnet declaration for wlan0 (192.168.2.145).
Mar 14 18:37:13 client dhcpd: ** Ignoring requests on wlan0. If this is not what
Mar 14 18:37:13 client dhcpd: you want, please write a subnet declaration
Mar 14 18:37:13 client dhcpd: in your dhcpd.conf file for the network segment
Mar 14 18:37:13 client dhcpd: to which interface wlan0 is attached. **
Mar 14 18:37:13 client dhcpd:
Mar 14 18:37:13 client dhcpd:
Mar 14 18:37:13 client dhcpd: No subnet declaration for eth0 (192.168.10.1).
Mar 14 18:37:13 client dhcpd: ** Ignoring requests on eth0. If this is not what
Mar 14 18:37:13 client dhcpd: you want, please write a subnet declaration
Mar 14 18:37:13 client dhcpd: in your dhcpd.conf file for the network segment
Mar 14 18:37:13 client dhcpd: to which interface eth0 is attached. **
Mar 14 18:37:13 client dhcpd:
Mar 14 18:37:13 client dhcpd:
Mar 14 18:37:13 client dhcpd: Not configured to listen on any interfaces!
Mar 14 18:37:13 client dhcpd:
Mar 14 18:37:13 client dhcpd: This version of ISC DHCP is based on the release available
Mar 14 18:37:13 client dhcpd: on ftp.isc.org. Features have been added and other changes
Mar 14 18:37:13 client dhcpd: have been made to the base software release in order to make
Mar 14 18:37:13 client dhcpd: it work better with this distribution.
Mar 14 18:37:13 client dhcpd:
Mar 14 18:37:13 client dhcpd: Please report for this software via the Red Hat Bugzilla site:
Mar 14 18:37:13 client dhcpd: http://bugzilla.redhat.com
Mar 14 18:37:13 client dhcpd:
Mar 14 18:37:13 client dhcpd: exiting.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcpd service keeps failing in CentOS 5.4 linux_newb Linux - Networking 2 01-21-2010 10:52 AM
set dhcpd to start as service Allie Linux - Newbie 5 08-14-2009 02:12 AM
dhcpd service problem divyashree Linux - Newbie 6 03-26-2009 12:18 PM
xinetd FAIL imaps service limit from m2azer Linux - Newbie 3 03-13-2008 04:06 PM
How to make TCP server a daemon / service much like a dhcpd service? rajat Linux - Networking 1 05-22-2007 01:29 AM


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