How to Change the IP Range for the Internet Connection Sharing DHCP service

Article translations Article translations
Article ID: 230148 - View products that this article applies to.
This article was previously published under Q230148
Expand all | Collapse all

SUMMARY

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

MORE INFORMATION

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
To change the IP range of the DHCP service on the Connection Sharing 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 Connection Sharing 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 Connection Sharing settings is possible in the manner that is described in this article, Microsoft Product Support Services will not assist with customizing IP settings for Connection Sharing beyond the default configuration. 

Windows 7

To change the IP address that is assigned to the host and the IP address range that is used by the DHCP service on the Connection Sharing host, use Registry Editor to change the following values. These values are located in the following folder:
HKLM\System\CurrentControlSet\services\SharedAccess\Parameters 
  • (REG_SZ) ScopeAddress
  • (REG_SZ) StandaloneDhcpAddress
The ScopeAddress value is set to the address range that you want to use with Connection Sharing. The StandaloneDhcpAddress value is the address range that is used when Virtual Wi-Fi/SoftAP is enabled. For both values, a network mask of 255.255.255.0 is used and is not configurable.

This content applies to Windows XP and to Windows 7. For information about how to back up the registry in Windows 7, visit the following Mirosoft website:
 http://windows.microsoft.com/en-us/windows7/Back-up-the-registry

Properties

Article ID: 230148 - Last Review: January 17, 2011 - Revision: 2.0
APPLIES TO
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • Windows 7 Home Basic
  • Windows 7 Home Premium
  • Windows 7 Professional
  • Windows 7 Ultimate
Keywords: 
kbenv kbhowto kbnetwork KB230148
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com