Results 1 to 4 of 4

Thread: Stupid question

  1. #1

    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.

  2. #2
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811

    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.

  3. #3
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re:Stupid question

    no redhead, you are correct. That is exactly how it works (at least on an NT kernel)

  4. #4

    Re:Stupid question

    Two good Command Prompt commands to learn.

    ARP & IPCONFIG

    My $0.02

Similar Threads

  1. Stupid Question.
    By singularity589 in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 06-07-2006, 03:57 PM
  2. Stupid Question
    By beagleboy4tv in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 03-25-2004, 02:16 PM
  3. Ask a stupid question, get a stupid answer.
    By Stuart in forum General Chat
    Replies: 17
    Last Post: 10-02-2003, 12:39 AM
  4. Stupid question
    By stryder144 in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 05-12-2002, 04:58 PM
  5. stupid question.....
    By boblucci in forum Linux - General Topics
    Replies: 16
    Last Post: 11-27-2001, 03:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •