traceroute traces the route taken by packets over a TCP/IP network. It is used as a network debugging tool to show where packets are being lost along the route.
Questions tagged [traceroute]
268 questions
1
vote
1 answer
Node: wait till function is finished before executing process.exit
I'm very new to node. I've written a script which does a telnet. If the telnet works we do a traceroute and exit properly (this works). When the telnet doesn't work I still do a traceroute and try to exit with exit status -1. This does not work. The…

DenCowboy
- 13,884
- 38
- 114
- 210
1
vote
1 answer
traceroute - What does it mean when !N appears next to a time measurement?
I am running a traceroute command to host [YYY.YYY.Y.Y], and at the output is as follows:
...
e1-25-20-cr-rt-bb2-area2.ns.uwaterloo.ca (ZZZ.ZZ.ZZ.ZZ) 4.164 ms 6.741 ms 6.444 ms
8 wms.uwaterloo.ca (MMM.MM.MMM.MM) 3.034 ms 3.612 ms 3.334 ms
9…

Universal Thinker
- 161
- 1
- 12
1
vote
1 answer
How do I find out the gateway IP in shell?
How do I find out the IP address of the gateway using unix bash command line?
While usually it will be 192.168.1.1, it might occasionally be 192.168.0.1 or something else depending on what router I connect to.

sds
- 58,617
- 29
- 161
- 278
1
vote
1 answer
What would be the best way to store traceroute results?
One traceroute record may include :
Timestamp. Milliseconds resolution.
Variable number of hops.
Each hops contains, ip address, hostname and rtt.
Overall results e.g. successful, network unreachable, timed out.
Thanks.

randadinata
- 21
- 1
1
vote
2 answers
ping and traceroute Commands are not showing output in ansible
- name: traceroute
shell: traceroute {{ my_ip }}
register: result
- debug: msg="{{ result.stdout_lines }}"
I have added this in my playbook to test traceroute but task is not stopped , it is not showing output. How to stop and…

Maheswara Reddy Yarramreddy
- 89
- 2
- 9
1
vote
2 answers
Why does traceroute expect "Destination Unreachable" at the final hop instead of "Echo Reply" when it runs over UDP?
Excerpt from implementation section of Wikipedia page for traceroute:
. . . until the destination is reached and returns an ICMP Destination
Unreachable message if UDP packets are being used or an ICMP Echo
Reply message if ICMP Echo messages are…
user9293205
1
vote
2 answers
adjacency list graph implementation in c (any libraries)
I am working on a project where I make traceroutes to a certain IP address from 10-15 different IP addresses. Most of the traceroutes go along certain common routers on the way(hop) to the same destination. The resulting data gives me a graph. I…
user494461
1
vote
2 answers
Compare traceroute IP with array values
I am trying to compare if traceroute got successful or not in a bash. This is what I execute.
traceroute -m 30 -n 8.8.8.8 | grep -oE '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+'
Output I receive:…

tech_enthusiast
- 683
- 3
- 12
- 37
1
vote
1 answer
Compilation issue while using traceroute in a custom tool
For my master thesis, I am developing a tool to test and evaluate a formula for multipath networks.
I will be using the traceroute tool to trace the network between two multihomed hosts by passing to it -s flag, src IP and dst IP. I have multiple…

Imran
- 11
- 2
1
vote
1 answer
Are there any traceroute programs that do not rely on ICMP echo requests?
Are there any traceroute programs that do not rely on ICMP echo requests?
Please list any programs if you know of them, or ways to achieve a traceroute without ICMP echo requests.
Thanks!

David Beltran
- 71
- 7
1
vote
0 answers
Getting traceroute of ip using tcp in android? or any other options except for icmp?
Im looking for a way to use traceroute on android that does not allow icmp which means i can not build it using ping and ttl in icmp as I already tried that

karrar kazuya
- 131
- 6
1
vote
1 answer
How to get number of hops to a website in python
addr = socket.gethostbyname('dalitstan.org')
target = [addr]
result, unans = traceroute(target,maxttl=32)
I am using above code and getting below output. How can I get the number of hops in between my machine and server i.e 18 for the below…

tarun14110
- 940
- 5
- 26
- 57
1
vote
1 answer
Ping TTL exceeded output decipher
I am working on creating a traceroute service for Android, and since Android does not come with a built in traceroute command, I am implementing one using adb shell ping iteratively with increasing TTL values.
This is a sample of the…

Pratik Kapoor
- 107
- 5
1
vote
0 answers
User in India trying to reach external address hosted in US-EAST traceroutes into infinity once it hits the GCE network
External user is attempting to access an https page, the page is accessible from his cellphone but not his work network. The traceroute shows his connection making it out of his network and hanging at a google owned IP address.
Is there something I…

DevOps ninja
- 91
- 1
- 6
1
vote
1 answer
Using subroutine.check_output to get the output of a traceroute
I'm trying to get the output of a traceroute using subroutine.check_output, but there's always a line "traceroute to twitter.com (104.244.42.193), 64 hops max, 52 byte packets" that prints in the terminal is is excluded from the output in my script.…

Cindy Montana
- 11
- 5