5.4 Using the Java-Based Management Console to Configure DHCP

This section provides information about the following:

5.4.1 DHCP Prerequisites

Complete the following prerequisites before setting up DHCP:

  • Load NetWare 6.5 on the selected servers.

  • Load the Novell Client™ software delivered with NetWare 6.5 on client computers that will be used to administer DNS and DHCP.

  • Install the Management Console on client computers that will be used to administer DNS and DHCP.

5.4.2 Global DHCP Configuration

This section describes the following tasks:

Viewing or Setting Global DHCP Preferences

Use the Management Console to set global DHCP options. Setting the these options is not required to set up DHCP.

  1. Click the DHCP Service tab of the Management Console.

  2. Click Global Preferences global preferences on the toolbar.

    The Global Preferences window is displayed, listing the code, option name, and value of any global DHCP options selected. Three other tab pages are available: Exclude Address, Include Address, and DHCP Options Table.

  3. Click the Global DHCP Options tab, then click Modify.

  4. The DHCP options you can configure globally are listed in the Available DHCP Options list box. To configure an option:

    • Select the desired option from the Available DHCP Options list box, then click Add.

    • Specify the required supporting information as prompted.

  5. Click OK to close the DHCP Options window.

    The global DHCP option you added or configured is displayed in the Global DHCP Options list.

Viewing or Setting the Global DHCP Defaults

To add a hardware address to the Exclude Address list:

  1. Click the DHCP Service tab of the Management Console.

  2. Click Global Preferences global preferences on the toolbar.

  3. Click the Exclude Address tab.

  4. Click Add to open the Add Exclude Hardware Address window.

  5. From the drop-down menu, select the hardware type of the client and specify the MAC address to be excluded.

  6. Click OK.

    The MAC address is added to the Exclude Hardware Addresses list. This assignment applies to all DHCP servers in the eDirectory tree.

To delete a hardware address from the Exclude Address list:

  1. Click the DHCP Service tab of the Management Console.

  2. Click Global Preferences global preferences on the toolbar.

  3. Click the Exclude Address tab.

  4. Click the MAC address to be deleted from the Exclude Hardware Addresses list.

  5. Click Delete.

To add a hardware address to the Include Address list:

  1. Click the DHCP Service tab of the Management Console.

  2. Click Global Preferences global preferences on the toolbar.

  3. Click the Include Address tab.

  4. Click Add to open the Add Include Hardware Address window.

  5. From the drop-down menu, select the hardware type of the client and specify the MAC address to be excluded.

  6. Click OK.

    The MAC address is added to the Include Hardware Addresses list. This assignment applies to all DHCP servers in the eDirectory tree.

To delete a hardware address from the Include Address list:

  1. Click the DHCP Service tab of the Management Console.

  2. Click Global Preferences global preferences on the toolbar.

  3. Click the Include Address tab.

  4. Click the MAC address to be deleted from the Include Hardware Addresses.

  5. Click Delete.

Configuring DHCP Options

The DHCP Options Table provides a list of parameters that can be defined for use on the network. After an option is defined, you can assign a value to the option by using Global DHCP Options.

To view a DHCP option:

  1. Click the DHCP Service tab of the Management Console.

  2. Click Global Preferences global preferences on the toolbar.

  3. Click the DHCP Options Table tab.

    A list of both the system-defined and user-defined DHCP options is displayed.

  4. After you have finished viewing the options, click OK.

To add a DHCP option:

  1. Click the DHCP Service tab of the Management Console.

  2. Click Global Preferences global preferences on the toolbar.

  3. Click the DHCP Options Table tab.

    A list of both the system-defined and user-defined DHCP options is displayed.

  4. Click Add to open the Define New DHCP Option window.

  5. Select the DHCP option code, select the data syntax, add the description of the new option, then click OK.

To delete a DHCP option:

  1. Click the DHCP Service tab of the Management Console.

  2. Click Global Preferences global preferences on the toolbar.

  3. Click the DHCP Options Table tab.

    A list of both the system-defined and user-defined DHCP options is displayed.

  4. Select the option code, then click Delete.

Importing a DHCP Configuration

You can use the Management Console to import existing DHCP configuration information. The DHCP information should be in DHCP version 2.0 or 3.0 file format.

  1. Launch the Management Console by double-clicking the icon.

  2. Click the DHCP Service tab.

  3. Click Import DHCP Database.

    The Import-File Input window is displayed, requesting the location of the DHCP database file.

  4. Specify the drive and path to the DHCP database file, or use the browse button to navigate to the file.

    After you select the file to import, the path to that file is displayed in the DHCP File window.

  5. Click Next.

    The Import DHCP - Subnet List window is displayed, listing each subnet found in the configuration file.

  6. Select the desired subnet or subnets, then click Add, or click Add All to import all subnets on the list.

  7. Select the Subnet Context, then click Next.

    The Import window is displayed, indicating the subnet context and the subnets to import. (The subnet address and name are displayed on the list.)

  8. Click Import.

  9. The Server Input window is displayed, prompting you to select a default NCP server to manage the newly imported subnet.

  10. Use the browse button to select the target server, then click OK.

