System Administration Guide, Volume 3

Configuring DHCP Servers

When you configure a DHCP server, DHCP Manager starts the DHCP Configuration Wizard, which prompts you for information needed to configure the server. The initial screen of the wizard is shown in the following figure.

Figure 10-2 DHCP Configuration Wizard's Initial Screen

Graphic

When you finish answering the wizard prompts, DHCP Manager creates the items listed in the following table.

Table 10-1 Items Created During DHCP Server Configuration

Item 

Description 

Contents 

Service configuration file, /etc/default/dhcp

Records keywords and values for server configuration options. 

Data store type and location, options used with in.dhcpd to start the DHCP daemon when system boots.

dhcptab file

DHCP Manager creates an empty filedhcptab if it does not already exist.

Macros and options with assigned values. 

Locale macro, optional

Contains the local time zone's offset in seconds from Universal Time (UTC). 

UTCoffst option

Server macro, named to match server's node name 

Contains options whose values were set using input from administrator configuring the DHCP server. Options should apply to all clients using addresses owned by the server. 

The Locale macro, plus the following options:

  • Timeserv, set to point to the server's primary IP address

  • LeaseTim, and LeaseNeg if you selected negotiable leases

  • DNSdmain and DNSserv, if DNS is configured

  • Hostname, which must not be assigned a value. The presence of this option indicates that the hostname must be obtained from the name service.

Network address macro, whose name is the same as the network address of client's network 

Contains options whose values were set using input from administrator configuring the DHCP server. Options should apply to all clients residing on the network matching the macro name. 

The following options:

  • Subnet

  • Router or RDiscvyF

  • Broadcst, if the network is a LAN

  • MTU

  • NISdmain and NISserv, if NIS is configured

  • NIS+dom and NIS+serv, if NIS+ is configured

Network table for the network. 

Empty table is created until you create IP address for the network. 

None, until you add IP addresses. 

Links to the DHCP service script, /etc/init.d/dhcp.

Enables the DHCP daemon to start automatically when the system boots. 

The following links are made:

  • /etc/rc0.d/K34dhcp

  • /etc/rc1.d/K34dhcp

  • /etc/rc2.d/K34dhcp

  • /etc/rc3.d/S34dhcp