Questions tagged [traceroute]

Question about the route a request takes to arrive at, and return from its destination, particularly when using the 'traceroute' command-line tool.

Filter by
Sorted by
Tagged with
0 votes
0 answers
32 views

Traceroute in Linux VM showing only asterisks

I am trying to use the traceroute command in an Ubuntu Virtual Machine, but it shows only asterisks. I know that traceroute sends UDP packets and if I run it with the flag -I to send ICMP packets, it ...
user avatar
0 votes
0 answers
60 views

script ping and traceroute

Creation of a script allowing to record the traces (log) of the ping and traceroute according to a list resulting from a flat file listing the various sites of Reunion and Mayotte. For the need, it is ...
user avatar
0 votes
0 answers
28 views

Routing to a specific IP-Address fails while network is fine

This is my first post to Stackexchange so if it lacks any neccessary information I can add this after posting. My problem is that I am trying to reach the api of riot games. I have a Debian-...
user avatar
  • 1
0 votes
1 answer
94 views

What could be causing traceroute to only show gateway and final destination?

I am expecting trace route to show pings all along the route like as on my computer (as is often true, there are a few "Request timed out"). THis is meant to demonstrate the problem its not ...
user avatar
0 votes
0 answers
31 views

Is there anything one can do if traceroute shows issues along the path?

Since few days I cannot reach anymore a site: assist.zoho.com (or assist.zoho.eu). Here the output of traceroute: $ traceroute -I assist.zoho.com traceroute to assist.zoho.com (136.143.191.95), 30 ...
user avatar
  • 567
0 votes
2 answers
268 views

How to identify unknown devices in traceroute or ping

In attempting to troubleshoot a failed ping from the Windows host to the IP address of one Linux guest virtual machine (192.168.1.19), I did a traceroute: $ traceroute 192.168.1.19 traceroute to 192....
user avatar
  • 333
0 votes
0 answers
21 views

Is it common for GCP servers to see continuous timeout in the initial hops?

