Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the tracepath command of linux to track the routing information of the message

Shulou Source: shulou.com Published: 2022-06-02 18:06:59 09月22日 Update

The editor would like to share with you the routing information of tracking messages using linux's tracepath command. I hope you will gain a lot after reading this article. Let's discuss it together.

The tracepath command is used to track and display the routing information through which the message reaches the destination host, and the MTU value in the route can be found. Tracepath uses socket API for all its functions and does not require root permission.

Syntax format: tracepath [parameters] [domain name]

Common parameters:

Reference example

Track the routing information of hosts arriving at the domain name:

[root@linuxcool ~] # tracepath www.linuxcool.com

Track the routing information of hosts to the domain name (both the ip address and hostname are displayed):

[root@linuxcool] # tracepath-b www.linuxcool.com

Set the maximum TTL value for tracking message routing:

[root@linuxcool] # tracepath-m 20 www.linuxcool.com has finished reading this article. I believe you have a certain understanding of using linux's tracepath command to track the routing information of the message. You want to know more about it. Welcome to follow the industry information channel. Thank you for reading!

Tags: Routing information message host command domain name parameter article maximum function at the same time address socket finished instance commonly used more permission format purpose Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Shulou Tech Info Huawei MariaDB Apple