Novell LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 04-08-2006 Installation Manual page 670

Table of Contents

Advertisement

To identify a client configured with a static address, dhcpd uses the hardware address,
which is a globally unique, fixed numerical code consisting of six octet pairs for the
identification of all network devices (for example, 00:00:45:12:EE:F4). If the
respective lines, like the ones in
Example 35.2, "Additions to the Configuration File"
(page 670), are added to the configuration file of
Example 35.1, "The Configuration
File /etc/dhcpd.conf"
(page 668), the DHCP daemon always assigns the same set of
data to the corresponding client.
Example 35.2 Additions to the Configuration File
host earth {
hardware ethernet 00:00:45:12:EE:F4;
fixed-address 192.168.1.21;
}
The name of the respective client (host hostname, here earth) is entered in the
first line and the MAC address in the second line. On Linux hosts, find the MAC address
with the command ip link show followed by the network device (for example,
eth0). The output should contain something like
link/ether 00:00:45:12:EE:F4
In the preceding example, a client with a network card having the MAC address
00:00:45:12:EE:F4 is assigned the IP address 192.168.1.21 and the hostname
earth automatically. The type of hardware to enter is ethernet in nearly all cases,
although token-ring, which is often found on IBM systems, is also supported.
35.3.2 The SUSE Linux Enterprise Version
To improve security, the SUSE version of the ISC's DHCP server comes with the non-
root/chroot patch by Ari Edelkind applied. This enables dhcpd to run with the user ID
nobody and run in a chroot environment (/var/lib/dhcp). To make this possible,
the configuration file dhcpd.conf must be located in /var/lib/dhcp/etc. The
init script automatically copies the file to this directory when starting.
Control the server's behavior regarding this feature by means of entries in the file /etc/
sysconfig/dhcpd. To run dhcpd without the chroot environment, set the variable
DHCPD_RUN_CHROOTED in /etc/sysconfig/dhcpd to "no".
To enable dhcpd to resolve hostnames even from within the chroot environment, some
other configuration files must be copied as well:
670
Installation and Administration

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10

Table of Contents