Exporting a DHCP Configuration

You can use the Management Console to export DHCP configuration information. You can also import the file back into the eDirectory database by using the Management Console.

  1. Launch the Management Console by double-clicking the icon.

  2. Click the DHCP Service tab.

  3. Click Export DHCP Database.

    The Export-DHCP window is displayed, requesting the filename.

  4. Specify the drive and path for the DHCP database file, or use the browse button to navigate to the file.

    After you select the file to export, the path for that file is displayed in the DHCP File window.

  5. Click Next.

    The Export DHCP - Subnet List window is displayed, listing each subnet found in the configuration file.

  6. Select the desired subnet or subnets and click Add, or click AddAll to import all the subnets on the list.

  7. Click Export.

    The Export Status window is displayed, indicating the status.

  8. Click Finish.

5.4.3 DHCP Server Management

This section describes the following tasks:

Creating a DHCP Server

Use the Management Console to create and set up a DHCP Server object. A DHCP Server object can be created or located under any of the following objects:

  • Organization (O)

  • Organization Unit (OU)

  • Country (C)

  • Locality (L)

To create and set up a DHCP server object:

  1. Click the DHCP Service tab of the Management Console.

    The Our Network object is the only object displayed on the Management Console's left pane.

  2. Click Create create on the toolbar.

    The Create New DHCP Object dialog box is displayed, enabling you to create a DHCP Server object, a Subnet object, or a Subnet Pool object.

  3. Select DHCP Server, then click OK.

    The Create DHCP Server dialog box is displayed, prompting you to select a server object.

  4. Use the browse button to select a server within the context, then click Create.

    The DHCP Server object is created and displayed in the lower pane of the Management Console.

Viewing or Modifying a DHCP Server

On the Server tab page, you can view the Subnet Address Ranges Serviced by this Server and Subnets Serviced by this Server. You can also type comments (up to 256 characters) about the server in the comments field. (Refer to Creating a DHCP Server for information about creating a DHCP Server object.) After a DHCP Server object has been created, you can double-click the server icon to display and modify detailed information about the DHCP Server object. The DHCP Server object’s detailed information window displays two tab pages, Server and Options.

On the Options tab page, you can configure policies specific to this DHCP server. You can configure the Set SNMP Traps Option parameter for None (default), Major Events, or All. You can configure the Set Audit Trail and Alerts Option parameter for None (default), Major Events, or All. You can also set the Enable Audit Trail Log on this page (the default is not enabled).

You can also configure the Mobile User Options parameter on the Options tab page to the following:

  • No mobile users allowed

  • Allow mobile user, but delete a previously assigned address (default)

  • Allow mobile user, but do not delete a previously assigned address

Another option available on the DHCP server Options tab page is Ping Enable. Use this option to have the server ping an address before the address is assigned to a device. This ensures that the address is not already in use. Pinging the address also increases network traffic.

Deleting a DHCP Server

  1. Select the DHCP Server from the lower pane of the Management Console.

  2. Click Delete delete on the toolbar.

Starting or Stopping a DHCP Server

The existing DHCP Server object is displayed in the lower pane of the Management Console.

  1. Select the DHCP Server from the lower pane of the Management Console.

  2. Click Start/Stop Service stop on the toolbar.

  3. Depending on the state of the DHCP Server module, one of the following is displayed:

    • Failure notification message: This appears if the DHCP Server module (dhcpsrvr.nlm) is not loaded. In order to start the server, load the DHCP Server module through the system console.

    • Start button: If the DHCP Server module is loaded but is in Stop mode, click the button to start the DHCP server.

    • Stop button: If the DHCP Server module is loaded but is in Start mode, click the button to stop the DHCP server.

      NOTE:To use the Start/Stop DHCP service, dhcpsrvr.nlm must be loaded.

Configuring DHCP Auditing

You can configure a DHCP server for auditing by using the Audit Trail and Alerts option on the DHCP server Options tab page.

  1. Log in to the tree containing the service you want to begin auditing, launch the Management Console, then click the DHCP Service tab.

  2. Select the desired server to perform the auditing, then click the Options tab.

  3. Select the type of auditing desired.

  4. Click the Enable Audit Trail Log check box.

  5. Click Save save on the toolbar.

Viewing or Saving the DHCP Audit Trail Log

