What are Ping and Traceroute?

  • Tuesday, 8th October, 2013
  • 20:37pm

What is PING?

PING is a utility that determines whether a specific IP address is accessible. It works by sending a packet to the specified address and waiting for a reply. PING is used primarily to troubleshoot Internet connections.

This facility is offered to customers through the 'Web Diagnostics' section in your Control Panel.

What is 'Traceroute'?

Trace (also known as Traceroute or TRACERT in Windows) is a utility that traces a the route that IP (Internet Protocol) packets take from your computer to an internet host, showing how many hops the packet requires to reach the host and how long it takes to reach each router. If you're visiting a Web site and pages are appearing slowly, you can use traceroute to figure out where the longest delays are occurring.

ip-addresses-128px-pngThe original traceroute is a UNIX utility, but nearly all platforms have something similar. Windows includes a traceroute utility called tracert. In Windows, you can run tracert by selecting Start->Run then typing "cmd" into the 'Open' field box, and then entering tracert followed by the domain name of the host. For example:

tracert www.pcwebopedia.com

Traceroute utilities work by sending sequential IP packets with incremental time-to-live (TTL) fields. The TTL value sets a maximum number of hops the packet can go through before it is rejected as an 'expired' packet. When this happens, the last router which received the packet returns a 'TTL expired' ICMP packet, which reveals the router's IP address, and by comparing the time when the packet was sent out and the time the 'TTL expired' packet came back an estimated time to reach that router can be calculated.

By sending a series of packets and incrementing the TTL value with each successive packet, traceroute finds out who virtually all the intermediary hosts are.

This facility is offered to customers through the 'Web Diagnostics' section in your eXtend Control Panel.

Notes:

- The time quoted - RTT (round trip time) - is the time it took the packet to reach the router in question, plus the time it took the router to send an error message back. Since the route back might not be identical to the route to get there, this value is not necessarily equal to double the time it took the packet to reach the router.

- Don't worry if one or two of the middle hops show:

2 * * *

...or similar, as that often just indicates a router configured to not reply via ICMP.

- The main number you should be concerned with is the RTT for the last hop. Anything under 60 ms is fast, and anything under about 300ms is perfectly usable.

- Windows tracert.exe and UNIX traceroute differ in that tracert.exe sends ICMP echo packets, while traceroute sends UDP data packets.

- RTT is not an indication of transfer speed or available bandwidth, although a router under bandwidth pressure is more likely to drop ICMP packets or provide very slow replies to them.

« Back
Venatour Sports Travel

Encode have continually surpassed themselves in developing our new website. Their patience in learning and understanding what we needed from a website to provide the best service to our customers has been beneficial on so many levels. I would highly recommend them to anyone looking for intelligent solutions to their web, seo or business needs.

Lisa Cooley

Positive: Professionalism, Quality, Responsiveness, Value

Working with Neil is a dream; he's fast, efficient, responsive and full of website knowledge and advice. He won't baffle you with IT over load and will be honest about the best working solution.

Highly recommended!

Ellie Stevenson Author

Positive: Professionalism, Value

Encode and I had a very useful discussion about Wordpress and related issues at no cost to myself. He gave me some very helpful information and answered the questions I had.

I learnt quite a lot! Thank you.

Silvia Boev

Positive: Professionalism, Quality, Responsiveness, Value

I am very excited to work again with Neil. His attention to detail is second to none. I have seen his work in action in the past and he is great. I love his calm approach and his patient guidance to non-tech people like me. I would highly highly reccommend him!

Dr Fuz

Neil is the best! He has sorted out all our business emails and everything runs a great deal better now. Website issues are now a thing of the past as Neil has introduced a maintenance programme to ensure the site is always working optimally and any content changes are actioned pretty much immediately.

Highly recommended!!

H Scott-Brown

'Encode' provided my hosting and domain transfers. They were able to deal with the technicalities of the transfer in a particularly speedy manner, taking all the worry of the transfer, domain issues DNS and nameserver headaches as well as the migration. A couple of emails, and phone call meant it was done smoothly, swiftly and efficiently. All I can say is I'm really please they were recommended to me. Thank you

Spinner