HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free and registered users see less advertising! If you just want to browse through the existing questions, just select the forum that you want to visit from the selection below. Otherwise, click here to register!. We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Stupid question

Hi guys,

I think that this is a pretty stupid question but I get caught up in these little issues A LOT. Anyway I think that I am going to be adding a 2nd NIC to my Windows box and was just curious, when I go to, lets say, ping my linux laptop how does it know which NIC to use, or does it use them both and the one with a response wins??

So yeah I will be adding another NIC without sharing the internet connection... I MAY move the internet connect over to the laptop when I have played with the current configuration a little more and then set up a little router/firewall/server for myself.

Re:Stupid question

When you ping an IP, it will first look to see what net the IP belongs to, if the two NIC's have seperate nets, the one containing the IP you want to ping wins.
If both NIC's will have IPs belonging to the same net, then the one with the default route (unless theres a specific route ordered for contacting the IP you want to ping) will be tried first, should this fail it will try the second NIC.

But the again, this is windows, I have no idear if they follow the standards within IP routing... Guessing from varius situations, I would say they dont.