Ping Time Question

Unanswered Question
Aug 6th, 2009
User Badges:


If I ping from A's IP to B's IP on a P2P link, it measures the round trip time, let's say 10ms.

However, if I ping from A's IP to A's IP, the ping time doubles, why is that? Shouldn't A to A ping time be the same as A to B?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading. Thu, 08/06/2009 - 09:32
User Badges:

Never mind, I got it. Ping is echo request and echo reply. That's why the round trip time is doubled when you ping from A to A.

snarayanaraju Thu, 08/06/2009 - 10:20
User Badges:


A good understanding. I too noticed this.

can you explain in this detail. when it is doubled


Jon Marshall Thu, 08/06/2009 - 10:42
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN


When you ping the local interface on a serial P2P link the packets actually go to the other end of the link and back.

So when you ping B from A

echo request goes from A -> B

echo reply comes from B -> A

when you ping A from A

echo request goes from A -> B -> A

echo reply goes from A -> B -> A

This is why it takes twice as long.

Jon Thu, 08/06/2009 - 10:47
User Badges:


As you know, ping operation actually generates two packets, one is ICMP echo request and one is ICMP echo reply.

Let's say on a P2P link, A end's IP is and B end's IP is When you ping B from A, the source IP is and destination IP is A sends ICMP echo request to B (one way trip delay). B responds back to A with ICMP echo reply (round trip delay).

When you ping from A's IP to A's IP, the source IP is and destination IP is also So A sends out ICMP echo request out of its interface (one way trip delay). B receives it and sees the destination IP is and sends this ICMP echo request back to A (round trip delay). When A receives this ICMP echo request, A generates ICMP echo reply back to and sends it out of its interface. B receives this echo reply and sends it back to A (round trip delay X 2).

This is the reason why when you ping the same IP as the source, the delay is round trip times 2.


This Discussion