Changeset 40330fcd for server/other/dhcp
- Timestamp:
- 09/24/2003 01:20:44 AM (21 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.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, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- cce6b02e
- Parents:
- 19234f1
- Location:
- server/other/dhcp
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
server/other/dhcp/dhcp-config.xml
r19234f1 r40330fcd 1 1 <sect2> 2 <title>Configuring dhcp</title>2 <title>Configuring <application><acronym>DHCP</acronym></application></title> 3 3 4 4 <sect3><title>Config files</title> … … 8 8 <sect3><title>Configuration Information</title> 9 9 10 <para>Information on configuring the dhcp client can be found in11 Chapter 14.</para>10 <para>Information on configuring the <acronym>DHCP</acronym> client can be 11 found in Chapter 14.</para> 12 12 13 <para>Note that you only want to start the dhcp server if you want to 14 issue LAN addresses over your network. The dhcp client doesn't need 15 this script to be used. Also note that this script is coded for the 16 'eth1' INTERFACE, which may need to be modified for your hardware 17 configuration. With that in mind the dhcp init.d script can be created 13 <para>Note that you only want to start the <acronym>DHCP</acronym> server if 14 you want to issue <acronym>LAN</acronym> addresses over your network. The 15 <acronym>DHCP</acronym> client doesn't need this script to be used. Also note 16 that this script is coded for the <emphasis role="strong">eth1</emphasis> 17 interface, which may need to be modified for your hardware configuration. 18 With that in mind the <command>dhcp</command> init.d script can be created 18 19 using the following commands.</para> 19 20 20 < para><screen><userinput>cat > /etc/rc.d/init.d/dhcp << "EOF"</userinput>21 <screen><userinput><command>cat > /etc/rc.d/init.d/dhcp << "EOF"</command> 21 22 #!/bin/sh 22 23 # Begin $rc_base/init.d/dhcp … … 61 62 62 63 # End $rc_base/init.d/dhcp 63 < userinput>EOF64 chmod 755 /etc/rc.d/init.d/dhcp</ userinput></screen></para>64 <command>EOF 65 chmod 755 /etc/rc.d/init.d/dhcp</command></userinput></screen> 65 66 66 67 <para>The lease file must exist on startup. The following command will 67 68 satisfy that requirement:</para> 68 69 69 < para><screen><userinput>touch /var/state/dhcp/dhcpd.leases</userinput></screen></para>70 <screen><userinput><command>touch /var/state/dhcp/dhcpd.leases</command></userinput></screen> 70 71 71 72 <para>The follow commands will create a base configuration file for a 72 dhcpserver. There are several options that you may want to73 add (information that is passed back to the dhcp client) and those are74 covered in the man pages for <filename>dhcp.conf</filename>.</para>73 <acronym>DHCP</acronym> server. There are several options that you may want to 74 add (information that is passed back to the <acronym>DHCP</acronym> client) and 75 those are covered in the man pages for <filename>dhcp.conf</filename>.</para> 75 76 76 < para><screen><userinput>cat > /etc/dhcpd.conf << "EOF"</userinput>77 <screen><userinput><command>cat > /etc/dhcpd.conf << "EOF"</command> 77 78 default-lease-time 72000; 78 79 max-lease-time 144000; … … 84 85 option routers 192.168.5.1; 85 86 } 86 < userinput>EOF</userinput></screen></para>87 <command>EOF</command></userinput></screen> 87 88 88 89 <para>All addresses should be changed to meet your circumstance.</para> -
server/other/dhcp/dhcp-desc.xml
r19234f1 r40330fcd 2 2 <title>Contents</title> 3 3 4 <para>The dhcp package contains <userinput>dhclient</userinput>,5 < userinput>dhcpd</userinput>6 and <userinput>dhcrelay</userinput>.</para>4 <para>The <application><acronym>DHCP</acronym></application> package contains 5 <command>dhclient</command>, <command>dhcpd</command> and <command>dhcrelay 6 </command>.</para> 7 7 8 8 </sect2> … … 11 11 12 12 <sect3><title>dhclient</title> 13 <para>dhclient is the implementation of the DHCP client.</para></sect3> 13 <para><command>dhclient</command> is the implementation of the 14 <acronym>DHCP</acronym> client.</para></sect3> 14 15 15 16 <sect3><title>dhcpd</title> 16 <para> dhcpd implements Dynamic Host Configuration Protocol (DHCP)17 and Internet Bootstrap Protocol (BOOTP) requests for network 18 addresses.</para></sect3>17 <para><command>dhcpd</command> implements Dynamic Host Configuration Protocol 18 (<acronym>DHCP</acronym>) and Internet Bootstrap Protocol 19 (<acronym>BOOTP</acronym>) requests for network addresses.</para></sect3> 19 20 20 21 <sect3><title>dhcrelay</title> 21 <para>dhcrelay provides a means to accept DHCP and BOOTP requests on a 22 subnet without a DHCP server and relay them to a DHCP server on another 23 subnet.</para></sect3> 22 <para><command>dhcrelay</command> provides a means to accept <acronym>DHCP 23 </acronym> and <acronym>BOOTP</acronym> requests on a subnet without a 24 <acronym>DHCP</acronym> server and relay them to a <acronym>DHCP</acronym> 25 server on another subnet.</para></sect3> 24 26 25 27 </sect2> -
server/other/dhcp/dhcp-exp.xml
r19234f1 r40330fcd 2 2 <title>Command explanations</title> 3 3 4 <para>< userinput>LIBDIR=/usr/lib INCDIR=/usr/include</userinput> : This4 <para><command>LIBDIR=/usr/lib INCDIR=/usr/include</command> : This 5 5 command installs the library and include files in <filename 6 6 class="directory">/usr</filename> instead of <filename -
server/other/dhcp/dhcp-inst.xml
r19234f1 r40330fcd 1 1 <sect2> 2 <title>Installation of dhcp</title>2 <title>Installation of <application><acronym>DHCP</acronym></application></title> 3 3 4 <para>Install dhcp by running the following commands:</para> 4 <note><para>You must have Packet Socket support compiled in the kernel and 5 Socket Filtering either compiled in or as a kernel module.</para></note> 6 7 <para>Install <application><acronym>DHCP</acronym></application> by running the following commands:</para> 5 8 6 < para><screen><userinput>./configure &&9 <screen><userinput><command>./configure && 7 10 make && 8 make LIBDIR=/usr/lib INCDIR=/usr/include install</ userinput></screen></para>11 make LIBDIR=/usr/lib INCDIR=/usr/include install</command></userinput></screen> 9 12 10 13 </sect2> -
server/other/dhcp/dhcp-intro.xml
r19234f1 r40330fcd 1 1 <sect2> 2 <title>Introduction to dhcp</title>2 <title>Introduction to <application><acronym>DHCP</acronym></application></title> 3 3 4 <screen>Download location (HTTP): <ulink url="&dhcp-download-http;"/> 5 Download location (FTP): <ulink url="&dhcp-download-ftp;"/> 6 Version used: &dhcp-version; 7 Package size: &dhcp-size; 8 Estimated Disk space required: &dhcp-buildsize;</screen> 4 <para>The <application><acronym>DHCP</acronym></application> package contains 5 both the client and server programs for <acronym>DHCP</acronym>. 6 <command>dhclient</command> (the client) is useful for connecting your computer 7 to a network which uses <acronym>DHCP</acronym> to assign network addresses. 8 <command>dhcpd</command> (the server) is useful for assigning network addresses 9 on your private network.</para> 9 10 10 <para>The dhcp package contains both the client and server programs for 11 DHCP. dhclient (the client) is useful for connecting your computer to a 12 network which uses DHCP to assign network addresses. dhcpd (the server) 13 is useful for assigning network addresses on your private network.</para> 11 <sect3><title>Package information</title> 12 <itemizedlist spacing='compact'> 13 <listitem><para>Download (HTTP): <ulink 14 url="&dhcp-download-http;"/></para></listitem> 15 <listitem><para>Download (FTP): <ulink 16 url="&dhcp-download-ftp;"/></para></listitem> 17 <listitem><para>Download size: &dhcp-size;</para></listitem> 18 <listitem><para>Estimated Disk space required: 19 &dhcp-buildsize;</para></listitem> 20 <listitem><para>Estimated build time: 21 &dhcp-time;</para></listitem></itemizedlist> 22 </sect3> 14 23 15 <screen>dhcp needs nothing to compile but you must have Packet Socket16 support compiled in the kernel and Socket Filtering either compiled in17 or as a kernel module to use it.</screen>18 24 19 25 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.