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

link|improve this question
feedback

2 Answers

up vote 5 down vote accepted

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

link|improve this answer
Thanks for your help... – Ken Hughes Jul 8 '09 at 12:25
feedback

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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