Various cleanups in the DHCP server section.

Requested by:	dd
Approved by:	dd, murray
This commit is contained in:
Ceri Davies 2002-03-24 18:59:48 +00:00
parent 0ef98f7914
commit 6fa6b2326c
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=12566

View file

@ -3537,7 +3537,7 @@ dhcp_flags=""</programlisting>
<secondary>installation</secondary> <secondary>installation</secondary>
</indexterm> </indexterm>
<para>In order to configure your FreeBSD system as a DHCP server, <para>In order to configure your FreeBSD system as a DHCP server,
you will need to ensure that the <devicename>bpf</devicename> you will need to ensure that the &man.bpf.4;
device is compiled into your kernel. To do this, add device is compiled into your kernel. To do this, add
<literal>pseudo-device bpf</literal> to your kernel <literal>pseudo-device bpf</literal> to your kernel
configuration file, and rebuild the kernel. For more configuration file, and rebuild the kernel. For more
@ -3566,7 +3566,10 @@ dhcp_flags=""</programlisting>
<filename>dhcpd.conf</filename> which was installed by the <filename>dhcpd.conf</filename> which was installed by the
<filename role="package">net/isc-dhcp3</filename> port. <filename role="package">net/isc-dhcp3</filename> port.
By default, this will be By default, this will be
<filename>/usr/local/etc/dhcpd.conf</filename>.</para> <filename>/usr/local/etc/dhcpd.conf.sample</filename>, and you
should copy this to
<filename>/usr/local/etc/dhcpd.conf</filename> before proceeding
to make changes.</para>
</sect3> </sect3>
<sect3> <sect3>
@ -3686,7 +3689,7 @@ host mailhost {
<listitem><para><filename>/usr/local/sbin/dhcpd</filename></para> <listitem><para><filename>/usr/local/sbin/dhcpd</filename></para>
<para><application>dhcpd</application> is statically linked and <para><application>dhcpd</application> is statically linked and
resides in <filename>/usr/local/sbin</filename>. The resides in <filename>/usr/local/sbin</filename>. The
<filename>dhcpd.8</filename> manual page installed with the dhcpd(8) manual page installed with the
port gives more information about port gives more information about
<application>dhcpd</application>.</para> <application>dhcpd</application>.</para>
</listitem> </listitem>
@ -3698,14 +3701,14 @@ host mailhost {
contain all the information that should be provided to clients contain all the information that should be provided to clients
that are being serviced, along with information regarding the that are being serviced, along with information regarding the
operation of the server. This configuration file is described operation of the server. This configuration file is described
by the <filename>dhcpd.conf.5</filename> manual page installed by the dhcpd.conf(5) manual page installed
by the port.</para> by the port.</para>
</listitem> </listitem>
<listitem><para><filename>/var/db/dhcpd.leases</filename></para> <listitem><para><filename>/var/db/dhcpd.leases</filename></para>
<para>The DHCP server keeps a database of leases it has issued <para>The DHCP server keeps a database of leases it has issued
in this file, which is written as a log. The manual page in this file, which is written as a log. The manual page
<filename>dhcpd.leases.5</filename>, installed by the port dhcpd.leases(5), installed by the port
gives a slightly longer description.</para> gives a slightly longer description.</para>
</listitem> </listitem>
@ -3713,7 +3716,7 @@ host mailhost {
<para><application>dhcrelay</application> is used in advanced <para><application>dhcrelay</application> is used in advanced
environments where one DHCP server forwards a request from a environments where one DHCP server forwards a request from a
client to another DHCP server on a separate network. The client to another DHCP server on a separate network. The
<filename>dhcrelay.8</filename> manual page provided with the dhcrelay(8) manual page provided with the
port contains more detail.</para> port contains more detail.</para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>