Article 6JQ5P No subnet declaration for eth0 (no IPv4 addresses).

No subnet declaration for eth0 (no IPv4 addresses).

by
mfoley
from LinuxQuestions.org on (#6JQ5P)
I'm running dhcpd on Slackware 15.0. I get the following message in syslog:
Code:Feb 16 19:24:59 mail dhcpd: No subnet declaration for eth0 (no IPv4 addresses).
Feb 16 19:24:59 mail dhcpd: ** Ignoring requests on eth0. If this is not what
Feb 16 19:24:59 mail dhcpd: you want, please write a subnet declaration
Feb 16 19:24:59 mail dhcpd: in your dhcpd.conf file for the network segment
Feb 16 19:24:59 mail dhcpd: to which interface eth0 is attached. **
Feb 16 19:24:59 mail dhcpd:
Feb 16 19:24:59 mail dhcpd: Not configured to listen on any interfaces!My subnet declaration in /etc/dhcpd.conf is:
Code:authoritative;

zone hprs.local. { primary 192.168.0.2; }
zone 0.168.192.in-addr.arpa. { primary 192.168.0.2; }

subnet 192.168.0.0 netmask 255.255.255.0 {
option routers 192.168.0.1;
range 192.168.0.100 192.168.0.254;
option domain-name-servers 192.168.0.2;
option domain-name "hprs.local";
ddns-domainname = "hprs.local.";
ddns-rev-domainname = "in-addr.arpa.";
}dhcpd works fine on this network, so what is this error about?

I've found plenty of Internet postings on this but no actual explanation.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments