Why is my Internet Connection Sharing mysteriously broken?

1

I have a strange problem with Internet Connection Sharing on a laptop running Vista Business. This laptop is connected to the internet via the ethernet port, which goes to an ADSL modem. it is automatically assigned the IP address 192.168.1.50, and the modem/gateway is 192.168.1.1

My friends laptop is running Vista Home. Previously, I would create an ad hoc wireless network, enable ICS, and everything would be perfect. My friend would have internet access via this.

However, something has now mysteriously broken. If I enable ICS on the wireless connection, it resets my Local Area Connection, assigning it the manual IP address of 192.168.0.1, which means my connection to the internet is destroyed. Both wireless adapters on each network are assigned auto configuration addresses, in the 168. range.

They can see each other fine, but my friends laptop cannot access the internet via mine, even after I have restored the Local Area Connection settings.

I understand the computer with ICS enabled must have the IP of 192.168.0.1, but previously, before whatever went wrong, my wireless adapter would be 192.168.0.1 and my friends computer would get an IP via DHCP.

I have also tried setting static IP address and making a bridge, none of which works. How can I fix this problem, and prevent enabling ICS from touching my Local Area Connection?

Both machines have no firewall, have appropriate settings etc...

Bill Grey

Posted 2009-09-17T23:51:38.647

Reputation: 273

Answers

1

this is perfectly normal. to enable ICS you'll need 2 NICs in your computer (or 1 modem + 1 NIC if on dial up).

NIC #1 (192.168.1.50) connects to your router (the internet) via DHCP, NIC #2 is on a static address (IP 192.168.0.1/Subnet 255.255.255.0) and the internet connection on NIC #1 is shared. now another computer can connect to NIC #2 (either static with IP 192.168.0.21/Subnet 255.255.255.0/Gateway & DNS 192.168.0.1 or via DHCP).

if NIC #2 is a wireless adapter it must support AP mode in order to get it working. so make sure access point mode is enabled for your wireless adapter.

Molly7244

Posted 2009-09-17T23:51:38.647

Reputation:

Nooooo. The problem is that NIC 2 should be the ICS enabled NIC with the static IP of 192.168.0.1, but instead, enabling ICS overwrites the settings for NIC 1, thereby destroying the internet connection. This is not notmal behaviour, and was not happening previously. – Bill Grey – 2009-09-18T00:30:54.047

when you enable ICS, you'll be asked for a connection to share, there you'll have to select NIC #2, then NIC #1 will be configured for static address. – None – 2009-09-18T00:38:15.490

Yes, I know. The problem is that sharing my internet connection has resulted in the internet connection itself being configured in such a way as to lose internet. This is abnormal behavior, and has only started happening recently. – Bill Grey – 2009-09-18T01:47:36.453

the key here is AP mode, did you change the controller settings recently? it must be configured as access point. – None – 2009-09-18T02:15:28.013

My driver does not have any option to enable or set AP mode, and I did not previously set it. No driver settings have been changed at all, and I can set up an adhoc network without a problem. – Bill Grey – 2009-09-18T15:11:00.777

0

I suggest reinstalling the NICs drivers, or maybe a system restore can solve this.

user8228

Posted 2009-09-17T23:51:38.647

Reputation:

Already tried, and no, a system restored changed nothing... – Bill Grey – 2009-09-18T16:32:56.930