Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 300
  • Last Modified:

Wired and Wireless Internet Connection Conflicting each other?

In theory, wireless & ethernet networks should not interfere with each other. in our office laptop user preferred wired connectivity but also wanted wireless.  In some cases where I re-install driver either wireless / wired adapter, the device could access the internet again (internet). So far only happened to Win 7 64 bit.

our internal wired and wireless clients get IP addresses from the same DHCP (different subnet on wired and wireless). The problem is, I have internet access via default gateway of the wired connection, but don't via gateway of the wireless or wise versa. what's the use case for having both interfaces live?
0
ethanwong
Asked:
ethanwong
  • 6
  • 6
  • 2
  • +1
1 Solution
 
marine7275Commented:
None. When you are wired on the LAN, shutdown your wireless. You are eating up 2 IP addresses and this could cause you headaches too if have a descent sized network.
0
 
Rob WilliamsCommented:
Windows will only support one gateway.  If both connections are to be active at the same time, there can be routing and DNS siisue if on the same subnet.  If on two subnets, as mentioned there can only be one gateway as it is the "Default" gateway i.e. to be used when no other route is present.  You can create static routes to specific IP's or subnets via either interface.
0
 
Darr247Commented:
Unless there's a manual route set, traffic generally flows through whichever interface has the lower metric when you run
route print
at a command prompt.

Depending on the connection speed of the wireless connection, it could end up with a lower metric than a wired connection. See the tables in Microsoft's Knowledgebase Article 299540.
The upper table pertains to XP SP3 and newer (see list at bottom of that KB article)... the lower table is for XP SP2.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Rob WilliamsCommented:
Keeping in mind that metrics do not work properly with multiple default gateways in Windows.  In theory you can have two default gateways and assign metrics as to the priority. If for any reason a connection is lost to the primary metric/gateway, even briefly, it will switch to the lower priority metric automatically as it should, however it will never restore the other without rebooting the machine.
0
 
Darr247Commented:
> however it will never restore the other without rebooting the machine.


I think the routing table is also rewritten if any network interface changes its status, too (e.g. disconnects and reconnects). I'm not sure if merely renewing its DHCP lease will do so, though.
0
 
Rob WilliamsCommented:
It is supposed to change if the device status changes but that is the failure point.  It changes if the primary fails but it never restores if the alternate/lower metric if it fails fails.
0
 
ethanwongAuthor Commented:
Are there any best practice settings? Set metric for both wired and wireless manually in case primary fails? let say wired =10, wireless =20
0
 
Rob WilliamsCommented:
Best practice states that only one NIC should be connected at a time unless different subnets, only one gateway, and often static routes defined.
However, if 2 NICs on same subnet definitely set the metrics different and in order of priority.  The issue is metrics do not always produce expected results in a Windows O/S.
0
 
ethanwongAuthor Commented:
I got a user having both wired and wireless no internet. After manually configure metrics for both the value not reflected in route print, reload NIC driver, release and renew IP still not working, until i delete DHCP lease from server then renew IP worked fine. Any idea why?
0
 
Rob WilliamsCommented:
As mentioned 2 NIC's is very problematic, and metrics definitely do not work as expected.  Laptops add additional issues as they sometimes retain leases or the NIC may not even connect if not connected at boot.  Users are best instructed to disable wireless if using wired, or do not connect cable if using wireless., and then use the same subnet and gateway.

If it happens a gain do a  tracert to an internet IP and see what path it takes and where it fails.

Could you post the results of IP config /all and route print from one of the dual NIC problematic machines.
0
 
ethanwongAuthor Commented:
I applied adapter switching when laptop is docked. Only 1 connection is allowed at a time. I can PING any website, just IE wont work (IE 8/9).
0
 
Rob WilliamsCommented:
Can ping by IP or by name?  It may be that one subnet does not have correct DNS configurations.
0
 
ethanwongAuthor Commented:
yes. ping both IP or name working fine. Problem will come back again may be next day after resolve.
0
 
ethanwongAuthor Commented:
i found the root cause. Node Type not being set by DHCP server, the recommended type is h-node (hybrid). Configure DHCP Server Options default nodetype as hybrid. renew ip leasing. resolved.
0
 
ethanwongAuthor Commented:
no solutions yet from experts here.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 6
  • 6
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now