- The WWW Blog
- Как запустить Traceroute на MacBook, Mac: 2 метода
- Как запустить Traceroute на MacBook Pro, Mac, iMac
- Метод 1: через приложение-терминал
- Метод 2: запустите Traceroute на Mac с помощью приложения Network Utility
- 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.
- How To: Traceroute in Mac OS X Terminal
- Как запустить и использовать Traceroute на macOS
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.
Источник
Как запустить Traceroute на MacBook, Mac: 2 метода
Traceroute — это встроенный инструмент для диагностики проблем сетевого подключения и маршрутизации между Mac и сервером. При открытии веб-сайта приложение показывает, что сайт недоступен или какая-либо другая ошибка, и в конечном итоге вы не сможете посетить веб-сайт. Чтобы преодолеть это и найти причину этой ошибки, на картинке появляется трассировка трассировки. В отчете traceroute вы можете отслеживать, как пакеты перемещаются по пути, где произошла поломка и как ее исправить.
На MacBook и Mac есть два способа запустить traceroute: один — с помощью приложения «Терминал», а другой — приложения «Сетевая утилита», оба функции одинаковы. Вы можете попробовать любой из них, чтобы найти и просмотреть traceroute в macOS.
Как запустить Traceroute на MacBook Pro, Mac, iMac
Метод 1: через приложение-терминал
- Откройте приложение «Терминал» на Mac. Щелкните Finder. Выберите «Приложения» и выберите «Утилиты».
- Оттуда откройте Терминал.
- Введите следующую команду в Терминале.
- Здесь имя хоста относится к имени сервера, который вы хотите протестировать. Это может быть ссылка на любой сайт. Например, если вы хотите узнать результаты трассировки сайта howtoisolve.com, команда будет выглядеть так:
- traceroute howtoisolve.com
- Нет необходимости вводить www или https: // в команде при отслеживании отчета traceroute сервера.
- Mac потребуется несколько минут, чтобы сгенерировать отчет трассировки между соединениями.
- Если отображается знак *, значит время ожидания запроса истекло, проверьте результаты.
- Вот и все.
Метод 2: запустите Traceroute на Mac с помощью приложения Network Utility
Примечание: Сетевая утилита устарела в macOS Big Sur, Так что этот способ бесполезен…
- Пользователи MacOS Catalina и более ранних версий Mac могут использовать Traceroute с помощью сетевой утилиты.
- Нажмите Command + пробел, чтобы открыть поиск Spotlight, а затем выполните поиск в приложении Network Utility. или Открыть из Finder, Открыть Finder на Mac, Из верхнего меню Mac Перейти> Перейти в папку…>
/ Система / Библиотека / CoreServices / Приложения> В папке приложений.
- Выберите вкладку Traceroute.
- Введите URL-адрес веб-сайта, например howtoisolve.com, и нажмите «Трассировка».
Надеюсь, это поможет вам узнать, что вы ищете. Дайте нам знать в комментариях, если у вас есть какие-либо сомнения или вам нужно изучить то же самое.
Источник
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.
Источник
How To: Traceroute in Mac OS X Terminal
Traceroute allows you to discover a network path from one host to another. Traceroute is extremely helpful examining network hops (or network devices traversed over) and information including IP Address, DNS servers, and average time taken over each hop. A popular use of traceroute is to identify network bottlenecks (poor speed performance) happening in network equipment you do not own (network equipment in the Internet). Use Terminal in Mac OS X to traceroute any network address on your local network or the Internet.
Note: While traceroute attempts to explore network path hosts typically outside your private network, traceroute results always vary depending on the network hops you attempt to resolve. For instance, you may not receive replies from every device in your traceroute. Unresponsive devices are represented as 3 asterisks ***. Traceroute will always try to resolve hosts, but it can’t always. Devices that it cannot resolve are usually blocked by a firewall.
1. Open Terminal (Applications -> Utilities -> Terminal)
2. Type the following command
3. Terminal will send a network packet to google.com. Watch as the network packet moves out of your local network, past your ISP, and into the wild. Eventually, the traceroute will complete and it should look like something similar below.
As you see, traceroute provides detailed information about a network destination. Traceroute has a variety of command options you can play with in Terminal. Take a look below.
Источник
Как запустить и использовать 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 покажет, что веб-сайт не подключился успешно один день, но он установил предыдущий день, он не покажет вам, какой маршрут трафика был использован для успешного подключения накануне.
Источник