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


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


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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