I's not exactly the answer at your question, but that a simple (but limited) way to do (in certain case) what you want.
I'm coping-post the option -R of ping man page:
-R Record route. Includes the RECORD_ROUTE option in the ECHO_REQUEST packet and displays the route buffer on returned packets.
Note that the IP header is only large enough for nine such routes.
Many hosts ignore or discard this option.
So you can see also the return path of the ECHO_REQUEST, that is not the exit interface (that you are asking about) unless the outgoing path is the same of the come back path. Only in this case, the returning path is the IP address of the outgoing interface you are asking for.
That's an real example on my internet provider net, maybe not so clear, but I don't have just now some router to link each other :)
traceroute 10.2.105.178
traceroute to 10.2.105.178 (10.2.105.178), 30 hops max, 60 byte packets
1 192.168.1.254 (192.168.1.254) 3.418 ms 3.575 ms 4.021 ms
2 10.189.48.1 (10.189.48.1) 11.237 ms * *
3 10.2.105.178 (10.2.105.178) 15.235 ms * *
ping -R 10.2.105.178 PING 10.2.105.178 (10.2.105.178) 56(124) bytes of
data.
64 bytes from 10.2.105.178: icmp_req=5 ttl=253 time=74.1 ms NOP RR:
192.168.1.133
10.189.51.61
10.2.105.177
10.2.105.178
10.2.105.178
10.189.48.1
192.168.1.254
192.168.1.133
----omitted----
64 bytes from 10.2.105.178: icmp_req=6 ttl=253 time=13.0 ms NOP RR:
192.168.1.133
10.189.51.61
10.2.105.177
10.2.105.178
10.2.105.218 ##change every time, Idon't know why##
10.189.48.1
192.168.1.254
192.168.1.133
This depends on what OS the VM's are running. If they're running Linux or some other UNIX variant you can use arping
to accomplish this. If they're running Windows (XP/7/8), whenever a new IP address is added to an interface, Windows will send gratuitous ARPs for that IP address for duplicate address detection by default, so you may be able to get the MAC address that way.
Best Answer
no you can't
Round-trip time (RTT), also called round-trip delay, is the time required for a signal pulse or packet to travel from a specific source (IP1) to a specific destination (IP2) and back again. In this context, the source is the computer initiating the signal and the destination is a remote computer or system that receives the signal and re transmits it.
user can determine the RTT to and from an IP (Internet Protocol) address by pinging that address. The result depends on various factors including The nature of the transmission medium (copper, optical fiber ) so you can't ignore it