In a Multi homed machine ( multiple network interfaces and hence may have multiple IP addresses ), Using Java / Linux base ping finding which interface is actually returning the ping response as the ping is sent to all available interfaces.

One way i figured of is to use the -I and set the source interface to force ping via one interface but in case of 3 or more hybrid NIC cases we may have to deal with many pings to zero in on the correct interface. 

Any direct / easier suggestions?