Home of DJ and technophile Jonathan Puddle (aka J Puddy)
Changing the DHCP range for Internet Connection Sharing in Windows 7
ICS, or Internet Connection Sharing, is a simple method to share the internet connection on your computer with other local computers. It’s fairly simplistic in it’s approach, and not a lot of configuration is available. Which is by design, it’s not meant to be a robust routing solution. One drawback is that the DHCP range is not easily configurable (the range of IP addresses your computer gives out to the network). This is a problem if your existing home network uses the same IP range as the ICS range… or in my case, if your work VPN uses the same range as ICS. I connect my laptop to my Xbox 360 (cause I’m too cheap at present for their 70€ wireless adapter), but it means I can’t work from my laptop after I set up ICS.
Luckily, there are workarounds. In Windows 9x, Microsoft offered a simple registry hack to change the IP range, which did the trick wonderfully. In Windows XP, Vista and Windows 7, however, it’s not so simple; you cannot actually change the DHCP range, but you can still make ICS bow to your demands. Once you’ve set up ICS, go to the adapter that ICS is available on, and you’ll see a static IP has been set. You can change this IP to whatever you’d like, in any subnet you want. The caveat is that DHCP will no longer function, so in order for ICS clients to work, they’ll need a static IP in the same subnet as you configured for the PC. Then just set the router and DNS addresses as your PCs address, and you should be in business. For me and my Xbox 360, this solution works just fine.
Thanks to Steve for pointing out this was possible, after numerous other searches said it was not possible.
| This entry was posted by Jonathan Puddle on November 11, 2009 at 9:02 am, and is filed under IT Industry, Video Games. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
about 9 months ago
please take a look in the rigistry key in Windows 7 my build 7100
here is the key please do not import just find then change the ICS IP Address:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SharedAccess\Parameters]
“ServiceDll”=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
69,00,70,00,6e,00,61,00,74,00,68,00,6c,00,70,00,2e,00,64,00,6c,00,6c,00,00,\
00
“ServiceDllUnloadOnStop”=dword:00000001
“ScopeAddress”=”192.168.137.1″
“ScopeAddressBackup”=”192.168.137.1″
“SharedAutoDial”=dword:00000000
“StandaloneDhcpAddress”=”192.168.173.1″
Let try, hope this help!
/wichets
about 9 months ago
Procedure for Change DHCP Scope IP address for Windows 7 ICS
1. Stop ICS services
2. Edit Registry [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SharedAccess\Parameters
2.1 Replace IP address in “ScopeAddress”,”ScopeAddressBackup” to what you want.
2.2 Change the IP Adress in the TCP IP Setting Tab in the second Nic to the First IP Address of That subnet and the First NIC connect to internet.
3. Start The ICS services
4. See what DHCP has change to new IP that assigned to cliens
5. Reboot you PC if need.
/wichets
about 1 week ago
Works perfect, thank you very much.