Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
1answer
91 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 ...
1
vote
0answers
94 views

traceroute working but telnet time outs with error 28 [closed]

Previously I was able to telnet to a server , but now I am facing timeout error 28. I tried for traceroute it works and shows hopes . I tried below command curl -v -m 5 telnet://ip:portnum I am ...
-1
votes
2answers
247 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 ...
1
vote
1answer
1k 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-...
1
vote
1answer
972 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 ...
1
vote
1answer
651 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 ...
0
votes
0answers
279 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 ...
1
vote
0answers
86 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 ...
0
votes
0answers
1k 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. ...
12
votes
3answers
4k 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 ...
1
vote
1answer
259 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 ...
-1
votes
2answers
1k 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 ...
1
vote
1answer
153 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 ...
3
votes
1answer
395 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?
1
vote
1answer
99 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 ...
9
votes
1answer
3k 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 ...
1
vote
1answer
2k 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 ...
0
votes
1answer
593 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 ...
1
vote
1answer
901 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 ...
2
votes
1answer
156 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 ...
0
votes
1answer
4k 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 ...
1
vote
2answers
2k 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 ...
0
votes
1answer
470 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 ...
1
vote
3answers
165 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 ...
1
vote
2answers
285 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. ...
1
vote
1answer
150 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 ...
3
votes
1answer
479 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 ...
0
votes
2answers
632 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?
0
votes
2answers
95 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, ...
1
vote
2answers
706 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
1
vote
2answers
31k 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 ...
0
votes
1answer
117 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 ...
0
votes
1answer
92 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 ...
0
votes
1answer
169 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 ...
1
vote
1answer
289 views

traceroute (with TCP) doesn't capture received ICMP responses

System: Fedora 21 Problem: actually already very well described here but unfortunately without any explanation WHY traceroute with TCP is not displaying the ICMP responses and with the (for me ...
-1
votes
2answers
94 views

OpenDNS automatic diagnostics

I've contacted OpenDNS support because advertising is not filtered on this site http://www.backpackerboard.co.nz/ They asked me to read these manual instructions OpenDNS Diagnostic Tool: What to ...
3
votes
2answers
5k views

Script to Ping an IP and create a log showing date/time of any fails, times over 500ms, and traceroute any fails [closed]

I am trying to make a script to run constantly that produces a log showing ping stats. I want the log to contain and ping fails, times over 500ms and the traceroute of any timeouts. Here my script: #!...
0
votes
1answer
30 views

Traceroute to just one domain

Traceroute showing all *** for ONLY ONE DOMAIN. Why? Server has checked to see if it my IP is blocked and it is not. I manage the site and none of it works, email, FTP, cpanel, website, NADA. What ...
2
votes
0answers
2k views

Why is my traceroute hitting the wrong gateway?

What "Should" Happen I want traffic to Google to go through en0 (Mac) and hit gateway A (let's say IP = 123.456.789.000). I have another route setup for en3 and I don't want to mess with that. Tried: ...
14
votes
3answers
15k views

How to get traceroute on cygwin?

The implementation of traceroute(tracert) differs on Windows and Unix. I wanted to compare both with Wireshark. I am on Windows 7 now and I wanted to get Unix traceroute implementation quickly. My ...
1
vote
1answer
7k views

Can I do reverse traceroute?

Is it possible to do reverse traceroute ? This is very important for me to know, Why the websites are loading slow for my clients in certain area ? I have explained my problem here: (why i need ...
1
vote
2answers
960 views

traceroute / mtr from multiple locations, How can we do it ? (Or alternate way)

I have a website, recently due to some network issue, Most of my customers are reporting slow loading time of my website. When I reported this to my DataCenter, they are asking me to send the ping / ...
0
votes
0answers
431 views

Why tracepath and chrome use different gateway

System: Archlinux latest Softerware: NetworkManager My route table Destination Gateway Genmask Flags Metric Ref Use Iface default 10.3.0.9 0.0.0.0 UG ...
1
vote
1answer
480 views

iptables - masqueraded NAT has delayed first hop in traceroute

I'm just in the process of setting up my Linux (Debian-based) router with a PPPoE connection via an ADSL/PPPoA -> PPPoE bridge. The connection works perfectly on the router itself but a traceroute ...
5
votes
1answer
17k views

channel 1: open failed: administratively prohibited: open failed [duplicate]

I am trying to set up an SSH tunnel (on a Raspberry Pi) with the following command: ssh user@terbank.cs.kuleuven.be -L 5672:tabor.cs.kotnet.leuven.be:5672 -N (I should note that I can, or at least ...
20
votes
2answers
51k views

How to make traceroute trace beyond 30 hops?

Some of the servers I use traceroute on, are more than 30 hops away. How do I make traceroute trace beyond 30 hops?
1
vote
2answers
271 views

How to estimate server's network connection quality with traceroute?

I need to estimate network connectivity of various dedicated server hosting providers, e.g. how fast and uniform will my services perform when hosted there. I use traceroute command on my home ...
17
votes
3answers
43k views

traceroute gives only stars + how to fix

When I do: $ traceroute 8.8.8.8 I get in the output showing only stars, even though pinging to google.com ( 8.8.8.8) appears to be working. What do I need to fix in my files/conf in order to ...
4
votes
1answer
165 views

putting extra hops into traceroute6 on OpenBSD

I'm running OpenBSD, or maybe FreeBSD. I don't have lots of IPv4 addresses to waste, but who doesn't have a few billion of IPv6 ones? How do I add some extra IPv6 hops to a traceroute6, around pf(4) ...
2
votes
4answers
20k views

traceroute with explicit gateway selection

I have a router (running Linux) that is connected to two ISPs, the routes are selected using BGP, however, I would like to ping/trace each connection separately. The standard traceroute command seems ...