The reason why the tracert command is only one hop in dos and the Solution

Source: Internet
Author: User

For a long time, when I run the Tracert command in DOS on my home computer, I only saw the returned results with only one hop, which made me very puzzled. I thought it was a problem with a telecom operator, so I didn't investigate why.

C: \ Documents ents and Settings \ Administrator> tracert www.baidu.com

Tracing route to www.a.shifen.com [220.181.111.148]
Over a maximum of 30 hops:

1 45 ms 46 ms 46 ms 220.181.111.148

Trace complete.

The problem is that the router does not parse tracert packets.

I accidentally saw an article today about this issue. After reading this article, I learned that it was a router problem. I used the router is TP-LINK TL-R402M, through the TP-LINK technical support staff to the netizen mail content learned, TL-R402M router itself does not tracert packet parsing, so, the middle of the number of hops are not seen.

I have replaced the TL-R402M with a wireless router in the last two months. The model is a TP-LINK TL-WR841N.

I can look at tracert again to see the tracert process.

C: \ Documents ents and Settings \ Administrator> tracert www.baidu.com

Tracing route to www.a.shifen.com [220.181.111.148]
Over a maximum of 30 hops:

1 6 MS 6 MS 5 MS 14.147.84.1
2 6 MS 5 MS 5 MS 14.147.84.1
3 9 MS 8 MS 7 MS 193.114.62.58.broad.gz.gd.dynamic.163data.com.cn
[58.62.114.193]
4 6 MS 6 MS 6 MS 183.56.30.189
5 9 MS 11 MS 11 MS 61.144.3.158
6 48 MS 47 MS 47 MS 202.97.80.37
7 47 MS 51 MS 46 MS 220.181.16.62
8 50 MS 49 MS 49 MS 220.181.16.158
9 54 MS 48 MS 47 MS 220.181.17.150
10 *** Request timed out.
11 47 MS 48 MS 220.181.111.148

Trace complete.

I entered the vro management background and found that the "diagnostic tool" of the vro comes with the ping and tracert detection tools.

Diagnose using online tracert tools

If your vrotractracert still has only one hop, and you want to use Tracert, you can directly dial the Internet through ADSL, so that you can see the Tracert packet, however, switching back and forth requires plugging the network cable, which is troublesome. It is estimated that many people do not like this operation.

In fact, many online tracert tools are available on the Internet, such as the online tracert tools on the card network. We can use them for diagnosis, which is very convenient.

TIPS:

What problems does tracert solve?

Webmasters often use it to detect IP line problems and determine the path adopted by IP datagram access targets.

You can use the tracert command to determine the stop position of a data packet on the network. In the following example, the default gateway determines that there is no valid path for the host 192.168.10.99. This may be due to a vro configuration problem, or the 192.168.10.0 network does not exist (the wrong IP address ).

C: \> tracert 192.168.10.99

Tracing route to 192.168.10.99 over a maximum of 30 hops

1 10.0.0.1 reports: Destination net unreachable.

Trace complete.

Tracert command line options

The Tracert command supports multiple options, as shown in the following table.

Tracert [-d] [-h maximum_hops] [-j host-list] [-w timeout] target_name

Option Description-D: do not resolve the IP address to the host name. -H maximum_hops specifies the number of hops to track the route of the host called target_name. -J host-list specifies the list of router interfaces in the path used by the Tracert utility package. -W timeout: the number of milliseconds specified for each reply. The target host name or IP address of target_name.

When we cannot access the target device through the network, the network administrator needs to determine what went wrong. The problem may not only occur on the final destination device, but also on the intermediate router that forwards data packets.

It is a good method to test which transit routers a data packet goes through from the source point to the destination.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.