- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how does traceroute work
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2004 09:31 AM
тАО08-27-2004 09:31 AM
how does traceroute work
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2004 09:42 AM
тАО08-27-2004 09:42 AM
Re: how does traceroute work
From the traceroute man page:
This program attempts to trace the route an IPv4/IPv6 packet would follow to some internet host by launching UDP probe packets with a small ttl (time to live) or hop-limit then listening for an ICMPv4 or ICMPv6 "time exceeded" reply from a gateway. We start our probes with a ttl of one and increase by one until we get an ICMPv4 or ICMPv6 "port unreachable" (which means we got to "host") or hit a max (which defaults to 30 hops and can be changed with the -m flag). Three probes (change with -q flag) are sent at each ttl setting and a line is printed showing the ttl, address of the gateway and round trip time of each probe. If the probe answers come from different gateways, the address of each responding system will be printed. If there is no response within a 5 sec. timeout interval (changed with the -w flag), a "*" is printed for that probe.
So basically, traceroute sends network packets out and calculates the route the packets took through the network from point A (originator) to point B (destination).
Basic usage:
# traceroute
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2004 09:43 AM
тАО08-27-2004 09:43 AM
Re: how does traceroute work
Usage is:
# traceroute 1.2.3.4
It will then list all the machines that the packets pass through to get from your machine to 1.2.3.4.
It is very useful if you are having connectivity problems. With traceroute you can see where the problem could possibly lie. If the packets only make it part of the way to their destination, then there is a problem.
The man page will give more details as well.
# man traceroute
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2004 04:32 PM
тАО08-27-2004 04:32 PM
Re: how does traceroute work
Check out these links:
- http://mipagina.cantv.net/lem/net/trace-en.htm
- http://www.tek-tips.com/faqs.cfm?fid=381
- www.pcsupportadvisor.com/nasample/c04100.pdf
- http://www.exit109.com/~jeremy/news/providers/traceroute.html
HTH.
Regards,
Sri Ram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2004 07:39 PM
тАО08-27-2004 07:39 PM
Re: how does traceroute work
This enables traceroute to calculate the time needed for the hop to the first router. It then resends the packet increasing the time limit value so that it will reach the second router in the path to the destination point, which returns another "time exceeded" message, and so on.
Traceroute finds out when the packet has reached the destination point by including a port number that is outside of the normal range. When it is received, a "port unreachable" message is returned, enabling traceroute to determine the time length of the final hop. Each hop is measured three times by the most of the trace-route programs
Regards,
Asif Sharif
Asif Sharif