Back when I was wearing a network admin hat,
about ten to fifteen years ago,
one question I tried answering was how to determine the time it took a network packet to travel one way.
ping command measures the round trip time:
[spc]lucy:~>ping -c 5 brevard.conman.org PING brevard.conman.org (18.104.22.168) 56(84) bytes of data. 64 bytes from brevard.conman.org (22.214.171.124): icmp_seq=0 ttl=49 time=26.7 ms 64 bytes from brevard.conman.org (126.96.36.199): icmp_seq=1 ttl=49 time=26.1 ms 64 bytes from brevard.conman.org (188.8.131.52): icmp_seq=2 ttl=49 time=26.9 ms 64 bytes from brevard.conman.org (184.108.40.206): icmp_seq=3 ttl=49 time=27.0 ms 64 bytes from brevard.conman.org (220.127.116.11): icmp_seq=4 ttl=49 time=27.1 ms --- brevard.conman.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4004ms rtt min/avg/max/mdev = 26.163/26.832/27.161/0.362 ms, pipe 2 [spc]lucy:~>
can one assume that the one way time is a bit over 13ms?
because asymetric routing—where the path to a remote destination does not match the path from said remote destination—does exist.
I've seen it happen several times while wearing my network admin hat.
you can attempt to synchronize the clocks on the two systems—it's not easy,
but it is possible if you work hard to achieve it.
I found it easier to just use the round trip time as reported by
ping and assume the path is symetrical.
I was reminded of that when I watched “Why no one has measured the speed of light.” It never occured to me that scientists haven't actually measured the speed of light at 299,792,458 meters per second, but used the round trip time to calculate it and just assume the timing is symetrical because it's impossible to synchronize clocks between two sites (for the purpose of measuring the speed of light). Kind of mind blowing if you ask me.