While doing traceroute from my GCP server to any domain initial hops I am getting timeout also intermittently I get timeout upto last hop. $ traceroute amazon.com traceroute to amazon.com (205.251....
user avatar
-1 votes
2 answers
162 views

Traceroute to check number of hops between my laptop and google.com

I am new to Linux and trying to learn traceroute command in ubuntu terminal. I entered ping command in my terminal to google.com and the results are: vscoder@vscoder-VirtualBox:~$ ping google.com PING ...
user avatar
0 votes
1 answer
585 views

how to use cURL on specific route

I have 2 ISPs on multi-homing and am trying to use curl http://v6.ipv6-test.com/api/myip.php to retrieve my current IPv6 address and store it on a log. But due to having 2 ISPs, I need to do it for ...
user avatar
  • 222
0 votes
0 answers
141 views

traceroute from one server to another in the same network works but not vice-versa

I have two RHEL7.6 servers (s1, s2) connected in the same subnet. When I try traceroute from s1 to s2, it fails s1$ traceroute s2 traceroute to s2 (s2_ip), 30 hops max, 60 byte packets 1 * * * 2 *...
user avatar
0 votes
2 answers
594 views

Change default route with no gateway for second NIC card

I have 2 NICs and the 2nd one (with ip, 10.1.1.2) is connected to private n/w. A machine (windows with ip, 10.1.1.3) on private n/w was able to ping this machine which is a Linux one. But from this ...
user avatar
2 votes
1 answer
1k views

Asterisks keep going in traceroute

I know that asterisks mean that the router didn't send the ICMP message back saying that TTL was 0 and I had to dump the request. but sometimes for some cases when I want to check for the path of my ...
user avatar
0 votes
1 answer
752 views

traceroute: invalid option -- 'T' (Ubuntu 19.10)

I am trying to get traceroute installed with: $ sudo apt-get install inetutils-traceroute $ traceroute --version traceroute (GNU inetutils) 1.9.4 Copyright (C) 2015 Free Software Foundation, Inc. ...
user avatar
  • 881
0 votes
0 answers
1k views

iptables: how to block traceroute and allow ping?

Hi first sorry for my english. I'm trying to block traceroute --icmp (tracert) while still permitting the ping, using iptables. The problem is that when I permit the traffic of echo request, to allow ...
user avatar
4 votes
1 answer
4k views

Ifup interface failing with answers: file exists

I have 3 different blocks which I'm trying to configure. They used to work normally when I would add all the addresses of the block manually (ip addr add) but I learned that I can just add the entire ...
user avatar
2 votes
0 answers
415 views

traceroute only shows first hop

I'm trying to use traceroute on a VMware guest Linux machine, and this is the result : traceroute to 172.217.9.228 (172.217.9.228), 30 hops max, 60 byte packets 1 10.10.0.1 183.499 ms 193.008 ms ...
user avatar
  • 116
0 votes
1 answer
2k views

Traceroute does not work, output is * * *

I'm trying to check how many servers are between me and a domain server(google etc.). I'm using Linux (Ubuntu) subsystem on Windows. The traceroute command wasn't working, so I used sudo apt-get ...
user avatar
1 vote
1 answer
3k views

It is possible to traceroute without touching ICMP?

I often run into a situation where I want to traceroute an IP without root or NET_RAW cap in Linux. I have attempted to send a UDP packet with a small TTL but no ttl error is emitted at all. It seems ...
user avatar
  • 203
-1 votes
2 answers
3k views

How do you count the number of hops?

I'm trying to connect to the GAN (Internet) and my final network node is 10.200.0.1 How do I count the number of Hops to reach this final network node? I've tried traceroute 10.200.0.1 But it only ...
user avatar
1 vote
1 answer
9k views

How does MTR (run with TCP protocol) calculate the loss rate?

I thought TCP protocol itself will guarantee not to loose any bytes while connecting. About this viewpoint, please refer to https://stackoverflow.com/questions/23841896/will-tcp-connection-lose-...
user avatar
1 vote
1 answer
7k views

Traceroute return !x as MTU size

I have 2 directly connected machine running centos 7, wanted to check MTU between them. So used traceroute tool to find it out. Topology: M23(10.1.1.20) <-------> M24(10.1.1.10) Expected ...
user avatar
  • 153
2 votes
1 answer
5k views

What UDP destination port(s) does mtr -u use?

traceroute sends UDP packets to port 33434 (and up) by default. I assume mtr -u (manual, homepage, github) does the same, but I can't find any documentation or test results to verify the destination ...
user avatar
  • 391
0 votes
0 answers
568 views

Script to check server status from polybar

I'm currently running Arch with i3 and polybar. I also maintain 6 servers, so to make my life easier I made a series of shell scripts to notify me if a server is down. The scripts work, but it's far ...
user avatar
1 vote
0 answers
387 views

Certain ipv6 hosts hang on certain machines on the network

I have this annoying issue where some of the machines on my network will hang when looking up connecting to certain IPv6 addresses, in particular the ones from Google (but I've also seen issues with ...
user avatar
  • 276
2 votes
0 answers
5k views

How do I figure out why I cant connect using "wget" to an external web site?

I'm using CentOS 7. I'm trying to figure out why I can't connect via wget to an external web site, although most other web sites work and I can connect to this other web site from other computers. ...
user avatar
  • 1,860
17 votes
3 answers
17k views

Why does traceroute display many ip addresses for the same hop?

Here is the route path from my home to sina.com.cn. traceroute -n sina.com.cn traceroute to sina.com.cn (202.108.33.60), 30 hops max, 60 byte packets 1 192.168.31.1 0.476 ms 0.587 ms 0.695 ms ...
user avatar
  • 213
1 vote
1 answer
377 views

Query regarding traceroute and ping

While executing the traceroute command, why does the route to same host change at different times of the day? Why does traceroute not find complete paths to some hosts? Is it possible to find the ...
user avatar
-1 votes
2 answers
4k views

what firewall rules does traceroute need?

The network team told me I only needed ICMP 8 bi directional for traceroute to work but it still does not seem to be working. ping does work with ICMP 8 being open but what do I need to open for ...
user avatar
1 vote
1 answer
940 views

Why does ping resolve to a different address than traceroute? and lynx?

We have a managed server with centos, recently it starts showing strange behavior: root@server [/tmp]# ping www.google.com PING www.google.com (172.217.8.196) 56(84) bytes of data. 64 bytes from ...
user avatar
  • 113
3 votes
1 answer
945 views

traceroute, only print gateway information

I can't find any info regarding this in the man-pages. How would one go about only printing the gateway using traceroute?
user avatar
  • 133
2 votes
1 answer
179 views

How to find the MAC address of devices in network path when I do a tracerout?

Scenario: I am doing traceroute (or any path trace program) from sydney-server1 to london-server2. I can see the route its going with device name and IP address. Is there anyway, I can get those ...
user avatar
  • 77
12 votes
1 answer
11k views

What is the difference between tracepath and traceroute or are they same?

I see two commands giving similar output but have no idea if there is a difference between the two or not. For e.g. [$] tracepath debian.org ...
user avatar
  • 10.9k
2 votes
1 answer
6k views

traceroute have error bind: Cannot assign requested address

I have the below error: [root@~]# traceroute -s 'publicIP' 8.8.8.8 traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets **bind: Cannot assign requested address** But when i did not enter ...
user avatar
  • 21
0 votes
1 answer
1k views

traceroute: How to show TTL along hops

How could I show remaining time to live counters in mtr or traceroute results? $ mtr -r -w -c 10 91.250.127.30 Start: Mon May 15 12:20:44 2017 HOST: <snip> Loss% Snt ...
user avatar
1 vote
1 answer
1k views

Why is my trace route (mtr) binding a UDP port when it runs?

I occasionally audit the open ports on my machine to make sure I fully understand my attack surface. When I did this today, I discovered that mtr was listening on a high UDP port (which seemed to ...
user avatar
  • 1,056
2 votes
1 answer
324 views

How to use dnstraceroute?

I understand how traceroute works, I give it a domain, it takes 3 packets, tries to go over intermediary servers to the end server. For instance - [$] traceroute phoronix.com traceroute to ...
user avatar
  • 10.9k
0 votes
1 answer
15k views

Can't traceroute on Kali Linux

I have a kali VM running inside Virtual Box. Traceroute does not work, the immediate resolution of host to IP works, but every hop fails until it reaches max hops. This happens for any host. My VM ...
user avatar
  • 113
2 votes
2 answers
4k views

How to output mtr command in human-readable form to standard output?

When I run sudo mtr 4.2.2.1, it runs in the Terminal in a loop. I'd like to keep the same format as below: Host 1. 192.168.15.1 ...
user avatar
  • 18.3k
1 vote
3 answers
926 views

How does MTR work in detail? Shouldn't packet loss be observed to increase linearly?

If so, how come do we see packet loss be distributed unevenly among hops? That is, if there is 5 percent loss in the first hop, the following hops, should start out with 95 percent of the packets ...
user avatar
1 vote
3 answers
238 views

Traceroute - approach the place with connectivity issues

I'm using the traceroute utility to test network connectivity. The problem is usually with slow speed - that means, the webpages in the browser are often displayed very slowly. Sometimes the speed of ...
user avatar
  • 14.6k
1 vote
2 answers
477 views

Traceroute works (very slowly) but internet doesn't work

Ping doesn't work. And can't connect through Firefox. When entering IP in URL bar it shows "The connection has timed out, The server at 35.1.1.48 is taking too long to respond." after like a minute. ...
user avatar
1 vote
1 answer
463 views

how to use only certain addresses in subnet for traceroute?

First I try running nmap -sn ip/24 to check live hosts on a subnet. It returns that all 255 hosts are live which I know is not true. I do fping -g ip/24 and get that 7 hosts are up which makes more ...
user avatar
  • 211
4 votes
1 answer
858 views

Why is mtr more reliable than traceroute, on my ISP?

My traceroute6 results are truncated, while the results from mtr span the whole path. Why would this happen? mtr uses ICMP ECHO by default, just like traceroute. Running traceroute under sudo does ...
user avatar
  • 44.5k
0 votes
2 answers
846 views

Traceroute -- where does it end when user is SSHed?

When you traceroute a user SSHed into a server, does the traceroute end with the server or the computer of the person SSHing? Or is the answer more nuanced?
user avatar
0 votes
2 answers
221 views

Tracking traffic through a filtered intranet connection

I am performing a traceroute (I also tried a curl out of curiosity, that just stalls) on a publicly available website (so I know my computer should be able to and is allowed to reach it). However, ...
user avatar
2 votes
2 answers
2k views

Why does traceroute send three packets?

I'd like to learn why traceroute sends three packets per hop by default. (Nothing important, I'm just curious). Edit: packages != packets
user avatar
  • 573
1 vote
2 answers
34k views

PuTTY (SSH) (tracert) Network error: Software caused connection abort

EDITED: SOLUTION FOUND: After contacting godaddy, a solution was found very fast (great service!). What seemed to be the problem was that my IP Address was being blocked, given that I had too many ...
user avatar
  • 363
0 votes
1 answer
126 views

Access from unknown IP tracks to non-existent website

Just had a warning that my Gmail's been accessed from the following IP: 151.230.107.114 which routes to something called htc_frisbee.com , which doesn't appear to be a real website. Could this just be ...
user avatar
0 votes
1 answer
122 views

Internet running slow. Could someone clarify this traceroute output?

So my internet is running slow. I'm on fedora Linux and I think know what im doing (meaning I'm sure it's not any apps or etc.). But this seems to be some provider related thing (Cox). Looking a this ...
user avatar
  • 113
0 votes
1 answer
583 views

dig domain replay SOA

I have a domain and when I use dig jeeja.biz it just gives me my server ip address. ;; ANSWER SECTION: jeeja.biz. 13914 IN A 209.15.212.171 But when I use the same command on another ...
user avatar