Using TRACERT to troubleshoot TCP/IP issues in Windows

Source: Internet
Author: User

How the TRACERT command works

The TRACERT diagnostic utility determines the route used by the Internet Control Message Protocol (ICMP) echo packets to target destinations to which different IP time-to-live (TTL) values are sent. on each router on the path, it takes at least 1 TTL on the packet to forward it, so the TTL is valid before the hop count. when the TTL on the packet arrives 0 o'clock, the router should send the ICMP time-out message back to the source computer.

TRACERT determines the number of TTL by sending the first ECHO packet to 1, and increments the TTL by 1 on each subsequent transmission to the destination of the route response or to the maximum TTL value. The route is determined by checking the ICMP time-out message sent back by the intermediate router. Note that some routers silently discard packets using the expiry TTL, which is not visible for TRACERT.

The TRACERT output Router Returns an ordered list of paths for ICMP time-out messages. If you use the-D switch (tells TRACERT that you cannot perform DNS lookups on each IP address), the IP address of the near-side router interface is reported.


An example of the following command-line syntax shows all the possible options:

Tracert-d-H maximum_hops  -j- host-list  Wtimeout target_host

The role of the parameter:

-d specifies not to resolve the address to host name-h maximum_hops Specifies the maximum number of hops when a search destination address is specified-J host-list specifies the slack source route along the host list--the wait milliseconds specified by timeout for each reply target_ Host Specifies the name or IP address of the target host. -R Trace Round trip path (only for IPV6)-S srcaddr the source address to use (IPV6 only)-4 force use of ipv4-6 force IPV6


This article is from "Try to be brave" blog, declined reprint!

Using TRACERT to troubleshoot TCP/IP issues in Windows

Related Article

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.