Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 30298 - dhcp config error
dhcp config error
Product: Red Hat Linux
Classification: Retired
Component: dhcp (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Erik Troan
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-03-02 08:29 EST by Matthew Mahoney
Modified: 2007-04-18 12:31 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-03-02 08:29:08 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Matthew Mahoney 2001-03-02 08:29:00 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)

This is not a bug (I don't think) but I get an error when I try to start 
the DHCPD service.  I have looked for references in the RH 7 book but 
cannot find any.  It seems that whatever the line that is missing is not 
required in RH 6.  The error is:

No subnet declaration for eth0 (
Please write a subnet declaration for the network segment to whech 
interface eth0 is attached



Reproducible: Always
Steps to Reproduce:
1.dhcpd start

Comment 1 Bill Nottingham 2001-03-02 12:38:27 EST
You need subnet delacarations in your dhcpd.conf for all your network
interfaces; my best suggestion is to look at the man page for documentation
on how to set it up.
Comment 2 Matthew Mahoney 2001-03-02 13:47:34 EST
I have consulted the man page for dhcpd.conf.  I haven't found an example on 
how to create a subnet declaration for eth0.  Here is my dhcpd.conf file:

subnet netmask {
# --- default gateway

range dynamic-bootp;
	default-lease-time 21600;
	max-lease-time 43200;
	server-identifier		matty;
	option routers;
	option subnet-mask;
	option time-offset		-5;	# Eastern Standard Time

#	option ntp-servers;
#	option netbios-name-servers;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
#	option netbios-node-type 2;

	# we want the nameserver to appear at a fixed address
	host matty {
		hardware ethernet 00:E0:81:01:54:05;

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