Bug 2406

Summary: dhcpd script doesn't add route or pass options
Product: [Retired] Red Hat Linux Reporter: Ed Swierk <eswierk>
Component: dhcpAssignee: David Lawrence <dkl>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: eswierk
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-06-02 10:47:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ed Swierk 1999-04-29 01:26:45 UTC
Two problems with the dhcpd startup script:

1. dhcpd requires adding a route to "host" 255.255.255.255
to convince Linux not to screw up the address in the offer
message.  (Both Windows DHCP clients and pump [new in RH
6.0] are picky about this.)

In older versions of RedHat, adding the line "eth0 host
255.255.255.255" to /etc/sysconfig/static-routes solved the
problem.  Now this file is ignored if linuxconf exists, but
there doesn't seem to be any way to get linuxconf to spit
out the correct route.

2. For machines with multiple interfaces, it is necessary to
give dhcpd command-line options telling it on which
interfaces to provide DHCP service.  (By default, dhcpd
assumes all interfaces, but croaks if dhcpd.conf doesn't
include configurations for all of them.)

A simple solution is to append " ${DHCP_OPTIONS}" to "daemon
/usr/sbin/dhcpd" in the startup script.  This way, the user
can add something like

  DHCP_OPTIONS="eth1 st0"

to /etc/sysconfig/network if he wants DHCP only on eth1 and
st0.

Comment 1 Jeff Johnson 1999-06-02 10:47:59 UTC
*** This bug has been marked as a duplicate of 217 ***