source: server/other/dhcp.xml@ 9f12e36

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 9f12e36 was 9f12e36, checked in by Randy McMurchy <randy@…>, 18 years ago

Removed 'keywordset' blocks and extra spaces from the XML files (note this was by accident as I meant to do just in the gnome directory but I was in the root of BOOK when I ran the script, but this was going to happen anyway so I don't think it is a big deal)

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6192 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 9.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!-- Inserted as a reminder to do this. The mention of a test suite
8 is usually right before the root user installation commands. Please
9 delete these 12 (including one blank) lines after you are done.-->
10
11 <!-- Use one of the two mentions below about a test suite,
12 delete the line that is not applicable. Of course, if the
13 test suite uses syntax other than "make check", revise the
14 line to reflect the actual syntax to run the test suite -->
15
16 <!-- <para>This package does not come with a test suite.</para> -->
17 <!-- <para>To test the results, issue: <command>make check</command>.</para> -->
18
19 <!ENTITY dhcp-download-http "http://gd.tuwien.ac.at/infosys/servers/isc/dhcp/dhcp-&dhcp-version;.tar.gz">
20 <!ENTITY dhcp-download-ftp "ftp://ftp.isc.org/isc/dhcp/dhcp-&dhcp-version;.tar.gz">
21 <!ENTITY dhcp-md5sum "004ef935fd54b8046b16bdde31a9e151">
22 <!ENTITY dhcp-size "868 KB">
23 <!ENTITY dhcp-buildsize "21.3 MB">
24 <!ENTITY dhcp-time "0.1 SBU">
25]>
26
27<sect1 id="dhcp" xreflabel="DHCP-&dhcp-version;">
28 <?dbhtml filename="dhcp.html"?>
29
30 <sect1info>
31 <othername>$LastChangedBy$</othername>
32 <date>$Date$</date>
33 </sect1info>
34
35 <title>DHCP-&dhcp-version;</title>
36
37 <indexterm zone="dhcp">
38 <primary sortas="a-dhcp">Dhcp</primary>
39 </indexterm>
40
41 <sect2 role="package">
42 <title>Introduction to DHCP</title>
43
44 <para>The <application>DHCP</application> package contains both the client
45 and server programs for DHCP. <command>dhclient</command> (the client) is
46 useful for connecting your computer to a network which uses DHCP to assign
47 network addresses. <command>dhcpd</command> (the server) is useful for
48 assigning network addresses on your private network.</para>
49
50 <bridgehead renderas="sect3">Package Information</bridgehead>
51 <itemizedlist spacing="compact">
52 <listitem>
53 <para>Download (HTTP): <ulink url="&dhcp-download-http;"/></para>
54 </listitem>
55 <listitem>
56 <para>Download (FTP): <ulink url="&dhcp-download-ftp;"/></para>
57 </listitem>
58 <listitem>
59 <para>Download MD5 sum: &dhcp-md5sum;</para>
60 </listitem>
61 <listitem>
62 <para>Download size: &dhcp-size;</para>
63 </listitem>
64 <listitem>
65 <para>Estimated disk space required: &dhcp-buildsize;</para>
66 </listitem>
67 <listitem>
68 <para>Estimated build time: &dhcp-time;</para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
73 <itemizedlist spacing='compact'>
74 <listitem>
75 <para>Optional Patch:
76 <ulink url="&patch-root;/dhcp-&dhcp-version;-iproute2-1.patch"/></para>
77 </listitem>
78 </itemizedlist>
79
80 <bridgehead renderas="sect3">DHCP Dependencies</bridgehead>
81
82 <bridgehead renderas="sect4">Required</bridgehead>
83 <para role="required"><xref linkend="net-tools"/> (you may omit
84 <application>net-tools</application> by using the optional patch
85 to utilize <application>iproute2</application>.</para>
86
87 <para condition="html" role="usernotes">User Notes:
88 <ulink url="&blfs-wiki;/dhcp"/></para>
89
90 </sect2>
91
92 <sect2 role="kernel" id='dhcp-kernel'>
93 <title>Kernel Configuration</title>
94
95 <para>You must have Packet Socket support (Device Drivers &rArr; Networking
96 Support &rArr; Networking Options &rArr; Packet Socket) compiled into
97 the kernel.</para>
98
99 <indexterm zone="dhcp dhcp-kernel">
100 <primary sortas="d-dhcp">DHCP</primary>
101 </indexterm>
102
103 </sect2>
104
105 <sect2 role="installation">
106 <title>Installation of DHCP</title>
107
108 <para>If you chose not to install net-tools, apply the
109 iproute2 patch:</para>
110
111<screen><userinput>patch -Np1 -i ../dhcp-&dhcp-version;-iproute2-1.patch</userinput></screen>
112
113 <para>Install <application>DHCP</application> by running
114 the following commands:</para>
115
116<screen><userinput>./configure &amp;&amp;
117make</userinput></screen>
118
119 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
120
121<screen role="root"><userinput>make LIBDIR=/usr/lib INCDIR=/usr/include install</userinput></screen>
122
123 </sect2>
124
125 <sect2 role="commands">
126 <title>Command Explanations</title>
127
128 <para><parameter>LIBDIR=/usr/lib INCDIR=/usr/include</parameter>: This
129 command installs the library and include files in
130 <filename class="directory">/usr</filename> instead of
131 <filename class="directory">/usr/local</filename>.</para>
132
133 </sect2>
134
135 <sect2 role="configuration">
136 <title>Configuring DHCP</title>
137
138 <sect3 id='dhcp-config'>
139 <title>Config Files</title>
140
141 <para><filename>/etc/dhclient.conf</filename> and
142 <filename>/etc/dhcpd.conf</filename></para>
143
144 <indexterm zone="dhcp dhcp-config">
145 <primary sortas="e-etc-dhclient.conf">/etc/dhclient.conf</primary>
146 </indexterm>
147
148 <indexterm zone="dhcp dhcp-config">
149 <primary sortas="e-etc-dhcpd.conf">/etc/dhcpd.conf</primary>
150 </indexterm>
151
152 </sect3>
153
154 <sect3 id='dhcp-init'>
155 <title>Configuration Information</title>
156
157 <para>Information on configuring the DHCP client can be
158 found in <xref linkend="connect-dhcp"/>.</para>
159
160 <para>Note that you only need the DHCP server if you want to issue
161 LAN addresses over your network. The DHCP client doesn't need this
162 script to be used. Also note that this script is coded for the
163 <emphasis role="strong">eth1</emphasis> interface, which may need
164 to be modified for your hardware configuration.</para>
165
166 <para>Install the <filename>/etc/rc.d/init.d/dhcp</filename>
167 init script included in the <xref linkend="bootscripts"/>
168 package.</para>
169
170 <indexterm zone="dhcp dhcp-init">
171 <primary sortas="f-dhcp">dhcpd</primary>
172 </indexterm>
173
174<screen role="root"><userinput>make install-dhcp</userinput></screen>
175
176 <para>The lease file must exist on startup. The following command will
177 satisfy that requirement:</para>
178
179<screen role="root"><userinput>touch /var/state/dhcp/dhcpd.leases</userinput></screen>
180
181 <para>The following commands will create a base configuration file
182 for a DHCP server. There are several options that you may want to
183 add (information that is passed back to the DHCP client) and those
184 are covered in the man pages for <filename>dhcp.conf</filename>.</para>
185
186<screen role="root"><userinput>cat &gt; /etc/dhcpd.conf &lt;&lt; "EOF"
187<literal>default-lease-time 72000;
188max-lease-time 144000;
189ddns-update-style ad-hoc;
190
191subnet <replaceable>&lt;192.168.5.0&gt;</replaceable> netmask <replaceable>&lt;255.255.255.0&gt;</replaceable> {
192 range <replaceable>&lt;192.168.5.10&gt; &lt;192.168.5.240&gt;</replaceable>;
193 option broadcast-address <replaceable>&lt;192.168.5.255&gt;</replaceable>;
194 option routers <replaceable>&lt;192.168.5.1&gt;</replaceable>;
195}</literal>
196EOF</userinput></screen>
197
198 <para>All addresses should be changed to meet your circumstance.</para>
199
200 </sect3>
201
202 </sect2>
203
204 <sect2 role="content">
205 <title>Contents</title>
206
207 <segmentedlist>
208 <segtitle>Installed Programs</segtitle>
209 <segtitle>Installed Libraries</segtitle>
210 <segtitle>Installed Directories</segtitle>
211
212 <seglistitem>
213 <seg>dhcpd, dhcrelay, dhclient, dhclient-script, and omshell</seg>
214 <seg>bdhcpctl.a, libomapi.a</seg>
215 <seg>/var/state/dhcp, /usr/include/omapip, and /usr/include/isi-dhcp</seg>
216 </seglistitem>
217 </segmentedlist>
218
219 <variablelist>
220 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
221 <?dbfo list-presentation="list"?>
222 <?dbhtml list-presentation="table"?>
223
224 <varlistentry id="dhclient">
225 <term><command>dhclient</command></term>
226 <listitem>
227 <para>is the implementation of the DHCP client.</para>
228 <indexterm zone="dhcp dhclient">
229 <primary sortas="b-dhclient">dhclient</primary>
230 </indexterm>
231 </listitem>
232 </varlistentry>
233
234 <varlistentry id="dhcpd">
235 <term><command>dhcpd</command></term>
236 <listitem>
237 <para>implements Dynamic Host Configuration Protocol (DHCP) and
238 Internet Bootstrap Protocol (BOOTP) requests for network
239 addresses.</para>
240 <indexterm zone="dhcp dhcpd">
241 <primary sortas="b-dhcpd">dhcpd</primary>
242 </indexterm>
243 </listitem>
244 </varlistentry>
245
246 <varlistentry id="dhcrelay">
247 <term><command>dhcrelay</command></term>
248 <listitem>
249 <para>provides a means to accept DHCP and BOOTP requests on a subnet
250 without a DHCP server and relay them to a DHCP server on another
251 subnet.</para>
252 <indexterm zone="dhcp dhcrelay">
253 <primary sortas="b-dhcrelay">dhcrelay</primary>
254 </indexterm>
255 </listitem>
256 </varlistentry>
257
258 <varlistentry id="omshell">
259 <term><command>omshell</command></term>
260 <listitem>
261 <para> provides an interactive way to connect to, query, and
262 possibly change, the ISC DHCP Server's state via OMAPI, the
263 Object Management API.</para>
264 <indexterm zone="dhcp omshell">
265 <primary sortas="b-omshell">omshell</primary>
266 </indexterm>
267 </listitem>
268 </varlistentry>
269
270 </variablelist>
271
272 </sect2>
273
274</sect1>
Note: See TracBrowser for help on using the repository browser.