Questions tagged [traceroute]

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.

268 questions
-1
votes
2 answers

In traceroute/tracert why is it possible for the value to be lower further down the route/path?

I'm a bit confused on how it is possible for a router further in the path towards the destination to have a lower value; doesn't the value mean the time it takes to reach that point from the starting router (the machine you ran traceroute on)? For…
jantristanmilan
  • 4,188
  • 14
  • 53
  • 69
-1
votes
2 answers

Tracert to Email

I'd like to receive result of tracert information from my customer, however, they are not IT savvy. Is there any ways we can get the tracert result be sent to an email or a web-form? Any written bat files or open source programme available?
zhenguang
  • 21
  • 1
  • 5
-1
votes
3 answers

Traceroute Theory

I am toying with trace route, my application send a ICMP echo request with a ttl of 0 every time i receive a time exceeded message i increment the ttl by one and resent the package, but what happens is I have 2 routers on my network i can trace the…
Hamza Yerlikaya
  • 49,047
  • 44
  • 147
  • 241
-1
votes
1 answer

Internet Provider with "Private WAN" to the clients?

This is strange. How this actually works. So far I know it is "impossible" to have a network like this. I'm going to explain in details how my network works. I have a LAN. 192.168.1.0/24 and router is on 192.168.1.1, This router has a public…
int3
  • 658
  • 1
  • 5
  • 21
-1
votes
1 answer

Traceroute script is tracing from wrong IP

I have written a script for doing a traceroute to a host/ip and for some reason it is coming out as tracing from my server not from the local user that is using it. If I pull up a traceroute in my terminal the out put is completely different. It…
cmtzco
  • 171
  • 1
  • 8
-2
votes
1 answer

Get rid of message and newline from traceroute using sed/awk

Looking for option to get rid of traceroute: wrote 0 40 chars, ret=-1 message in its output. So the output would look just like this: 1 * * * 2 * * * Best I could achieve is these: $ traceroute -anm 10 -w 1 0 2>/dev/null | sed 's/traceroute:.*/…
-2
votes
1 answer

windows cmd batch file for parallel traceroute of 32 IPs

I have 32 IPs in a file tracerouteiplistA.txt In for/while loop of a batch file named tracerouteScriptA.bat, i want to trace route all of them and store the result in traceA.txt and if 10. is visible hen i want to write 0 in traceresponseA.txt. if…
-2
votes
1 answer

Traceroute number of hops changes depending on the tcp port used

I use Nmap to traceroute some websites as follows nmap -Pn --traceroute 108.177.127.103 I notice that the result varies depending on the used TCP port. So, when I use port 25 instead of port 80, it gives different results. The weird thing is that…
-2
votes
1 answer

High ping to server, traceroute issue?

My friend and I have the same type of internet connection (ADSL 2+) and we get similar speeds (10 down 1 up) and ping, but when we both try to connect to the same IP we get different pings. We are trying to connect to a server in canada…
Baibro
  • 97
  • 2
-2
votes
1 answer

At which hop is my package discarded?

Here's traceroute output on my server: # traceroute -e 220.181.112.244 traceroute to 220.181.112.244 (220.181.112.244), 30 hops max, 60 byte packets 1 10.200.6.254 (10.200.6.254) 1.954 ms 2.044 ms 1.776 ms 2 192.168.203.1 (192.168.203.1) …
laike9m
  • 18,344
  • 20
  • 107
  • 140
-2
votes
1 answer

How come I have so many hops when I traceroute my local ip

My local ip is 192.168.1.106 and when I list my routing table it suggests that it is the case. When I traceroute to 192.168.1.106 it states that there are 64 hops. Should it not be zero hops? localhost:~ cram$ netstat -rn Routing…
cramhead
  • 1,057
  • 8
  • 21
-4
votes
1 answer

cant ssh to aws server

Below is my traceroute output: [root@localhost .ssh]# traceroute -p 22 ec2-54-206-114-41.ap-southeast-2.compute.amazonaws.com traceroute to ec2-54-206-114-41.ap-southeast-2.compute.amazonaws.com (41.114.206.54), 30 hops max, 60 byte packets 1 …
Justin S
  • 1,409
  • 4
  • 22
  • 38
-7
votes
1 answer

trying to use tracerout in a shell script and i cant get it to display properly

#!/bin/bash host_name=A echo -n " Enter a host name " read host_name total_hops= traceroute $host_name | cut -d " " -f 1 | wc -l read $total_hops echo "The host $host_name is $total_hops away"
Troy
  • 1
  • 1
1 2 3
17
18