[email protected]Mon – Fri 9:00AM – 5:00PMLinkedInXFacebook
NexonHost
Netherlands Dedicated ServersAmsterdam · Equinix AM6Germany Dedicated ServersFrankfurt · Equinix FR4Romania Dedicated ServersBucharest · VoxilityAustria Dedicated ServersVienna · Interxion VIEBulgaria Dedicated ServersSofia · TelepointFrance Dedicated ServersParis · Interxion PAR — Marseille · Digital Realty MRS3Ireland Dedicated ServersDublin · Equinix DB2Italy Dedicated ServersMilan · Irideos AvalonPoland Dedicated ServersWarsawSpain Dedicated ServersMadrid · Equinix MD2United States Dedicated ServersAshburn · Equinix DC
All articles
Knowledge BaseAugust 11, 2023

How to use traceroute command.

What is traceroute command?

The traceroute command in Linux is a network diagnostic tool used to track the route and measure the round-trip time (RTT) of packets between your computer and a destination IP address or hostname. It helps in identifying the path that network packets take to reach a specific destination.

Syntax:

traceroute [options]  host_Address [pathlength]

Options:

  • -4 Option: Use ip version 4 i.e. use IPv4Syntax:
    $ traceroute -4 staging.nexonhost.com/

-6 Option: Use ip version 6 i.e. use IPv6

Syntax:

$ traceroute -6 staging.nexonhost.com/

-F Option: Do not fragment packet.

Syntax:

$ traceroute -F staging.nexonhost.com/

-f first_ttl Option: Start from the first_ttl hop (instead from 1).

Syntax:

$ traceroute -f 10 staging.nexonhost.com/

-g gate Option: Route the packet through gate.

Syntax:

$ traceroute -g nexonhost

-m max_ttl Option: Set the max number of hops for the packet to reach the destination.Default value is 30.

Syntax:

$traceroute  -m 5 staging.nexonhost.com/

-n Option: Do not resolve IP addresses to their domain names.

Syntax:

$traceroute -n staging.nexonhost.com/

-p port Option: Set the destination port to use. Default is 33434.

Syntax:

$traceroute  -p 20292 staging.nexonhost.com/

-q nqueries Option: Set the number of probes per each hop. Default is 3.

Syntax:

$traceroute -q 1 staging.nexonhost.com/

packetlen Option: The full packet length. Default len is 60 byte packets.

Syntax:

$traceroute  staging.nexonhost.com/ 100

–help: Display help messages and exit.

Syntax:

$traceroute --help

Conclusion

In the ever-connected digital ecosystem, network problems are inevitable. Traceroute serves as a guiding light, offering transparency into the intricate paths that data traverses. Whether it’s diagnosing latency issues, pinpointing packet loss, or uncovering routing anomalies, this tool empowers network professionals to take proactive measures, optimize performance, and ensure seamless connectivity. Traceroute is not just a diagnostic tool; it’s a window into the heart of the internet, allowing us to see the journey that our data undertakes on its way to its destination.

Keep reading
How to Implement Network Segmentation and Resource Isolation in Linux.
February 6, 2024

How to Implement Network Segmentation and Resource Isolation in Linux.

How to Implement Network Segmentation and Resource Isolation in Linux. Securing and managing networks in a Linux environment involves advanced practices like network segmentation and resource isolation. This guide explores these concepts, providing detailed instructions and examples for…

Read article
How to open or close ports in Linux.
February 6, 2024

How to open or close ports in Linux.

How to open or close ports in Linux. Effectively managing ports on your Linux system is crucial for both security and service accessibility. This comprehensive guide will provide a detailed walkthrough on opening and closing ports using the robust tools iptables and ufw. Understanding these…

Read article
How to use ypdomainname command.
January 23, 2024

How to use ypdomainname command.

How to use ypdomainname command. In the realm of Linux networking, the ypdomainname command plays a crucial role in the context of the Network Information Service (NIS). NIS, formerly known as Yellow Pages, is a distributed database service that facilitates the sharing of network configuration and…

Read article
Get in Touch

Together, Let’s Build a Faster, Safer Internet.

Build scalable infrastructure with NexonHost — high-performance dedicated servers, VPS hosting, colocation, and DDoS protection across Europe.

Get Started →Contact Us
[email protected]Mon – Fri 9:00AM – 5:00PM