Novell LINUX ENTERPRISE SERVER 10 SP2 - INSTALLATION AND ADMINISTRATION Installation Manual page 674

Hide thumbs Also See for LINUX ENTERPRISE SERVER 10 SP2 - INSTALLATION AND ADMINISTRATION:
Table of Contents

Advertisement

there were not enough addresses available and the server needed to redistribute them
among clients.
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 34.2, "Additions to the Configuration File"
(page 656), are added to the configuration file of Example 34.1, "The Configuration
File /etc/dhcpd.conf" (page 654), the DHCP daemon always assigns the same set of
data to the corresponding client.
Example 34.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.
34.3.2 The SUSE Linux Enterprise Version
To improve security, the SUSE Linux Enterprise 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.
656
Installation and Administration

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10 sp3

Table of Contents