DHCP

This section provides the following troubleshooting information for DHCP:


Troubleshooting Checkpoints

  1. Verify that IP hosts with DHCP-assigned parameters operate the same as when you manually configured them.

    If an IP host does not operate the same as when it was manually configured, verify that the parameters assigned by DHCP are the same as those when the host was manually configured.

    If a node is intermittently inoperable, verify that the node is not using the same IP address as another IP host. If a duplicate IP address exists, verify that there is only one DHCP server for the subnet. Also verify that the IP addresses assigned by the DHCP server are not being used by manual nodes.

  2. Verify that all DHCP hosts can obtain a DHCP lease when required.

    If DHCP hosts cannot obtain a DHCP lease when required, verify that enough leases exist to accommodate all hosts that use DHCP. If there are too few leases, obtain more IP addresses and configure more leases or reduce the lease time to a few hours. This ensures that more leases are made available to other clients that are waiting to use the IP addresses.

    If a Windows 95 client cannot acquire a lease and responds with the messageUnable to obtain an IP network address the client requires a longer timeout. This problem might occur when the client and DHCP server are separated by one or more routers. To increase the timeout for Windows 95 clients, obtain a patch from Microsoft. The patch is dated 2/12/96 and includes a file named VDHCP.386. The patch itself is named DCHCPUPD.EXE.

  3. Verify that the number of leases available for clients does not decrease when you are using mobile clients.

    If the number of leases available for clients decreases when you are using mobile clients, verify that the mobile clients' lease is released when the client connects from a remote office or that the mobile client can use the same lease and the same IP address at the new location.


Common Operational Problems

The following list describes the most common operational errors that occur.


Releasing and Renewing DHCP Addresses

When a host is powered on, it is leased an IP address for a period of time, depending on the configuration settings of the subnet from which the address is assigned. If the machine is moved to another network while the original IP address lease is still valid, the user must release the lease. Other situations might also require that a lease be released, such as the use of a laptop computer in different locations of a given network.


Windows 95

To manually release and renew a DHCP-assigned IP address in Windows 95, complete the following steps:

  1. Select Start, then Run.

  2. Type winipcfg and press Enter.

    The IP Configuration dialog box is displayed.

  3. Click Release All.

    The IP Address, Subnet Mask, and Default Gateway fields should display no addresses.

  4. Click Renew All.

    New addresses should appear in the IP Address, Subnet Mask, and Default Gateway fields.

  5. Click OK to close WINIPCFG.


Windows NT

To manually release and renew a DHCP-assigned IP address in Windows NT, complete the following steps:

  1. Select Start > Programs > MS-DOS Command Prompt.

  2. From the DOS prompt, execute the command

    ipconfig /release

    A message is displayed indicating that the assigned IP address has been successfully released.

  3. From the DOS prompt, execute the command

    ipconfig /renew

    A message is displayed indicating the new IP address that has been assigned.

    To review DHCP settings,

  4. From the DOS prompt, execute the following command to review DHCP settings:

    inconfig /all