LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-13-2008, 04:53 AM   #1
kashif2131971
Member
 
Registered: Mar 2008
Posts: 60

Rep: Reputation: 16
problem starting dhcp server


i have fedora 4 when i start service dhcpd the following error:
no subnet declaration for start (0.0.0.)
**ignoring requestings on start. if this is not what you want, please write a subnet declaration in your dhcpd.conf for the network segment to which interface start is attached**
my server ip is 172.16.1.1

ddns-update-style interim;
ignore client-updates;

subnet 172.16.0.0 netmask 255.255.0.0 {
# --- default gateway
option routers 172.16.1.1;
option subnet-mask 255.255.0.0;

# option nis-domain "domain.org";
# option domain-name "domain.org";
# option domain-name-servers 192.168.1.1;

option time-offset -18000; # Eastern Standard Time
# option ntp-servers 192.168.1.1;
# option netbios-name-servers 192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
# option netbios-node-type 2;

range dynamic-bootp 172.16.1.20 172.16.1.40;
default-lease-time 21600;
max-lease-time 43200;

# we want the nameserver to appear at a fixed address
host ns {
next-server marvin.redhat.com;
hardware ethernet 12:34:56:78:AB:CD;
fixed-address 207.175.42.254;
}
}
 
Old 04-13-2008, 11:16 PM   #2
armanox
Member
 
Registered: Sep 2005
Location: Baltimore, MD, USA
Distribution: Fedora, Gentoo, Debian, Slackware, IRIX, OS X
Posts: 192

Rep: Reputation: 32
Hmm....is the DHCP server listed in the config file (I'm not going to assume anything). Also, check to see if /etc/hosts is configured to reflect the DHCP system correctly as well (hostname does not appear on the same line as localhost or 127.0.0.1, appears at address that it is in DHCP config).
 
Old 04-14-2008, 12:27 AM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Why do you have the nameserver declatration there? It's not on you server subnet (nor is it yours by the look of things)

Also, why

subnet 172.16.0.0 netmask 255.255.0.0 {

and not

subnet 172.16.1.0 netmask 255.255.255.0 {

Last edited by billymayday; 04-14-2008 at 12:29 AM.
 
  


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
DHCP server not starting Eniac Linux - Server 3 10-30-2007 03:39 AM
DHCP Server not starting - FC6 titel Linux - Networking 8 12-12-2006 07:53 AM
Starting my DHCP server at bootup nine Linux - Newbie 4 01-16-2001 09:41 AM


All times are GMT -5. The time now is 08:40 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration