Bug 443517 - dhcp fails to start service
dhcp fails to start service
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: dhcp (Show other bugs)
8
i686 Linux
low Severity medium
: ---
: ---
Assigned To: David Cantrell
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-21 18:35 EDT by Tim McConnell
Modified: 2008-04-21 18:48 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-04-21 18:48:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
dhcp.conf file (1.13 KB, text/plain)
2008-04-21 18:35 EDT, Tim McConnell
no flags Details

  None (edit)
Description Tim McConnell 2008-04-21 18:35:06 EDT
Description of problem:
Attempting to create DHCP server set up for PXE server. type command service
dhcpd start and it fails. 

Version-Release number of selected component (if applicable):
Internet Systems Consortium DHCP Server V3.0.6-Fedora

How reproducible:
attempt to launch DHCP with enclosed .conf file 

Steps to Reproduce:
1.
2.
3.
  
Actual results:
Apr 21 15:50:58 localhost dhcpd: 
Apr 21 15:50:58 localhost dhcpd: ** You must add a global ddns-update-style
statement to /etc/dhcpd.conf.
Apr 21 15:50:58 localhost dhcpd:    To get the same behaviour as in 3.0b2pl11
and previous
Apr 21 15:50:58 localhost dhcpd:    versions, add a line that says
"ddns-update-style ad-hoc;"
Apr 21 15:50:58 localhost dhcpd:    Please read the dhcpd.conf manual page for
more information. **
Apr 21 15:50:58 localhost dhcpd: 
Apr 21 15:50:58 localhost dhcpd: This version of ISC DHCP is based on the
release available
Apr 21 15:50:58 localhost dhcpd: on ftp.isc.org.  Features have been added and
other changes
Apr 21 15:50:58 localhost dhcpd: have been made to the base software release in
order to make
Apr 21 15:50:58 localhost dhcpd: it work better with this distribution.
Apr 21 15:50:58 localhost dhcpd: 
Apr 21 15:50:58 localhost dhcpd: Please report for this software via the Red Hat
Bugzilla site:
Apr 21 15:50:58 localhost dhcpd:     http://bugzilla.redhat.com
Apr 21 15:50:58 localhost dhcpd: 
Apr 21 15:50:58 localhost dhcpd: exiting.
Apr 21 16:10:08 localhost dhcpd: Internet Systems Consortium DHCP Server
V3.0.6-Fedora
Apr 21 16:10:08 localhost dhcpd: Copyright 2004-2007 Internet Systems Consortium.
Apr 21 16:10:08 localhost dhcpd: All rights reserved.
Apr 21 16:10:08 localhost dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Apr 21 16:10:08 localhost dhcpd: /etc/dhcpd.conf line 25: subnet 192.168.20.2
netmask 255.255.255.0: bad subnet number/mask combination.
Apr 21 16:10:08 localhost dhcpd: subnet 192.168.20.2 netmask 255.255.255.0 
Apr 21 16:10:08 localhost dhcpd:                                         ^
Apr 21 16:10:08 localhost dhcpd: /etc/dhcpd.conf line 32: subnet 192.168.2.64
netmask 255.255.255.0: bad subnet number/mask combination.
Apr 21 16:10:08 localhost dhcpd: subnet 192.168.2.64 netmask 255.255.255.0 
Apr 21 16:10:08 localhost dhcpd:                                         ^
Apr 21 16:10:08 localhost dhcpd: Configuration file errors encountered -- exiting
Apr 21 16:10:08 localhost dhcpd: 
Apr 21 16:10:08 localhost dhcpd: This version of ISC DHCP is based on the
release available
Apr 21 16:10:08 localhost dhcpd: on ftp.isc.org.  Features have been added and
other changes
Apr 21 16:10:08 localhost dhcpd: have been made to the base software release in
order to make
Apr 21 16:10:08 localhost dhcpd: it work better with this distribution.
Apr 21 16:10:08 localhost dhcpd: 
Apr 21 16:10:08 localhost dhcpd: Please report for this software via the Red Hat
Bugzilla site:
Apr 21 16:10:08 localhost dhcpd:     http://bugzilla.redhat.com
Apr 21 16:10:08 localhost dhcpd: 
Apr 21 16:10:08 localhost dhcpd: exiting.
Apr 21 16:25:54 localhost dhcpd: Internet Systems Consortium DHCP Server
V3.0.6-Fedora
Apr 21 16:25:54 localhost dhcpd: Copyright 2004-2007 Internet Systems Consortium.
Apr 21 16:25:54 localhost dhcpd: All rights reserved.
Apr 21 16:25:54 localhost dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Apr 21 16:25:54 localhost dhcpd: /etc/dhcpd.conf line 25: subnet 192.168.20.2
netmask 255.255.255.0: bad subnet number/mask combination.
Apr 21 16:25:54 localhost dhcpd: subnet 192.168.20.2 netmask 255.255.255.0 
Apr 21 16:25:54 localhost dhcpd:                                         ^
Apr 21 16:25:54 localhost dhcpd: /etc/dhcpd.conf line 32: subnet 192.168.2.64
netmask 255.255.255.0: bad subnet number/mask combination.
Apr 21 16:25:54 localhost dhcpd: subnet 192.168.2.64 netmask 255.255.255.0 
Apr 21 16:25:54 localhost dhcpd:                                         ^
Apr 21 16:25:54 localhost dhcpd: Configuration file errors encountered -- exiting
Apr 21 16:25:54 localhost dhcpd: 
Apr 21 16:25:54 localhost dhcpd: This version of ISC DHCP is based on the
release available
Apr 21 16:25:54 localhost dhcpd: on ftp.isc.org.  Features have been added and
other changes
Apr 21 16:25:54 localhost dhcpd: have been made to the base software release in
order to make
Apr 21 16:25:54 localhost dhcpd: it work better with this distribution.
Apr 21 16:25:54 localhost dhcpd: 
Apr 21 16:25:54 localhost dhcpd: Please report for this software via the Red Hat
Bugzilla site:
Apr 21 16:25:54 localhost dhcpd:     http://bugzilla.redhat.com
Apr 21 16:25:54 localhost dhcpd: 
Apr 21 16:25:54 localhost dhcpd: exiting.


Expected results: DHCP to start 


Additional info:
Comment 1 Tim McConnell 2008-04-21 18:35:06 EDT
Created attachment 303225 [details]
dhcp.conf file
Comment 2 David Cantrell 2008-04-21 18:48:46 EDT
Your last two subnet blocks make no sense.  You can't have a subnet that is one IP and a netmask 
specification of 255.255.255.0 (for a subnet of 1 host, your netmask should be 255.255.255.255, but 
then that doesn't make sense...you should use a host specification to define a single host).  See the 
dhcpd.conf man page as well as /usr/share/doc/dhcp-*/dhcpd.conf.sample for more details.

Note You need to log in before you can comment on or make changes to this bug.