Add some text about having to *explicitly* enable isc-dhcpd in

rc.conf to make sure the /usr/local/etc/rc.d/isc-dhcpd.sh script
will truly start a DHCP server process when run as:

    # /usr/local/etc/rc.d/isc-dhcpd.sh start

Submitted by:	Mark Space <markspace@sbcglobal.net>
This commit is contained in:
Giorgos Keramidas 2006-05-12 00:58:02 +00:00
parent 15d69131fb
commit 39ecffb4d3
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=27815

View file

@ -2848,8 +2848,19 @@ host mailhost {
</calloutlist>
<para>Once you have finished writing your
<filename>dhcpd.conf</filename>, you can proceed to start the
server by issuing the following command:</para>
<filename>dhcpd.conf</filename>,
you should enable the DHCP server in
<filename>/etc/rc.conf</filename>, i.e. by adding:</para>
<programlisting>dhcpd_enable="YES"
dhcpd_ifaces="dc0"</programlisting>
<para>Replace the <literal>dc0</literal> interface name with the
interface (or interfaces, separated by whitespace) that your DHCP
server should listen on for DHCP client requests.</para>
<para>Then, you can proceed to start the server by issuing the
following command:</para>
<screen>&prompt.root; <userinput>/usr/local/etc/rc.d/isc-dhcpd.sh start</userinput></screen>