How to Change the IP Range for the ICS DHCP Service

ID: Q230148


The information in this article applies to:

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

SUMMARY

This article describes how to change the Internet Protocol (IP) range for the Internet Connection Sharing (ICS) Dynamic Host Configuration Protocol (DHCP) service.


MORE INFORMATION

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).

To change the IP range of the DHCP service on the ICS Host, follow these steps:

  1. Use Registry Editor to modify the data value of the IntranetInfo value in the following registry key:
    Hkey_Local_Machine\System\CurrentControlSet\Services\ICSharing\Settings\General
    The first number listed is the IP address of the internal IP address of the ICS host. The second number is the subnet IP address separated by a comma. Enter the first IP address of the new range followed by the subnet mask, separated by a comma. (For example, 169.254.0.1,255.255.0.0.).


  2. Modify the data value of the Start value in the following registry key:
    Hkey_Local_Machine\System\CurrentControlSet\Services\ICSharing\Addressing\Settings
    Change the value to the second address of the selected IP range. This address cannot be the same or a lower value than the IP address used for the IntranetInfo key.


  3. Modify the data value for the Stop value in the same registry key. Enter the last the IP address of the selected IP range.


  4. Click Start point to Settings, click Control Panel, and then double-click Network.


  5. Double-click TCP/IP (Home)->Network Adapter.


  6. On the IP Address tab, enter the value you specified for the IntranetInfo value in the Specify an IP Address box. In the Subnet Mask box, enter the value you used for the subnet mask in the registry.


  7. Click OK, and then click OK. When you are prompted to restart your computer, do so.


  8. After the computer restarts, wait one minute.


  9. On each client, click Start, click Run, type winipcfg, and then click OK.


  10. Click Release All, and then click Renew All.


Although altering these specific ICS settings is possible in the manner described in this article, Microsoft Product Support Services will not assist with customizing IP settings for ICS beyond the default configuration.

Additional query words:


Keywords          : kbenv kbnetwork win98se 
Version           : WINDOWS:
Platform          : WINDOWS 
Issue type        : kbhowto 

Last Reviewed: June 8, 1999