4.1.0 bug? Fedora bug? "No subnet declaration for eth0 (10.11.12.1)."

Chuck Anderson cra at WPI.EDU
Sat May 16 18:25:40 UTC 2009


I'm a veteran dhcp user here trying to configure 4.1.0 for the first 
time from scratch on Fedora 11.  Unless I missed something, this 
config file should work:

option domain-name "pvt";
option domain-name-servers 10.11.12.1;
default-lease-time 600;
max-lease-time 7200;
ddns-update-style none;
authoritative;
#log-facility local7;

filename "vmlinuz";
next-server 10.11.12.1;

subnet 10.11.12.0 netmask 255.255.255.0 {
	option subnet-mask 255.255.255.0;
	option broadcast-address 10.11.12.255;
	option routers 10.11.12.1;
	pool {
		range 10.11.12.127 10.11.12.254;
	}	  
}

Here is eth0 interface configuration:

eth0      Link encap:Ethernet  HWaddr 00:1E:37:18:B2:6D  
          inet addr:10.11.12.1  Bcast:10.11.12.255  Mask:255.255.255.0
          inet6 addr: fe80::21e:37ff:fe18:b26d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2286226 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1353637 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:2717713957 (2.5 GiB)  TX bytes:90141218 (85.9 MiB)
          Memory:fe000000-fe020000 

When I manually start the server I get the dreaded "No subnet 
declaration for eth0 (10.11.12.1)." message:

#/usr/sbin/dhcpd eth0
Internet Systems Consortium DHCP Server 4.1.0
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were 
not specified in the config file
Wrote 0 leases to leases file.

No subnet declaration for eth0 (10.11.12.1).
** Ignoring requests on eth0.  If this is not what
   you want, please write a subnet declaration
   in your dhcpd.conf file for the network segment
   to which interface eth0 is attached. **


Not configured to listen on any interfaces!

This version of ISC DHCP is based on the release available
on ftp.isc.org.  Features have been added and other changes
have been made to the base software release in order to make
it work better with this distribution.

Please report for this software via the Red Hat Bugzilla site:
    http://bugzilla.redhat.com

exiting.


Did I miss something, or is there a bug here?

Thanks.




More information about the dhcp-users mailing list