Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a server with dual NICs, both of which have IP addresses in the same subnet. How would I send a ping out over a particular (chosen) NIC ?

Thanks .. KJ

share|improve this question
up vote 5 down vote accepted

If you're using Windows, the closest equivalent is "ping -S [source address]".

share|improve this answer
Thanks for your help... – KennetRunner Jul 8 '09 at 12:25

You should have specified which operating system you are using.

Under Linux, you just use ping -I $interface, as the manpage can easily tell you.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.