To view the audit trail log, csatpxy.nlm must be running on the server.

  1. Log in to the desired tree, launch the Management Console, then click the DHCP Service tab.

  2. Select the server that has been configured to perform auditing, then click View Audit Trail audit on the toolbar.

    The Events Period-Audit Trail Log dialog box displays the start and end dates of the current audit trail log.

  3. Click OK to view the audit trail log for the period displayed, or modify the dates as desired and click OK.

    The audit trail log displays the following information for each entry:

    • Entry time

    • IP address

    • Type

    • Status

    • Hostname

    • Hardware address

    • Client ID

    • Lease type

  4. Click Display Options to modify the time period to view one or more specific lease types.

    The DHCP audit trail logs transactions are based on the following types of address assignment or lease:

    • Manual

    • Dynamic

    • Automatic

    • Exclusion

    • Unauthorized

    • IPCP

Viewing or Saving the DHCP Event Log

To view the event log, csatpxy.nlm must be running on the server.

  1. Log in to the desired tree, launch the Management Console, then click the DHCP Service tab.

  2. Select the server that has been configured to perform event logging, then click View Events/Alerts events on the toolbar.

    The Events Period-Events Log dialog box displays the start and end dates of the current event log.

  3. Click OK to view the event log for the period displayed, or modify the dates as desired and click OK.

    The events log is displayed, showing the entry time, severity, state, and description of each logged event.

  4. Click Display Options to select the time period to view specific event's severity and state.

    The Display Options dialog box is displayed, enabling you to change the start and end dates, display one or more types of event severity, and view specific operational states.

5.4.4 Subnet Pool Management

This section describes the following tasks:

Creating a Subnet Pool Object

A Subnet Pool object is a logical group of related Subnet objects of the same type. A Subnet Pool object can be created or located under any of the following objects:

  • Organization (O)

  • Organization Unit (OU)

  • Country (C)

  • Locality (L)

To create a new Subnet Pool object:

  1. Click Create create on the toolbar.

  2. Select Subnet Pool, then click OK.

  3. Specify a unique name for the Subnet Pool object.

  4. Use the browse button to select the eDirectory context where the Subnet Pool object will be created.

  5. Click OK.

After a Subnet Pool object has been created, you can select it and click the Define Additional Properties check box to display the detailed information window. From this window, you can add and remove Subnet objects for the Subnet Pool object. Only Subnet objects with the same range type can be added to a Subnet Pool object.

Viewing or Modifying a Subnet Pool Object

Click Add to bring up a dialog box with a list of available Subnet objects (either LAN or WAN) to be added to the list. After a Subnet object has been added to the Subnet Pool object, its eDirectory distinguished name is updated in the Subnet object's Subnet Pool List attribute.

Deleting a Subnet Pool Object

  1. Click the DHCP Service tab of the Management Console.

  2. Select the Subnet Pool object you want to delete.

  3. Click Delete delete on the toolbar.

5.4.5 Subnet Management

This section describes the following tasks:

Creating a Subnet Object

Use the Management Console to create and set up a DHCP Subnet object for each subnets where you will assign addresses.

  1. Click the DHCP Service tab of the Management Console.

    The Our Network object is the only object displayed on the Management Console's left pane.

  2. Click Create create on the toolbar.

    The Create New DHCP Object dialog box is displayed, enabling you to create a DHCP Server, Subnet, or Subnet Pool object.

  3. Select Subnet, then click OK.

    The Create Subnet dialog box is displayed. For each subnet you create, type the subnet name, eDirectory context, subnet address, and subnet mask in the fields provided. If you have set up a default DHCP server, its name is displayed and can be changed.

    You can click the Define Additional Properties check box to provide more detailed configuration information, including DHCP options specific to each subnet.

  4. Provide the required information, then click Create.

    The DHCP Subnet object is created and displayed in the left pane of the Management Console.

Viewing or Modifying a Subnet Object

After a Subnet object has been created, you can use the Management Console to display three tab pages of detailed information about the Subnet object, address, subnet options, and other DHCP options. (For information about creating a Subnet object, refer to Creating a Subnet Object.)

Addressing Page

This page displays Subnet Address, Mask, and Type attributes from information provided when the object was created. If you need to make changes to these attributes, you must delete the Subnet object and re-create it.

You can modify the subnet pool reference from the default (none) to the subnet pool to which this Subnet object is assigned.

If you plan to use Dynamic DNS, this is where you configure the DNS zone for dynamic updating (DDNS) and Domain name.

You can also modify the subnet's default DHCP Server on the Address tab page and type up to 256 characters of information in the Comments field.

Subnet Options Page

You can configure lease types. A lease type can be permanent or timed. If you specify leases to be timed, specify the lease duration in days, hours, and minutes.

You also specify the settings for Set Boot Parameter options on the Subnet Options page.

