![]() |
![]() |
| |||||||||
Reserved Addresses and Lease TypeAddresses can be reserved by manually assigning them to particular clients. A reserved address can have a permanent or dynamic lease associated with it. When a reserved address is assigned a permanent lease:
If a reserved address is assigned a dynamic lease, the address can be allocated only to the client that is bound to the address, but the client must track lease time and negotiate for a lease extension as if the address were not reserved. This allows you to track when the client is using the address by looking at the network table. You cannot create reserved addresses for all the IP addresses during the initial configuration because they are intended to be used sparingly for individual addresses. Planning for Multiple DHCP ServersIf you want to configure more than one DHCP server to manage your IP addresses, consider the following guidelines:
Planning for Remote Network ConfigurationAfter the initial configuration, you can place IP addresses in remote networks under DHCP management. However, because the system files are not local to the server, DHCP Manager and dhcpconfig cannot look up information to provide default values, so you must provide the information. Before you attempt to configure a remote network, be sure you know the following information:
See Adding DHCP Networks for the procedure for adding DHCP networks. Selecting the Tool for Configuring DHCPAfter you have gathered information and made decisions as outlined in the previous sections, you are ready to configure a DHCP server. You can use the graphical DHCP Manager or the command-line utility dhcpconfig to configure a server. DHCP Manager lets you select options and enter data that is then used to create the dhcptab and network tables used by the DHCP server. The dhcpconfig utility requires you to use command-line options to specify data. DHCP Manager FeaturesDHCP Manager, a Java-based graphical tool, provides a DHCP Configuration Wizard, which starts automatically the first time you run DHCP Manager on a system that is not configured as a DHCP server. The DHCP Configuration Wizard provides a series of dialog boxes that prompt you for the essential information required to configure a server: data store format, lease policy, DNS/NIS/NIS+ servers and domains, and router addresses. Some of the information is obtained by the wizard from system files, and you only need to confirm that the information is correct, or correct it if necessary. When you progress through the dialog boxes and approve the information, and the DHCP server daemon starts on the server system, you are prompted to start the Add Addresses Wizard to configure IP addresses for the network. Only the server's network is configured for DHCP initially, and other server options are given default values. You can run DHCP Manager again after the initial configuration is complete to add networks and modify other server options. dhcpconfig FeaturesThe dhcpconfig utility supports a list of options that allow you to configure and unconfigure a DHCP server, as well as convert to a new data store and import/export data to and from other DHCP servers. When you use the dhcpconfig utility to configure a DHCP server, it obtains information from the system files discussed in Updating System Files and Netmask Tables. You cannot view and confirm the information it obtains from system files as you can with DHCP Manager, so it is important that the system files be updated before you run dhcpconfig. You can also use command-line options to override the values dhcpconfig would obtain by default from system files. The dhcpconfig command can be used in scripts. Please see the dhcpconfig man page for more information. Comparison of DHCP Manager and dhcpconfigThe following table summarizes the differences between the two server configuration tools. Table 8-4 Comparison of DHCP Manager and the dhcpconfig Command
The next chapter includes procedures you can use to configure your server with both DHCP Manager and the dhcpconfig utility. | |||||||||
| |||||||||