Take the 2-minute tour ×

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

2 Answers 2

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... –  Ken Hughes 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


