Installing and Administering Internet Services
Chapter 6 267
Dynamic Host Configuration Protocol (DHCP)
Configuring DHCP
Configuring DHCP
This section contains information needed to configure DHCP servers to
distribute IP addresses to client groups, individual clients, and all clients
via a BOOTP Relay Agent.
Before configuring the DHCP server, you must set up the broadcast
address and set aside a block of addresses for DHCP server to distribute.
Setting Up the Broadcast Address
Before starting the server, you must set the broadcast address for the
lan0 interface name if ifconfig requests it. You can do this either
manually or through SAM.
Changing the Address Manually
1. Issue the command ifconfig lan0 broadcast 255.255.255.255.
2. Issue the command /etc/rc.config.d/netconf.
3. Edit the BROADCAST_ADDRESS variable for lan0 to 255.255.255.255.
Changing the Address Using SAM
1. Start SAM. You must be root user to access SAM.
2. Double-click the Networking and Communications icon.
3. Double-click the Network Interface Cards icon.
4. Go to Advanced Options and set the broadcast address to
255.255.255.255.
5. Click OK and exit SAM.
If there is more than one LAN interface, each must have a broadcast
address of 255.255.255.255.
Preparing to Configure a DHCP Server
Only one DHCP server is allowed per network.
1. Set aside a set of IP addresses that is currently unused (preferably a
contiguous block of addresses).