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:
Created attachment 303225 [details] dhcp.conf file
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.