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

Table of Contents

Advertisement

dynamic address and vice versa. To learn how to configure your own name server,
read
Chapter 34, 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 35.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
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.
35.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
there were not enough addresses available and the server needed to redistribute them
among clients.
+
).
F10
(page 629).
(page 668),
DHCP
669

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10

Table of Contents