Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8825203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T06:49:21+00:00 2026-06-14T06:49:21+00:00

Traceroute is an application to trace the path from A to B. (A is

  • 0

Traceroute is an application to trace the path from A to B. (A is your location and B is the server you want to trace). In Windows, you can type tracert. The main algorithm is:

send UDP with TTL = 1
Server A1 received, and return ICMP packet to A because TTL is expired.
--> know first machine between. For example A1.

send UDP with TTL = 2
Server A1 received, and send this UDP to server A2.
Server A2 received, and return ICMP packet to A because TTL is expired
--> know second machine between. In this example is A2.

Do it until to B. we can track down: A -> A1 -> A2 -> ... ->B

Does this algorithm work correctly? Because at different time, an intermediate server can send a message to different server. For example, at first time, UDP message is sent to A1, but at a later time, it can send to another server, for example, B1. So, trace route will not work properly.

Did I misunderstand something?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T06:49:22+00:00Added an answer on June 14, 2026 at 6:49 am

    From the man page :

    traceroute tracks the route packets take from an IP network on
    their
    way to a given host

    So if you are trying to find one of the possible paths your packet may take, you’ll find a friend in traceroute .

    Now because routing tables do not change every minute, the packets that you send will most probably take the same path as traced by traceroute.

    Another important point that cannot be missed is the record route option in the IP v4 header.
    Once you specify that you want to use this option, every router in the path will add it’s ip address to the options in the header. You can read more about it here. The catch being that the destination gets to know about the intermediate hops , not the source.

    I see that you missed the role of icmp echo request and reply messages in the description of traceroute. In case this was not intentional , take a look.

    Update : You can see the record route option in action by doing a ping -R

    ping -R Turns on route recording for the Echo Request packets, and
    display the route buffer on returned packets (ignored by many
    routers)
    .

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wish to use traceroute command in my java application. Unfortunately in Windows It
I want to run traceroute command through my application. How do I do this?
My main intention is to parse the data returned from a traceroute command executed
I would like to be able to perform a ping and traceroute from within
Earlier, I asked this question: How can I perform a ping or traceroute using
When i do traceroute from one solaris m/c to another using 10 gig network
I want to make traceroute in the browser via flash. I asked about ICMP
How can you perform a TCP traceroute in C#? Is it even possible?
I want to get all route info when user request to server. When user
I just want to print the first and the last IP from the following

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.