Please help with networking problem!

pduan87

[H]ard|Gawd
Joined
Dec 31, 2001
Messages
1,923
Right now I am connected to a LAN and I get on the internet through the use of a wireless adapter that is not connected to the LAN. I have windows XP and I would like to use ICS in order to connect the computers on the LAN to the internet. The problem that I am running into is that when I enable both the LAN and wireless connection on my computer, all of my web access is shut down. Only when I disable the LAN and leave the wireless on can I go onto the internet. Does anyone know how to make it so that I can leave both on, surf the net, as well as share the connection with the other computers on my network?
 
On the LAN connection, do you automatically get assigned an IP address, else is a gateway set on that interface? My guess is that maybe the LAN connection has priority over the wireless connection, and when both are active, your OS is trying to route all packets through the wired connection. You can verify this by executing a "route print" and seeing if the LAN gateway has a smaller metric than the wireless gateway.

If this is the problem, it can be corrected by opening Network Connections through the control panel, click on Advanced->Advanced Settings and escalate your wireless connection higher in priority.

But even if this is the problem, XP should take care of this issue when you setup ICS and tell it which is the shared connection and which is the connections through which clients should connect.
 
If you set a static IP address on your LAN interface and then DON'T give that interface a default gateway at all, everything should work. If your LAN is a single big subnet then nothing else needs to happen. If your LAN has multiple subnets then you need to use the "route add" command with the "-p" option to add persistent routes for your LAN IP address range(s) through the gateway on your LAN subnet.
 
Back
Top