VMware ESXi
For Windows VM using tracert
tracert command and analyze the outputtracert <destination IP>Windows VM>tracert 10.xx.xx.25
Tracing route to example.com [10.xx.xxx.25]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms 10.xx.xxx.1
2 67 ms 164 ms 318 ms example.com [10.xx.xxx.25]
Trace complete.
For Linux VM using traceroute
Similarly, you can use the traceroute command in Linux to identify the latency.
The output would look something like this :
[linux-vm ~]$ traceroute 10.xx.xxx.25
traceroute to 10.xx.xxx.25 (10.xx.xxx.25), 30 hops max, 60 byte packets
1 gateway (10.xx.xxx.1) 0.315 ms 0.288 ms 0.272 ms
2 example.com (10.xx.xxx.25) 67.124 ms 164.551 ms 318.002 ms