- How to perform traceroute checks in Windows, Linux and Mac OS?
- How To Run Traceroute on macOS
- To run traceroute on a Mac using the Terminal app
- To run traceroute on a Mac using the Network Utility app
- Thank you for choosing to leave a comment.
- Как запустить и использовать Traceroute на macOS
- The WWW Blog
- How to use TCP Traceroute
- Windows
- Installing the WinPcap library:
- Running a TCP Traceroute on Windows (tracetcp):
- Running a TCP Traceroute on Mac OS X
- Running a TCP Traceroute on Linux
How to perform traceroute checks in Windows, Linux and Mac OS?
Below you will find instructions on how to perform a traceroute check based on the operating system of your computer.
Note that in our examples you will need to replace yourdomain.com with your actual domain name.
For Windows 7 and older:
Open Start menu > Click Run > Type cmd and press Enter.
In the command prompt type tracert yourdomain.com and press Enter.
For Windows 8.x and newer:
Use the search window, type command prompt and click on the Command Prompt result.
Type tracert yourdomain.com and press Enter.
This will provide traceroute results from your computer to yourdomain.com. You can also use tracert with an IP, i.e. tracert 1.2.3.4
For more information on how to copy and paste the traceroute results, check this article.
You need to open up Terminal, located under Applications > Utilities > Terminal and type:
traceroute yourdomain.com and press Enter.
Alternatively, go to the Applications folder > Utilities > Network Utility > Traceroute and specify your domain or IP address.
You can also use traceroute with an IP, i.e. traceroute 1.2.3.4
Open a Terminal window and type:
Источник
How To Run Traceroute on macOS
This article explains how you can perform a traceroute on your Mac. You may use traceroute to diagnose network routing issues (e.g., connectivity problems) and other related problems because it is a a network diagnostic tool.
There are two ways to do this:
To run traceroute on a Mac using the Terminal app
1-Launch the Terminal app. To open the Terminal app, you can:
- Go to Finder > Applications > Utilities > Terminal. Or alternatively,
- You may open it using Spotlight, open spotlight and search Terminal.
2-Type the following command and press Enter
traceroute hostname
In this command, hostname is the name of the server connection you are testing, like macreports.com. This could be a domain name or an IP address. For example, if we want to find the traceroute result for macreports, here is the command you need to enter:
traceroute macreports.com
As you can see above, you do not need to enter the “https://” or “www.” section of the website’s address.
3-It may take up to a few minutes for your Mac to complete the process. Your Mac will generate a list of connections between your computer and its destination.
If you see * signs, that means “Request Timed Out”. Just wait. Then you may review the results.
To run traceroute on a Mac using the Network Utility app
You may also use the Network Utility app. Here is how:
1-Open the Network Utility app
- You can find Network Utility in /System/Library/CoreServices/Applications. Or alternatively:
- You can use Spotlight to open it.
2-Click the Traceroute tab.
3-Your your domain or IP number, like macreports.com and click Trace.
4-And review the results.
Serhat Kurt
Dr. Serhat Kurt worked as a Senior Technology Director. He holds a doctoral degree (or doctorate) from the University of Illinois at Urbana / Champaign and a master’s degree from Purdue University. Here is his LinkedIn profile.
Thank you for choosing to leave a comment.
Please note the following:
- All comments are moderated.
- Your email will NOT be published nor shared.
- All SPAM comments will be deleted.
- Please see our comment policy page for more info.
Источник
Как запустить и использовать Traceroute на macOS
Как и многие другие служебные приложения для MacBook и iMac, traceroute встроена в ваш Mac и предназначена для диагностики проблем с подключением. Это скорее диагностический инструмент, чем обычное приложение. Traceroute может быть ценным инструментом для многих пользователей Mac, хотя он не является специфичным для Mac. Пользователи могут рассчитывать на использование Traceroute для анализа того, насколько плохое сетевое соединение и какой трафик трафик используют Mac для перехода на веб-сайт.
Это также образовательный инструмент для наблюдения за магией Интернета и за тем, как ваш компьютер использует определенные коды и команды для перехода на веб-сайт, который вы видите на экране.
Traceroute не предназначен для предоставления конкретных деталей, таких как сетевые интерфейсы. Это требует больше исследований. Единственная информация, которую Traceroute предоставляет, – это имя хоста или IP-адрес.
Как открыть Traceroute через сетевую утилиту
Вы можете сделать это одним из двух способов. Первый способ – открыть его через приложение Network Utility, которое поставляется с каждым компьютером Mac. Ярлык для сетевой утилиты:
/ System / Library / CoreServices / Применение
Вы можете либо выполнить действия на своем Mac, перечисленные в этом ярлыке, либо открыть Finder, щелкнуть «Перейти», нажать «Перейти в папку», ввести ярлык, нажать «Перейти», а затем нажать «Сетевая утилита». Отсюда будет несколько вкладок, на которые вы можете нажать. Нажмите на тот, который говорит Traceroute.
Когда вы будете здесь, введите адрес любого веб-сайта, который вам необходим для проверки сетевого подключения.
Как открыть Traceroute через терминал
Другой способ открыть Traceroute – через приложение Terminal на каждом Mac. Для этого нажмите Finder, затем «Приложения», затем «Утилиты» и, наконец, «Терминал». Терминал требует очень определенных команд, чтобы делать то, что вы хотите. Когда вы наконец доберетесь до этого приложения, введите команду:
имя хоста traceroute
Имя хоста – это место для любого сервера или веб-сайта, для которого вы хотите проверить соединение. Вы можете указать здесь любой веб-сайт или имя сервера.
Этот процесс может занять некоторое время, поэтому помните, что терпение – это добродетель. Также помните, что символ * означает «истекло время ожидания запроса». Просто продолжайте помнить, что терпение – это добродетель, когда вы видите это и продолжаете ждать.
В то время как все остальное о Mac, или любой Apple Продукт работает быстро и способен дать вам все, что вы хотите в мгновение ока, traceroute является одним из немногих медленных аспектов Apple, Это потому, что он опирается на обмен сообщениями ICMP, который, естественно, вызывает задержку. Он был разработан на «медленном пути», а не на типичном «быстром пути», который Apple продукты известны.
Note что в Traceroute отсутствует историческая информация, а это означает, что он покажет вам состояние подключения только одного дня, а не прошлых дней. Например, если Traceroute покажет, что веб-сайт не подключился успешно один день, но он установил предыдущий день, он не покажет вам, какой маршрут трафика был использован для успешного подключения накануне.
Источник
The WWW Blog
Traceroute is a tracking way with which you can know how web pages actually reach your computer, from the server. Your computer is not directly related to any web page, or any downloadable file, but gets connected through a pathway or chain where you send an information to your router, and from there to the next destination in the pathway.
Sometimes due to a problem in any link, the site loading doesn’t happen. Here is where traceroute helps you in finding the loopholes and problems in the loading of the website.
Here is how to run traceroute in Mac OS –
1. Through the terminal.app in utilities –
The terminal app in mac helps you find the roots of the whole file systems and the operating system. Most of the system processes can be found through the terminal application.
Open the Terminal.app from the list of Utilities in Applications, and enter the following –
traceroute www.thewwwblog.com (replace www.thewwwblog.com with the domain name you want to traceroute)
Hit enter/return and you would see the traceroute process happening.
2. Through Network Utility –
The network utility in mac is useful in many ways to monitor the network usage, and the availability of network etc. Through that you can ping a website, lookup the availability of a domain, the WHOIS data etc. You just need to select the traceroute option, and enter the web address there –
The tracerouting starts and the IPs hit are displayed as shown in the pic –
This is what traceroute helps in –
The results area in the lower part of the window now shows you the trace or track for the signal your computer sends to the address you specified.
When you run a trace your machine sends out a tiny packet of data (40 bytes). The next device along the line sends a notification to you that the data reached it. That all takes a little time, measured in milliseconds. 1 millisecond (ms) = 1/1000th of a second.
The traceroute shows the path of a query sent, first from the local modem to the service provider, and from there to the main hosting site, and so on.
Источник
How to use TCP Traceroute
The first step to troubleshooting any connectivity issue is to understand the path that packets take on their way to the destination hostname or IP address. To do this, we obtain a Traceroute.
A traceroute is gathered by sending a packet to a target host with a Time To Live increasing by 1 until the destination host is reached.
Note that not all ‘hops’ along a route will reply — this is normal and should not be interpreted as a bad route.
In the case of Perforce, Subversion and Git, the protocol used is TCP; however, traditional traceroutes on Windows, Mac and Linux use the ICMP or UDP protocols. This means that a traditional traceroute may not give the real picture as to what’s happening with repository traffic.
For this reason, when working with our support team to troubleshoot a connectivity issue, we find it best to have a TCP Traceroute.
It’s also quite helpful for our team to also know your public IP address ( which can be obtained by accessing https://checkip.amazonaws.com ) as well as the advertised download and upload speed of your internet connection in Megabits Per Second (Mbps), which can be obtained at http://www.speedtest.net/
Windows
Because Windows cannot natively run TCP traceroute, you will need to install the WinPcap library and download the tracetcp utility.
Installing the WinPcap library:
Double-click on the downloaded executable file open it and start installation
Click the Next button on the WinPcap Setup Wizard page:
4. Review the License agreement and click I Agree
5. On the next page click Install
Once you’ve downloaded the archive, extract the files from the .zip archive and move them to the C:\WIndows\System32\ folder
Running a TCP Traceroute on Windows (tracetcp):
Open the Command Prompt (CMD) by pressing Win + R
In the run dialog box, type cmd and click OK
3. Type the following command: tracetcp ******************
Where ****************** is replaced with your domain name, server name, or IP address
Running a TCP Traceroute on Mac OS X
1. Press command + space to open the Spotlight search box, then type Terminal and press enter
2. Type the following command into Terminal:
Then press enter and wait for the command to finish
3. Type brew install tcptraceroute and wait for the installation to be finished
4. You’re done! Now you can use the TCP Traceroute command line tool. Just type sudo tcptraceroute ************ and press enter
Note: *************** should be replaced with your domain name, server name, or IP address, followed by a space and then the destination port number.
Note: When executing this command, enter the password for the administrator account you are logged in as when prompted.
Running a TCP Traceroute on Linux
1. Open Terminal
2. Type sudo traceroute -T -p 1667 *************
Note: ************** should be replaced with your domain name, server name, or IP address, and 1667 should be replaced with the appropriate port
Источник