Skip to main content

Changing ICS Sharing IP in Windows XP

ICS (Internet Connection Sharing) in Windows XP is quite useful in few occasions. Like if you have a laptop connected to a wired connection and you want to share your connection to other wireless devices, then it can be handy. Note that Windows XP works quite well as Wireless AP in adhoc mode.

There are cases where your wired connection IP range will be in 192.168.0.x, in this case ICS and adhoc sharing will not work, not at least without some tweaks.

To put this in perspective, here is my network.

[Cable Provider (network1)]--[Home Network (network2)]--[XP Machine with ICS (network3)]

My high speed internet connection from my cable company provides dynamic ip in the range 66.90.106/22, let me call this network1.

My second network (network2), is my home network. This is a wireless AP with wired capability. I was too lazy when I setup this network and used the default. So its network is 192.168.0/24. Well, this is the same network that ICS is using.

For my network3, of course using ICS, it is also 192.168.0/24 network. So this is where the issue starts.

There are various ways to fix this but I have two at hand. One option would be to change my wireless AP network address. Second option is to change ICS IP address.

Since I have some time today, I am exploring the ICS option.

To recap, ICS network are by default in the 192.168.0/24 form. Since this is used by my netowrk2, we will try to tweak this a little bit.

When we did the ICS, we shared it to an interface, let us call this "Local Area Connection". If you check "Local Area Connection", you will notice that it is assigned an IP address of 192.168.0.1. To get the devices connected to network3, we would change "Local Area Connection" to:

IP: 192.168.2.1 (or any private IP range)
Netmask: 255.255.255.0
Default Gateway : <blank>

Now, for devices connected to netowork3, we need to change IP manually to:

<device1>
IP: 192.168.2.10
Netmask: 255.255.255.0
Default Gateway: 192.168.2.1 <IP of "Local Area Connection">
Preferred DNS: 8.8.8.8 <Google Public DNS server>
Alternate DNS: 8.8.4.4 <Google Public DNS server>

That's it... your third network should now be able to connect to the internet. This solution is not perfect. In fact, I am having "Windows IP Conflict" every now and then which I am trying to chase down.

Update: (2010/05/15)
It seems like the Windows IP Conflict was caused by "AGN Filter Interface" or "AT&T Wi-Fi Support Driver".

~ts

Comments

Popular posts from this blog

The following add-ins could not be started MonoDevelop.GnomePlatform

Installing MonoDevelop in OpenSUSE 12.2 from its repository was very easy. When running it for the first time though I got the message: The following add-ins could not be started: The root of the trace shows MonoDevelop.GnomePlatform,2.8 A quick search shows that MonoDevelop depends on libgnomeui . This should have been part of dependencies when installing the application but well.... Below is the screen shot of the error message. References: http://software.1713.n2.nabble.com/MonoDevelop-and-openSUSE-12-1-td7462957.html [2013/04/09] - Same issue observed in OpenSUSE 12.3 and also the same fix. [2014/11/02] - Same issue observed in OpenSUSE 13.3, mondevelop 3.0.6 and the same fix.

Error! Could not locate dkms.conf file install VirtualBox 4.1.8 on Ubuntu 11.10

Tried to update my Ubuntu host today and it did pickup that new version of VirtualBox is available (4.1.8). All other packages installed properly except that VirtualBox installation was complaining about missing dkms.conf file, see error message below. $: sudo /etc/init.d/vboxdrv setup * Stopping VirtualBox kernel modules [ OK ] * Uninstalling old VirtualBox DKMS kernel modules Error! Could not locate dkms.conf file. File: does not exist. [ OK ] * Trying to register the VirtualBox kernel modules using DKMS [ OK ] * Starting VirtualBox kernel modules [ OK ] Though it looks like installation was fine but I am concerned about its effects to VirtualBox functionality. To fix this, do: $: cd /var/lib/dkms/vboxhost $: sudo rm -r 4.1.4 $: sudo /etc/init.d/vboxdrv setup Of course you have to re