Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

 
discard

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.