Setting Up DHCP

This section provides the following procedures required to accomplish a basic DHCP setup:

This section does not describe how to enable all the available features. For more information refer to Detailed DHCP Configuration


DHCP Prerequisites

The following steps must be completed prior to setting up DHCP:

  1. Load NetWare 5 on the selected server or servers.
  2. Load the Novell Client software delivered with NetWare 5 on client computers that will be used to administer DNS and DHCP.
  3. Install the DNS/DHCP Management Console on client computers that will be used to administer DNS and DHCP.

Logging In to the Tree for DHCP Setup

To complete the steps required to set up DHCP, you must first log in to the tree where NetWare 5 has been installed.

To log in to the server, complete the following steps:

  1. Right-click Network Neighborhood and select NetWare Login on a NetWare 5 client workstation on which you have installed the DNS/DHCP Management Console.

    The NetWare Client login dialog box is displayed.

  2. Under the Login tab, enter your user name and password, then click Connection.

  3. Under the Connection tab, enter the Tree, Server, and Context of the server on which you have installed NetWare 5, then click OK.


Launching the DNS/DHCP Management Console for DHCP Setup

Launch the DNS/DHCP Management Console by double-clicking its icon. The DNS/DHCP Management Console can be installed on a client workstation, or it can be accessed from the Tools menu of the NetWare Administrator utility.

When the DNS/DHCP Management Console loads, you are prompted to enter the NDS Tree Name where you want to set up DHCP.


Setting Global DHCP Options

You use the DNS/DHCP Management Console to set global DHCP options. Setting global DHCP options is not required to set up DHCP, however.

To set global DHCP options, complete the following steps:

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

  2. Click Global Preferences on the Tool Bar.

    The Global Preferences window is displayed listing code, name, and value of any global DHCP options selected. Two other tab pages are available. One shows any global DHCP defaults set for the selected object; the other is the DHCP Options Table.

  3. Click the Global DHCP Defaults tab, then click Add.

    The Add Exclude Hardware Address dialog box is displayed. Any devices or addresses you configure here will be excluded from any global defaults or global options.

    An asterisk (*) can be used as a wild card character to select a range of addresses to exclude. The asterisk can be used only as a trailing character, however. It cannot be used as a prefix or in the middle of a hardware address.

    The default delimiter for hardware addresses is a colon (:), but a dash (-) or period (.) can also be used. Only one type of delimiter can be used within an address.

  4. Click in the Hardware Type field to select a type of hardware to exclude, and enter an address in the Exclude Hardware Address field.

    You can use the wild card character (*) and a different delimiter if you choose.

  5. Click the DHCP Options Table tab.

    A list of DHCP options is displayed, listing all available DHCP options including codes, data syntax, and the option name. For detailed information about DHCP and BOOTP options, refer to Setting Global DHCP Options.

  6. Select a desired option from those listed, then click Add.

    When you select a DHCP option, if any additional information is required to support the option, you are prompted to provide that information. For example, if you select option 85 for NDS Server, you are prompted to supply the IP address of the NDS Server.

  7. Provide any requested information specific to the selected option, then click OK.

    The Global Preferences dialog box is displayed, listing the global options that have been set.

  8. When you have completed selecting global DHCP options, click OK.


Creating a DHCP Server Object

You use the DNS/DHCP 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:

To create and set up a DHCP server object, complete the following steps:

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

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

  2. Click Create on the Tool Bar.

    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 and 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 DNS/DHCP Management Console.


Creating a Subnet Object

You use the DNS/DHCP Management Console to create and set up a DHCP Subnet object for each of the subnets to which you will assign addresses.

To create and set up a Subnet object, complete the following steps:

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

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

  2. Click Create on the Tool Bar.

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

  3. Select Subnet and click OK.

    The Create Subnet dialog box is displayed. For each subnet you create, enter the following information in the fields provided: subnet name, NDS context, subnet address, and subnet mask. If you have setup 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, including DHCP options specific to each subnet.

  4. Enter the required information, then click Create.

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


Creating Subnet Address Ranges

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

To create and set up a Subnet Address Range object, complete the following steps:

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

  2. Select the Subnet object under which 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 and click OK.

    The Create New Subnet Address Range dialog box is displayed.

  4. Enter a name for the Subnet Address Range, specify the range's starting and ending address, 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. For more detailed configuration information, refer to Detailed DHCP Configuration.


Creating IP Address Objects

You use the DNS/DHCP 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 you to 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, complete the following steps:

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

  2. Select the Subnet object of the target IP address, then click Create on the tool bar.

    The Create New DHCP Object dialog box is displayed.

  3. Select IP Address and click OK.

    The Create IP Address dialog box is displayed.

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

    If you choose 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.


Starting the DHCP Server

After you have created and set up a DHCP server and configured the NDSTM objects required for DHCP, enter the following command at the DHCP server console:

LOAD DHCPSRVR

After you load DHCPSRVR.NLM, the DHCP server can respond to client requests and assign IP addresses. For information about other command line options, refer to DHCPSRVR Command Line Options


Configuring Clients to Use DHCP

Configuring clients to use DHCP is performed at the client workstation.

To configure Windows 95 and Windows NT* client workstations to use DHCP, complete the following steps:

  1. At the client desktop, select Start > Settings > Control Panel, then double-click Network.

    The Network window is displayed, listing the network components installed on the client workstation.

  2. Select TCP/IP and click Properties.

    The TCP/IP Properties window is displayed, usually showing the IP Address tab page.

  3. Select Obtain an IP Address Automatically, then click OK.

The next time the client starts up, it will send a request to the DHCP server for an IP address.

IMPORTANT:  Any client configuration settings override the configuration received from a DHCP server. The only exception is the hostname parameter set on the DNS Configuration tab of TCP/IP Properties window.



Previous | Next