Novell LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 11-05-2007 Installation Manual page 667

Table of Contents

Advertisement

before setting up DHCP. That name server should also define a hostname for each
dynamic address and vice versa. To learn how to configure your own name server,
read
Chapter 33, The Domain Name System
• The line option broadcast-address defines the broadcast address the re-
questing client should use.
• With option routers, set where the server should send data packets that
cannot be delivered to a host on the local network (according to the source and
target host address and the subnet mask provided). In most cases, especially in
smaller networks, this router is identical to the Internet gateway.
• With option subnet-mask, specify the netmask assigned to clients.
The last section of the file defines a network, including a subnet mask. To finish,
specify the address range that the DHCP daemon should use to assign IP addresses to
interested clients. In
Example 34.1, "The Configuration File /etc/dhcpd.conf"
clients may be given any address between 192.168.1.10 and 192.168.1.20 as
well as 192.168.1.100 and 192.168.1.200.
After editing these few lines, you should be able to activate the DHCP daemon with
the command rcdhcpd start. It will be ready for use immediately. Use the command
rcdhcpd check-syntax to perform a brief syntax check. If you encounter any
unexpected problems with your configuration—the server aborts with an error or does
not return done on start—you should be able to find out what has gone wrong by
looking for information either in the main system log /var/log/messages or on
console 10 ( Ctrl + Alt + F10 ).
On a default SUSE Linux Enterprise system, the DHCP daemon is started in a chroot
environment for security reasons. The configuration files must be copied to the chroot
environment so the daemon can find them. Normally, there is no need to worry about
this because the command rcdhcpd start automatically copies the files.
34.3.1 Clients with Fixed IP Addresses
DHCP can also be used to assign a predefined, static address to a specific client. Ad-
dresses assigned explicitly always take priority over dynamic addresses from the pool.
A static address never expires in the way a dynamic address would, for example, if
(page 609).
(page 648),
DHCP
649

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10

Table of Contents