Network diagnostic tool for IPv4/IPv6 - traceroute/traceroute6

CK1820 
Created at Mar 06, 2024 03:59:14 
165   0   0   0  

Traceroute and Traceroute6 are both network diagnostic tools, but they are designed for different network protocols. Here's the key difference between them:

Traceroute is for IPv4, while Traceroute6 is for IPv6. Depending on the network infrastructure you are dealing with, you would choose the appropriate tool to trace the route of packets. Many modern systems support both IPv4 and IPv6, so you might use either tool based on the type of address you're working with.

Sometimes, you may need to check if remote server is reachable by traceroute like below:

traceroute foo.com

Above shows the result like below which is based on IPv4

% traceroute yahoo.com
traceroute: Warning: yahoo.com has multiple addresses; using 98.137.11.164
traceroute to yahoo.com (98.137.11.164), 64 hops max, 52 byte packets
 1  192.168.0.1 (192.168.0.1)  13.124 ms  7.384 ms  8.167 ms
 2  12.197.211.17 (12.197.211.17)  20.829 ms  9.853 ms  7.983 ms
 3  32.142.247.33 (32.142.247.33)  25.013 ms  67.076 ms  31.878 ms
 4  * * *
 5  * * *
 6  * * *
 7  32.130.90.123 (32.130.90.123)  8.407 ms  30.977 ms  8.105 ms
 8  lax-b23-link.ip.twelve99.net (62.115.45.150)  11.794 ms  8.686 ms  7.936 ms
 9  sjo-b23-link.ip.twelve99.net (62.115.116.40)  19.611 ms  15.306 ms  16.512 ms
10  sea-b1-link.ip.twelve99.net (62.115.132.153)  215.500 ms  89.163 ms  71.839 ms
11  oathholdings-ic-328471.ip.twelve99-cust.net (62.115.36.197)  147.092 ms  35.657 ms  40.370 ms
12  ae-7.pat2.gqb.yahoo.com (209.191.65.45)  118.945 ms
    ae-10.pat1.gqb.yahoo.com (209.191.65.47)  48.253 ms
    ae-7.pat2.gqb.yahoo.com (209.191.65.45)  102.889 ms
13  et-0-0-8.msr2.gq2.yahoo.com (66.196.67.117)  48.582 ms
    et-19-0-8.msr2.gq2.yahoo.com (66.196.67.119)  37.961 ms
    et-8-0-8.msr2.gq1.yahoo.com (66.196.67.115)  38.643 ms
14  et-1-1-0.clr1-a-gdc.gq2.yahoo.com (98.136.158.173)  112.520 ms
    et-0-0-0.clr2-a-gdc.gq2.yahoo.com (98.136.158.183)  45.265 ms  120.968 ms
15  lo0.fab7-1-gdc.gq2.yahoo.com (98.136.159.241)  36.815 ms
    lo0.fab3-1-gdc.gq2.yahoo.com (98.136.159.245)  37.790 ms
    lo0.fab6-1-gdc.gq2.yahoo.com (98.136.159.242)  49.296 ms
16  usw1-1-lbc.gq2.yahoo.com (98.136.158.192)  102.752 ms  45.503 ms
    usw2-1-lbc.gq2.yahoo.com (98.136.158.193)  131.550 ms
17  media-router-fp73.prod.media.vip.gq1.yahoo.com (98.137.11.164)  40.355 ms  42.813 ms  44.017 ms

If you want to traceroute based on IPv6, you can try it by traceroute6

% traceroute6 yahoo.com
traceroute6: Warning: yahoo.com has multiple addresses; using 2001:4998:44:3507::8000
traceroute6 to yahoo.com (2001:4998:44:3507::8000) from 2600:381:f52c:3424:4ff:166c:f229:f3a6, 64 hops max, 28 byte packets
 1  2600:381:f52c:3424:3808:33b5:819c:8b1a  30.751 ms  8.387 ms  11.926 ms
 2  2606:ae00:b800:6111::d  39.669 ms *  33.151 ms
 3  2600:300:20e8:407::3  22.864 ms  47.992 ms *
 4  2001:1890:ff:ffff:12:122:83:80  48.581 ms  50.918 ms  56.617 ms
 5  2001:1890:ff:ffff:12:122:83:80  46.537 ms  41.549 ms  45.607 ms
 6  * * *
 7  2001:1890:f6:1803::2  49.108 ms  41.104 ms  55.822 ms
 8  * *
    lax-b23-link.ip.twelve99.net  108.467 ms
 9  lax-b22-v6.ip.twelve99.net  55.200 ms  65.065 ms  53.739 ms
10  phx-b5-v6.ip.twelve99.net  69.897 ms * *
11  * * *
12  kanc-bb2-v6.ip.twelve99.net  118.755 ms
    yahoo-ic319092-dls-b23.ip.twelve99-cust.net  82.214 ms  241.806 ms
13  ae-13.pat1.dnx.yahoo.com  307.294 ms
    2001:1890:1fff:200:192:205:32:214  158.465 ms  114.450 ms
14  ae-5.pat2.nez.yahoo.com  129.263 ms  129.122 ms  147.892 ms
15  2001:4998:f000:1d::1  122.412 ms * *
16  2001:4998:47:e::1  95.201 ms  90.660 ms *
17  yahoo-ic319092-dls-b23.ip.twelve99-cust.net  95.143 ms
    ae-13.pat1.dnx.yahoo.com  100.133 ms  94.548 ms
18  et30.usw1-1-lbd.ne1.yahoo.com  133.918 ms
    et25.usw1-1-lbd.ne1.yahoo.com  98.666 ms
    ae-5.pat2.nez.yahoo.com  111.805 ms
19  et-19-1-1.msr2.ne1.yahoo.com  105.671 ms * *
20  * *
    et-12-0-1.msr1.ne1.yahoo.com  141.430 ms
21  2001:4998:47:3::1  115.500 ms * *
22  2001:4998:44:fa24::1  98.171 ms
    2001:4998:47:28::1  182.480 ms
    et27.usw2-1-lbd.ne1.yahoo.com  104.098 ms
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *


Tags: Network Diagnostic Tools traceroute traceroute6 Share on Facebook Share on X

◀ PREVIOUS
chmod by type (directory and file permission)
  Comments 0
Login for comment
OTHER POSTS IN THE SAME CATEGORY

chmod by type (directory and file permission) (created at Jan 15, 2024)

Check network port is open or not on CentOS 7 (updated at Jan 15, 2024)

Change MySQL port number for security purpose (updated at Jan 15, 2024)

CentOS warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory on CentOS 7 (updated at Jan 15, 2024)

Set up an SMTP server on CentOS 7 (created at Jan 15, 2024)

How to mount windows shared folder on Centos 6.8 - mount error 12 = Cannot allocate memory to the mount.cifs(8) (updated at Dec 17, 2023)

Configuring IP Address on Centos 6.7 (created at Nov 08, 2015)

Adding new cron job for automated processing on every 10 minutes on Centos 6.7 (updated at Dec 17, 2023)

Set timezone and time on Centos 6.7 (created at Nov 02, 2015)

How to optimize MySQL automatically in CentOS Linux (updated at Dec 17, 2023)

How can I increase MySQL max connections? (created at Mar 18, 2008)

UPDATES

Creating a Pinterest-Style Card Layout with Bootstrap and Masonry (created at Apr 24, 2024)

Mastering Excel Data Importation in PHP (updated at Apr 24, 2024)

JSON format control in PHP (updated at Apr 24, 2024)

Equal Height Blocks in Bootstrap with JavaScript (created at Apr 22, 2024)

How to convert integer to text string ? (updated at Apr 22, 2024)

Checking similarity between two strings in PHP (updated at Apr 21, 2024)

Create Blob Image in HTML based on the given Text, Width and Height in the Center of the Image without saving file (updated at Apr 21, 2024)

How do I determine the client IP type (IPv4/IPv6) in PHP (updated at Apr 16, 2024)

How do I determine the client IP type in Python - IPv4 or IPv6 (updated at Apr 13, 2024)

Getting Started with PyTorch: A Beginner's Guide to Building Your First Neural Network (updated at Apr 09, 2024)

Predicting Buyer Preferences with PyTorch: A Deep Learning Approach (updated at Apr 09, 2024)

Forecasting the Weather with PyTorch: A Beginner's Guide to Temperature Prediction (created at Apr 09, 2024)

PyTorch example to Forcast Stock Price based on 10 days Dataset (created at Apr 09, 2024)

Mastering Model Persistence: Saving and Loading Trained Machine Learning Models in Python (created at Apr 08, 2024)

Harnessing the Power of Random Forest Algorithm in Python (created at Apr 08, 2024)

Understanding and Implementing K-Nearest Neighbors (KNN) Algorithm in Python (created at Apr 08, 2024)

Forecasting with Linear Regression and KNN Regression in Python (updated at Apr 07, 2024)

What is 302 Found Redirection in HTTP 1.1? (created at Apr 04, 2024)

Mastering Random Forest Regression: A Comprehensive Guide with Python Examples (updated at Apr 01, 2024)

Python Implementation of Linear Regression (updated at Apr 01, 2024)

Mastering Supervised Machine Learning with Python: A Comprehensive Guide (created at Apr 01, 2024)

Mastering AI: A Beginner's Guide to Python Programming and Beyond (created at Apr 01, 2024)

How do I create animated background for Google Meet? (updated at Mar 28, 2024)

Building a Simple DNS Server in Delphi with TTL Support (created at Mar 16, 2024)

How to force cookies, disable php sessid in URL ? (updated at Mar 16, 2024)

Implementing a Versatile DNS Server in PHP: Handling A, AAAA, CNAME, and TXT Records (updated at Mar 16, 2024)

Implementing a Versatile DNS Server in Python: Handling A, AAAA, CNAME, and TXT Records (created at Mar 16, 2024)

Building a Basic DNS Server in PHP/Python: A Beginner's Guide (updated at Mar 15, 2024)

Dynamic DNS Made Easy: Building a Python-Based Solution (created at Mar 15, 2024)

Exploring the Depths of Data Transfer: sendfile vs. kTLS (created at Mar 15, 2024)