Ethernet and Wireless connections ?

  • Thread starter Thread starter aychamo
  • Start date Start date
  • Tags Tags
    Wireless
AI Thread Summary
When both a wireless network card and an ethernet card are enabled on a computer, the system prioritizes which connection to use based on the presence of default gateways and IP addresses. If one NIC has a public address and the other a private address, the computer will use the public address for internet access. In cases where both NICs have private addresses, the NIC with a specified default gateway will be utilized for internet connections. Users can adjust the order of NICs in the network configuration to prioritize one over the other, but this may require registry changes or third-party software on certain operating systems. Proper configuration can allow for failover capabilities, but redundancy is best achieved by connecting NICs to different switches.
aychamo
Messages
375
Reaction score
0
Hey guys

My computer currently has a wireless network card, and it has an ethernet card. I have the wireless card "disabled" right now in my hardware manager (WinXP), and the wired ethernet is active.

What happens if they are both enabled at the same time? How does the computer pick which one to use to access the internet?
 
Computer science news on Phys.org
If one NIC has a public address and the other a private address and the destination address is on the internet then it will use the NIC with the public address. If the destination address is on the LAN then it will use the NIC with the private address.

If both NICs have private addresses but only one has a default gateway specified and the destination is on the internet then it will use the NIC with a default gateway specified….

If both NICs are private and both have a default gateway specified I will use whatever NIC is the primary NIC bound to TCP/IP. The bindings tab in Win NT is pretty straight forward. They took it out in Windows XP (or at least I don’t recall seeing it anywhere)… I suppose you could find it in the registry or with third party software.

HTH,
 
Hey man!

Both cards are setup for DHCP via my router. So they both have the private addresses. Additionaly, they both are bound to TCP/IP in the network config (Its on a WinME machine (muhaha)).

What gateway could I install onto the ethernet-card's setting to make it try to use that one first? I'd rather the compute ruse the hardwired internet card first, and if it can't find a connection there then use the wireless.
 
Hmm.. .if the 10/100BaseT NIC is physically attached to the wireless router and both the wireless and 10/100BaseT NIC currently have the same default gateway then you could simply remove the wireless gateway and if the 10/100BaseT NIC failed then it would use the wireless NIC for LAN connections but you would have no WAN connection (if the 1st NIC failed) until you assigned the wireless NIC a default gateway….

I think what you are looking for is a way to “team” your NICs for adapter failover reasons. I have done this many times using hardware based solutions on servers… here is a link that talks about the process http://h18004.www1.hp.com/products/servers/networking/teaming.html#how however, I have no idea how or if WinME can do it with hardware not designed to team the NICs… There may be a way to do it, but I am not familiar with any.
 
Last edited by a moderator:
Can you not create some floating static routes?

Also if they are both bound to TCP/IP then ME will pick the one at the top of the list, if this link is down it then proceeds to the next in line. however there is no real reason to do this, In a Redundant network you would terminate the different NIC's to different switches, because if you don't you do not have proper redundancy
 
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Sorry if 'Profile Badge' is not the correct term. I have an MS 365 subscription and I've noticed on my Word documents the small circle with my initials in it is sometimes different in colour document to document (it's the circle at the top right of the doc, that, when you hover over it it tells you you're signed in; if you click on it you get a bit more info). Last night I had four docs with a red circle, one with blue. When I closed the blue and opened it again it was red. Today I have 3...
Back
Top