Networking troubles

Kurt

Newcomer
Motherboard is a Gigabyte P35-S3 1.0 with integrated Realtek 8186 chip.
Static IPs, no DHCP. PC is connected via WLAN stick to a wireless router, which is configured as standard gateway on all connected machines.
If I connect my Laptop or the NAS (both with static IPs) via patch cable to the LAN port of the PC, the wireless connection on the PC immediately dies, ie I can't ping the router anymore.
There seems to be a problem with two active network adapters on the PC, yet no problems on the Laptop, the built-in WLAN adapter continues to work just fine.
What am I missing? Could it be a software problem. Laptop is running Vista, PC has WinXPro.
TIA :)
 
if you go to control panel >> network connections
right click your wireless network connection
go to properties
go to the sharing tab
do you have the allow other network users to connect .... checked?

--------
make sure you have the same workgroup for all the devices

--------
there is a way to prioritize what adapter gets used first for networking. I think that it isnt properly prioritized. Let me see if i can google how to do get to that window.
 
Hi,

No, ICS is dsiabled for both WLAN and LAN connections. I don't think it would work with my current setup of static IPs anyway, as Windows threatens to change the NIC's IP to xxx.xxx.xxx.1 with ICS enabled (which is my router's IP = gateway, so no go).

As for priorizitation, I've tried to assign a lower IP to the WLAN connection to no avail.
So basically what I have now is this ---------> LAN cable plugged = no connection with wireless router (actually the connection never quits, it's more like no traffic gets routed through the WLAN adapter which has the same effect)
As soon as I unplug the cable or disable the NIC via control panel, the wireless connection goes back on. For some reason the WLAN seems to yield to the LAN connection.

The odd thing is that the laptop shows no such symptoms at all. I tried to duplicate the settings on the PC as best as I could, but so far no luck.

PS: All adapters are in the same subnet, workgroup, etc.

Are there any ipconfig switches that allow you to manipulate the order or something?

PPS: It's a Realtek 8168 FWIW
 
Last edited by a moderator:
have you tried it with all your firewalls turned off ?

ps: patch cable ? is that a crossover cable or normal ?

pc --> pc needs cossover
pc --> router needs normal
 
ok, now i remembered. Go to control panel >> network connections
press ALT, go to the advanced drop down menu. Pick advanced settings.

You need to reorder the connections section. This should do it. :)
 
Thanky ou! Unfortunately they were in the correct order already. Just to make sure I switched them around, though - with predictable results.
Meanwhile I've googled a bit more and found one guy with the same issue, but the site requires you to sign up and pay in order to view the solution. Pretty f*cked up.

http://www.experts-exchange.com/Hardware/Networking_Hardware/Wireless/Adapters/Q_22907547.html

Except in his case it's a laptop that's not working, while for me it's a PC.

Anyone registered there ;)?
 
Motherboard is a Gigabyte P35-S3 1.0 with integrated Realtek 8186 chip.
Static IPs, no DHCP. PC is connected via WLAN stick to a wireless router, which is configured as standard gateway on all connected machines.
If I connect my Laptop or the NAS (both with static IPs) via patch cable to the LAN port of the PC, the wireless connection on the PC immediately dies, ie I can't ping the router anymore.
There seems to be a problem with two active network adapters on the PC, yet no problems on the Laptop, the built-in WLAN adapter continues to work just fine.
What am I missing? Could it be a software problem. Laptop is running Vista, PC has WinXPro.
TIA :)

Hey there!
Im gonna summarize to make sure I understand your setup correctly. Please correct any errors I have mand in my assumptions.
You state later that all devices are on the same subnet, so Im adding fake ip addresses which I think you are most likely using. Then I will offer a possible solution, and explanation.

You have a wireless route with a built in switch.(192.168.1.1/24)
You have 3 computers.
1 PC with wireless adapter connecting it to wireless. (192.168.1.10/24)
1 NAS device (192.168.1.15/24)
1 Laptop.(192.168.1.11/24)
The default gateway on the all devices is 192.168.1.1 (wireless router internal interface).

When connecting a machine to two different physical networks (wireless included) the PC needs to understand which physical network that data needs to be sent over to get to its destination (your default gateway, or your router). If the physical networks on the ethernet interface and wireless interface are assigned to the same subnet, the PC then has to make a choice on where it should send the traffic to.

In the configuration I describe above the pc will have to choose if it should use the copper or wireless interface. 50/50 chance you hit the right one, and most likely will not work due to murphys law.

If you try a configuration like the following does it work with your pc?

Wireless gateway - 192.168.1.1 255.255.255.0
PC wireless - 192.168.1.10 255.255.255.0
PC Ethernet - 10.1.1.10 255.255.0.0
Nas or Laptop ethernet port that is directly connected to PC - 10.1.1.15 255.255.0.0

This should work to allow your pc to talk with wireless and still talk directly with another device over the copper ethernet connection.

This setup allows your PC to understand that if you want to talk with the world through your wireless router (192.168.1.1) then the PC needs to use the PC's wireless network (192.168.1.10) because your default gateway and that interface are on the same network. The PC will also understand that if it needs to talk with the other device on the 10.1.1.15, then it will need to send the data to the ethernet interface with an address on that network. On the PC it would know to send 10.1.1.xxx traffic out the copper ethernet interface because it is on that network (10.1.1.10).

BTW Vista has ICS enabled by default I think. at least mine did on the laptop I purchased.

Ask if you have any questions over that. Hopefully my description is good. =)
 
I caved in and enabled DHCP. Problem solved for now. At least I can connect Laptop and PC by cable without losing internet connectivity.
You were right, Windows uses autoconfig (169.xxx.xxx.xxx) for the P2P ethernet connection and retaines 192.xxx.xxx.xxx for both wireless adapters connected to the router.
I just hope the router's DHCP won't reassign IPs every time, lest port forwarding stops working. I might go back later and try what you suggested by hand, ie static IPs, different subnets.

Thanks all. :)
 
Back
Top