In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to use the traceroute command in the Linux system, the article is very detailed, has a certain reference value, interested friends must read it!
Use the traceroute command in the Linux system to know the path we sent your computer to the host on the other side of the Internet, allowing you to track the route of network data packets. The default packet size is 40Bytes, which the user can set separately.
The syntax traceroute [- dFlnrvx] [- f] [- g...] [- I] [- m] [- p] [- s] [- t] [- w] [hostname or IP address] [packet size] parameter states that-d uses Socket-level troubleshooting.
-f sets the size of the survival value TTL of the first detection packet.
-F setting do not leave the break bit.
-g set source routing gateways. A maximum of 8 can be set.
-I send out packets using the specified network interface.
-I use ICMP responses instead of UDP data information.
-m sets the size of the maximum survival value TTL of the detection packet.
-n directly use the IP address instead of the host name.
-p sets the communication port of the UDP transport protocol.
-r ignores the normal Routing Table and sends the packet directly to the remote host.
-s sets the IP address of the packet sent by the local host.
-t sets the TOS value of the detection packet.
-v shows the execution of the instruction in detail.
-w sets the time to wait for a return from the remote host.
-x turns on or off the correctness check of the packet.
The case demonstrates the use of multiple commands
Traceroute-n-m 5-Q 4-w 3 www.baidu.com
Description:-n displays the IP address, does not check the hostname, and-m sets the hop count
-Q 4 each gateway sends 4 packets-w sets the waiting response time for outgoing probe packets to 3 seconds
The basic UDP port setting used by the probe packet is 6888
Traceroute-p 6888 www.baidu.com
Bypass the normal routing table and send it directly to the network-connected host
Traceroute-r www.baidu.com
The above is all the contents of the article "how to use traceroute commands in Linux system". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.