Other DHCP Options Page

The DHCP options can be configured from this page. Any options that are set for this subnet are displayed here. You can set additional DHCP options by clicking Modify which displays the Modify DHCP Options window. You can add DHCP options from the Available DHCP Options list.

Click Default to display the Default DHCP Options window, which lists all DHCP options and values configured for a subnet.

IP Address Utilization Page

This page provides the details about the usage of IP addresses in a subnet, such as the total IP addresses, the utilized IP addresses, the available IP addresses, the excluded IP addresses, and the percentage utilization.

Click Get Details to view the IP address utilization details of the subnet.

Deleting a Subnet Object

  1. Click the DHCP Service tab of the Management Console.

  2. Select the Subnet object you want to delete.

  3. Click Delete delete on the toolbar.

5.4.6 Address Range Management

This section describes the following tasks:

Creating a Subnet Address Range Object

Use the Management Console to create and set up Subnet Address Range objects for each pool of addresses you want to be dynamically assigned by DHCP.

  1. Click the DHCP Service tab of the Management Console.

  2. Select the Subnet object where you want to create the Subnet Address Range object, then click Create.

    The Create New DHCP Record dialog box is displayed.

  3. Select Subnet Address Range, then click OK.

    The Create New Subnet Address Range dialog box is displayed.

  4. Specify a name for the subnet address range, specify the starting and ending address of the range, then click Create.

    If you click the Define Additional Properties check box, the range's detailed information window is displayed, enabling you to provide more detailed configuration information.

Viewing or Modifying a Subnet Address Range Object

  1. Select the object you want to modify.

    This displays the objects in the left pane of the DHCP Service window.

  2. Click the Subnet Address Range object.

    This will displays its detailed information in the right pane.

  3. You can modify the following range type options:

    • Dynamic BOOTP

    • Dynamic DHCP with Automatic Host Name Generation

    • Dynamic DHCP

    • Dynamic BOOTP and DHCP (the default)

    • Excluded

    You can also specify a DHCP server other than the default server for this Subnet Address Range object.

Refer to Creating a Subnet Address Range Object for information about creating a Subnet Address Range object.

Deleting a Subnet Address Range Object

  1. Click the DHCP Service tab of the Management Console.

  2. Select the subnet address range you want to delete.

  3. Click Delete delete on the toolbar.

5.4.7 IP Address Management

This section describes the following tasks:

Creating an IP Address Object

You use the Management Console to create and set up any IP address objects to be assigned to specific devices or to be excluded from dynamic assignment. Create an IP address object for each such device or address. Assigning a specific address to a client requires that you specify the client's media-access control (MAC) address or Client ID.

If you have set up subnets and subnet address ranges, you are not required to set up individual IP addresses unless you want to perform manual address assignment or exclude addresses from assignment.

To create and set up an IP address object:

  1. Click the DHCP Service tab of the Management Console.

  2. Select the Subnet object of the target IP address, then click Create create on the toolbar.

    The Create New DHCP Object dialog box is displayed.

  3. Select IP address, then click OK.

    The Create IP Address dialog box is displayed.

  4. Specify the IP address to be assigned or excluded, select the assignment type, then click Create.

    If you select Manual Assignment Type, you must provide information for either the Client Identifier or the MAC Address fields. You can also specify the MAC Type by clicking in the field; the default is FF Any.

Viewing or Modifying an IP Address Object

After an IP address object has been created, its detailed information window displays three tab pages: Address, Usage, and Other DHCP Options. (Refer to Creating an IP Address Object for information about creating IP address objects.)

Address Page

On this page, the IP Address field of the object is displayed in read-only format. You can set the Assignment Type parameter to Manual or Excluded, and you can specify a client identifier.

You can change the MAC type from the default FF Any to any of the following:

  • 15, Frame Relay

  • 16, Asynchronous Transfer Mode (ATM)

  • 17, HDLC

  • 18, Fibre Channel

  • 19, Asynchronous Transfer Mode (ATM)

  • 20, Serial Line

  • 21, Asynchronous Transfer Mode (ATM)

You can type the IP address’s MAC address, hostname, and DNS domain suffix, and identify an eDirectory object to use a specific IP address on this page.

Usage Page

This page displays the IP Address Lease Expiration option, which can be either Permanent or Timed. If Timed is selected, the year, month, day, hour, and minute that the lease expires is displayed.

Other DHCP Options Page

DHCP options can be configured from this page. Any options that are set for this IP address object are displayed here. You can set additional DHCP options by clicking Modify.

Deleting an IP Address Object

  1. Click the DHCP Service tab of the Management Console.

  2. Select the IP Address object you want to delete.

  3. Click Delete delete on the toolbar.

5.4.8 Command Line Options

See Command Line Options for information.