Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Dec 2002 18:28:14 -0800 (PST)
From:      Linh Pham <question@closedsrc.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   conf/46531: DHCP server and relay startup and configuration
Message-ID:  <20021226022814.B512753FF@q.closedsrc.org>

next in thread | raw e-mail | index | archive | help

>Number:         46531
>Category:       conf
>Synopsis:       DHCP server and relay startup and configuration
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 25 18:30:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Linh Pham
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD q.closedsrc.org 4.7-STABLE FreeBSD 4.7-STABLE #5: Thu Dec 12 21:56:46 PST 2002 question@q.closedsrc.org:/usr/obj/usr/src/sys/Q i386
>Description:
Although ISC-DHCP is included in the base install of FreeBSD 4.x, I've noticed
that there is no facility in rc.conf to start up either the DHCP server nor
the relay agent, nor are there any example configuration files under /etc.

>How-To-Repeat:
Did a grep on /etc/defaults/rc.conf for the DHCP daemon and the relay agent
and found no entry for it, nor found dhcpd.conf under /etc.

>Fix:
I would like to propose adding the facilities to init and rc so that one can
start either the included DHCP server daemon and/or the relay agent by adding
lines to /etc/rc.conf. The variables could be something like:

dhcpd_enable="YES|NO"
dhcpd_flags=""
dhcpd_config="/etc/dhcpd.conf"

dhcrelay_enable="YES|NO"
dhcrelay_flags=""

Then add the necessary lines in /etc/rc.network to parse the variables and
start the daemon or the relay agent if enabled. Also, the ISC-DHCP port under
net/isc-dhcp3 installs an example dhcpd.conf file that the user can base a
the daemon's configuration on. The port also installs startup script examples
under /usr/local/etc and /usr/local/etc/rc.d that could be used as the basis
for the startup bits under /etc/rc.network.

I think this will reduce the need of having to install the port or even
require the person to figure out how to start the services and configure them
and lead to even more messages sent to -questions or -newbies.

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021226022814.B512753FF>