Novell LINUX ENTERPRISE SERVER 11 - ADMINISTRATION Administration Manual page 332

Hide thumbs Also See for LINUX ENTERPRISE SERVER 11 - 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:30:6E:08:EC:80). If the
respective lines, like the ones in
Example 22.2, "Additions to the Configuration File"
(page 318), are added to the configuration file of
Example 22.1, "The Configuration
File /etc/dhcpd.conf"
(page 316), the DHCP daemon always assigns the same set of
data to the corresponding client.
Example 22.2 Additions to the Configuration File
host jupiter {
hardware ethernet 00:30:6E:08:EC:80;
fixed-address 192.168.2.100;
}
The name of the respective client (host hostname, here jupiter) 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 ex-
ample, eth0). The output should contain something like
link/ether 00:30:6E:08:EC:80
In the preceding example, a client with a network card having the MAC address
00:30:6E:08:EC:80 is assigned the IP address 192.168.2.100 and the hostname
jupiter 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.
22.3.2 The SUSE Linux Enterprise Server
Version
To improve security, the SUSE Linux Enterprise Server 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.
318
Administration Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 11

Table of Contents