Bug 16431 - RFE: dhcpd initscript does not allow one to specify the interface to be served
Summary: RFE: dhcpd initscript does not allow one to specify the interface to be served
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: dhcp   
(Show other bugs)
Version: 7.1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Elliot Lee
QA Contact:
Keywords: FutureFeature
Depends On:
TreeView+ depends on / blocked
Reported: 2000-08-17 13:22 UTC by David Lawrence
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-07-16 13:30:08 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Derek Tattersall 2000-08-17 13:22:07 UTC
The current initscript for dhcpd does not allow one to specify the
interface or interfaces over which the addresses are to be served.  When
used in a gateway configuration with two interfaces, only one of which is
on the internal network, one has to edit the initscript to specify that
address are only served on eth1 for instance.

Second, one must touch /var/lock/subsys/dhcpd.leases, before dhcpd can
start.  Shouldn't this be done at install time?

Comment 1 R P Herrold 2001-01-02 19:18:59 UTC
Per discussion over the weekend on the Beta-tester's list, add a file:


and source it in the dhcp initscript, to allow, eg, 

OPTIONS=" eth1 " 

which is passed to the start) option thus:

    daemon /usr/sbin/dhcpd  $OPTIONS


Also requires documentation addon in the print docs ...    

In the instant example, this allows limiting the DHCP process to listen for
assignment requests only on the 'interior' eth1 interface.   Useful (and indeed
the patch I use) with a cable-modem environment

... avoids tampering with the initscript itself.

Comment 2 Chris Adams 2001-05-09 15:36:45 UTC
Somehow this apparently got missed.  Seawolf still doesn't have (or the init
script handle) an /etc/sysconfig/dhcp file.  Virtually every other service that
takes command line options has this.

Comment 3 R P Herrold 2001-05-15 03:59:40 UTC
Hello /// anyone there?  This is still in 'New' status 9 months after initial
submissina, and although re-commented 3 months before Seawolf gold, still

Comment 4 Elliot Lee 2001-07-19 21:58:47 UTC
Apologies for the unresponsiveness of the previous dhcpd packager...

This is fixed in my dhcp package by a /etc/sysconfig/dhcpd file.

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