dhcpd server failed

Paul Howarth paul at city-fan.org
Tue Mar 15 15:53:43 UTC 2005


Mark Sargent wrote:
> **Hi All,
> 
> I installed dhcpd via yum. Then configured via webmin. Got the following 
> error when starting dhcpd. I got it even after adding the line it 
> suggested, to /etc/dhcpd.conf as below,
> 
> # tanashihome
> subnet 192.168.1.0 netmask 255.255.255.0 {
> ddns-updates on;
> range 192.168.1.3 192.168.1.10;
> ddns-update-style ad-hoc;
> }
> 
> dhcpd failed. The error was: Starting dhcpd: Internet Systems Consortium 
> DHCP Server V3.0.1
> Copyright 2004 Internet Systems Consortium.
> All rights reserved.
> For info, please visit »www.isc.org/sw/dhcp/ <http://www.isc.org/sw/dhcp/>
> 
> ** You must add a ddns-update-style statement to /etc/dhcpd.conf.
> To get the same behaviour as in 3.0b2pl11 and previous
> versions, add a line that says "ddns-update-style ad-hoc;"
> Please read the dhcpd.conf manual page for more information. **
> 
> If you did not get this software from ftp.isc.org, please
> get the latest from ftp.isc.org and install that before
> requesting help.
> 
> If you did get this software from ftp.isc.org and have not
> yet read the README, please read it before requesting help.
> If you intend to request help from the dhcp-server at isc.org
> mailing list, please read the section on the README about
> submitting bug reports and requests for help.
> 
> Please do not under any circumstances send requests for
> help directly to the authors of this software - please
> send them to the appropriate mailing list as described in
> the README file.
> 
> exiting.
> [FAILED]
> 
> Have I missed something fundamental.? Bet I have. Cheers.

Try adding it outside the subnet grouping. For example, here's what mine 
looks like:

default-lease-time 172400;
max-lease-time 604800;
ddns-update-style none;
authoritative;

subnet 192.168.2.0 netmask 255.255.255.0 {
         range 192.168.2.20 192.168.2.31;
         option domain-name-servers 192.168.2.11, 192.168.2.1;
         option subnet-mask 255.255.255.0;
         option broadcast-address 192.168.2.255;
         option domain-name "intra.city-fan.org";
         option routers 192.168.2.11;
}

Paul.




More information about the fedora-list mailing list