The output above shows that 5 pings were sent to example.com and round trip time it took for the ping packet to make it there and back was 15ms or 0.015 seconds.
The ttl in the response above indicates “time to live”. This is the hop limit that limits the life of the packet. By default the TTL of a ping is 255. This decrements by 1 for every router or hop the packets goes through in order to get to its destination. This mechanism is put in place to avoid packet storms and routing loops. If a packet didn’t have a TTL and couldn’t reach its destination it could keep bouncing around the network forever.
The technology used to make ping work is Internet Control Message Protocol (ICMP). A ping works by sending an ICMP echo request packet to the destination. When the destination receives it, it will respond with an ICMP echo reply. Often the word ping and ICMP are used interchangeably.
The ttl in the response above indicates “time to live”. This is the hop limit that limits the life of the packet. By default the TTL of a ping is 255. This decrements by 1 for every router or hop the packets goes through in order to get to its destination. This mechanism is put in place to avoid packet storms and routing loops. If a packet didn’t have a TTL and couldn’t reach its destination it could keep bouncing around the network forever.
The technology used to make ping work is Internet Control Message Protocol (ICMP). A ping works by sending an ICMP echo request packet to the destination. When the destination receives it, it will respond with an ICMP echo reply. Often the word ping and ICMP are used interchangeably.