From 6ad98e12997c1fdbc46ae5eee3d0dbb8389d137e Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Wed, 18 May 2005 19:16:15 +0000 Subject: [PATCH] Tagged dhcp.xml git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4357 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- server/other/dhcp.xml | 360 ++++++++++++++++++++++-------------------- 1 file changed, 188 insertions(+), 172 deletions(-) diff --git a/server/other/dhcp.xml b/server/other/dhcp.xml index 586d8c5ba3..57c982fe61 100644 --- a/server/other/dhcp.xml +++ b/server/other/dhcp.xml @@ -4,148 +4,161 @@ %general-entities; - - - - - - + + + + + + ]> - - $LastChangedBy$ - $Date$ - - -<acronym>DHCP</acronym>-&dhcp-version; + - - Dhcp - + + $LastChangedBy$ + $Date$ + - -Introduction to -<application><acronym>DHCP</acronym></application> + DHCP-&dhcp-version; -The DHCP package contains -both the client and server programs for DHCP. -dhclient (the client) is useful for connecting your computer -to a network which uses DHCP to assign network addresses. -dhcpd (the server) is useful for assigning network addresses -on your private network. + + Dhcp + -Package information - - Download (HTTP): - Download (FTP): - Download MD5 sum: &dhcp-md5sum; - Download size: &dhcp-size; - Estimated disk space required: &dhcp-buildsize; - Estimated build time: &dhcp-time; - - + + Introduction to DHCP - - <application>dhcp</application> dependencies + The DHCP package contains both the client + and server programs for DHCP. dhclient (the client) is + useful for connecting your computer to a network which uses DHCP to assign + network addresses. dhcpd (the server) is useful for + assigning network addresses on your private network. - - Required - (you may omit net-tools - by using the following patch to utilize iproute2: - ) - - - + Package Information + + + Download (HTTP): + + + Download (FTP): + + + Download MD5 sum: &dhcp-md5sum; + + + Download size: &dhcp-size; + + + Estimated disk space required: &dhcp-buildsize; + + + Estimated build time: &dhcp-time; + + - + DHCP Dependencies - -Installation of -<application><acronym>DHCP</acronym></application> + Required + (you may omit + net-tools by using the following patch + to utilize iproute2: + ) -You must have Packet Socket support (Device Drivers -> -Networking Support -> Networking Options -> Packet Socket) compiled into -the kernel. + - - DHCP - + + Kernel Configuration -Install DHCP by running -the following commands: + You must have Packet Socket support (Device Drivers -> Networking + Support -> Networking Options -> Packet Socket) compiled into + the kernel. -patch -Np1 -i ../dhcp-&dhcp-version;-iproute2-2.patch && + + DHCP + + + + + + Installation of DHCP + + Install DHCP by running + the following commands: + +patch -Np1 -i ../dhcp-&dhcp-version;-iproute2-2.patch && ./configure && -make +make -Now, as the root user: - -make LIBDIR=/usr/lib INCDIR=/usr/include install + Now, as the root user: - +make LIBDIR=/usr/lib INCDIR=/usr/include install - -Command explanations + -LIBDIR=/usr/lib INCDIR=/usr/include: This -command installs the library and include files in -/usr instead of -/usr/local. + + Command Explanations - + LIBDIR=/usr/lib INCDIR=/usr/include: This + command installs the library and include files in + /usr instead of + /usr/local. - -Configuring <application><acronym>DHCP</acronym></application> + - - /etc/dhclient.conf - + + Configuring DHCP - - /etc/dhcpd.conf - + + Config Files + /etc/dhclient.conf and + /etc/dhcpd.conf - -Config files -/etc/dhclient.conf - + + /etc/dhclient.conf + - -Configuration Information + + /etc/dhcpd.conf + -Information on configuring the DHCP client can be -found in . + -Note that you only need the DHCP server if -you want to issue LAN addresses over your network. The -DHCP client doesn't need this script to be used. Also note -that this script is coded for the eth1 -interface, which may need to be modified for your hardware configuration. + + Configuration Information -Install the /etc/rc.d/init.d/dhcp -init script included in the -package. + Information on configuring the DHCP client can be + found in . - - dhcpd - + Note that you only need the DHCP server if you want to issue + LAN addresses over your network. The DHCP client doesn't need this + script to be used. Also note that this script is coded for the + eth1 interface, which may need + to be modified for your hardware configuration. -make install-dhcp + Install the /etc/rc.d/init.d/dhcp + init script included in the + package. -The lease file must exist on startup. The following command will -satisfy that requirement: + + dhcpd + -touch /var/state/dhcp/dhcpd.leases +make install-dhcp -The following commands will create a base configuration file for a -DHCP server. There are several options that you may want to -add (information that is passed back to the DHCP client) and -those are covered in the man pages for dhcp.conf. + The lease file must exist on startup. The following command will + satisfy that requirement: -cat > /etc/dhcpd.conf << "EOF" -default-lease-time 72000; +touch /var/state/dhcp/dhcpd.leases + + The following commands will create a base configuration file + for a DHCP server. There are several options that you may want to + add (information that is passed back to the DHCP client) and those + are covered in the man pages for dhcp.conf. + +cat > /etc/dhcpd.conf << "EOF" +default-lease-time 72000; max-lease-time 144000; ddns-update-style ad-hoc; @@ -153,80 +166,83 @@ subnet [192.168.5.0] netmask [255.255.25 range [192.168.5.10] [192.168.5.240]; option broadcast-address [192.168.5.255]; option routers [192.168.5.1]; -} -EOF +} +EOF -All addresses should be changed to meet your circumstance. + All addresses should be changed to meet your circumstance. - + - + - -Contents + + Contents - - Installed Programs - Installed Libraries - Installed Directories - - - dhcpd, dhcrelay, dhclient, dhclient-script, omshell - bdhcpctl.a, libomapi.a - /var/state/dhcp, /usr/include/omapip, /usr/include/isi-dhcp - - - - - Short Descriptions - + + Installed Programs + Installed Libraries + Installed Directories - - dhclient - - is the implementation of the DHCP client. - - dhclient - - - + + dhcpd, dhcrelay, dhclient, dhclient-script, and omshell + bdhcpctl.a, libomapi.a + /var/state/dhcp, /usr/include/omapip, and /usr/include/isi-dhcp + + - - dhcpd - - implements Dynamic Host Configuration Protocol (DHCP) - and Internet Bootstrap Protocol (BOOTP) requests for - network addresses. - - dhcpd - - - + + Short Descriptions + + - - dhcrelay - - provides a means to accept DHCP and BOOTP - requests on a subnet without a DHCP server and relay them to - a DHCP server on another subnet. - - dhcrelay - - - + + dhclient + + is the implementation of the DHCP client. + + dhclient + + + - - omshell - - provides an interactive way to connect to, query, and possibly change, - the ISC DHCP Server's state via OMAPI, the Object Management API. - - omshell - - - + + dhcpd + + implements Dynamic Host Configuration Protocol (DHCP) and + Internet Bootstrap Protocol (BOOTP) requests for network + addresses. + + dhcpd + + + + + + dhcrelay + + provides a means to accept DHCP and BOOTP requests on a subnet + without a DHCP server and relay them to a DHCP server on another + subnet. + + dhcrelay + + + + + + omshell + + provides an interactive way to connect to, query, and + possibly change, the ISC DHCP Server's state via OMAPI, the + Object Management API. + + omshell + + + + + + + - - -