The Internet Software Consortium DHCP Server, dhcpd, implements the Dynamic
Host Configuration Protocol (DHCP) and the Internet Bootstrap Protocol (BOOTP).
DHCP allows hosts on a TCP/IP network to request and be assigned IP addresses,
and also to discover information about the network to which they are attached.
BOOTP provides similar functionality, with certain restrictions. For more info,
see http://www.isc.org/.
ISC dhcpd 2.0pl5 |
File |
Protocol |
Speed |
Site |
dhcpd.lrp |
http |
Fast |
LEAF Sourceforge site |
dhcpd.lrp |
http |
Slow |
Local download |
- Boot LRP.
- Log in as root, lrcfg should start. If not then type in "lrcfg".
- Type "3" for Package Settings.
- Type the numeral assigned to the dhcpd package (which will be different
depending upon the package load order in syslinux.cfg).
- Type "1" to edit the "dhcpd daemon config" file.
- Make sure this file is going to do what you want it to do. Read the man
pages below and ask questions on the linux-router mailing list. You
will probably want to at least enter your DNS server address(es). You
may need to change the network details, or the router or range IP addresses
to match your setup.
- Hold down the "Alt" key and type "w" to save the file
if you have changed it.
- Hold down the "Alt" key and type "q" to exit the file.
- Type "2" to edit the "dhcpd system startup config"
file.
- Line number eleven starts with "ifs=" and is a space separated
list of the interfaces which will serve DHCP requests. Edit this line to
suit your needs.
EXAMPLE:
# Add interfaces, separated by a space.
ifs="eth0 eth1"
- Hold down the "Alt" key and type "w" to save the file
if you have changed it.
- Hold down the "Alt" key and type "q" to exit the file.
- Backup the dhcpd package using lrcfg (type "b" from the main
menu)
- Reboot.
- June 27, 2000 - Version 2.0.1
- Sept 9, 2000 - Version 2.0.pl5: dhcpd.exclude.list added to prevent
leases from being backed up as part of root.lrp.
10/05/00 10:39 44,271 dhcpd.lrp
-rw-r--r-- root/root 265 Oct 05 05:23 2000 etc/dhcpd.conf
-rwxr-xr-x root/root 1396 Feb 15 11:06 2000 etc/init.d/dhcpd
-rwxr-xr-x root/root 92944 Oct 05 05:28 2000 usr/sbin/dhcpd
-rw-r--r-- root/root 82 Feb 15 09:45 2000 var/lib/lrpkg/dhcpd.conf
-rw------- root/root 22 Oct 05 05:21 2000 var/lib/lrpkg/dhcpd.exclude.list
-rw-r--r-- root/root 907 Jun 27 16:01 2000 var/lib/lrpkg/dhcpd.help
-rw-r--r-- root/root 73 Feb 15 09:16 2000 var/lib/lrpkg/dhcpd.list
-rw-r--r-- root/root 7 Oct 05 05:23 2000 var/lib/lrpkg/dhcpd.version
|