Some might use route-tracking commands, but they don't quite understand the results shown. Let me give you a combination of my explanation. (1) Introduction of tracert command The tracert is a routing trace command that, through the return result of this command, can obtain the network devices that the local destination host has passed through. Usage: tracert [d] [-h maximum_hops] [-j host-list] [w timeout] Target_name Parameter description: -D does not need to convert IP addresses to domain names The maximum number of hops allowed to be tracked by-h maximum_hops -j host-list The list of hosts passed by -W timeout Maximum allowable latency per reply (2) Tracert working principle In the ping command described earlier, there is a TTL parameter that specifies the lifetime of the ICMP packet, where the lifetime is the total number of nodes the packet can pass through. For example, if the TTL value of an ICMP packet is set to 2, the ICMP packet can only be passed to a neighboring second node on the network, and if set to "1", then the ICMP packet can only pass to the neighboring first node. TRACERT is designed according to this principle, when using this command, the native ICMP packet ttl value from "1" started automatically increased, the equivalent of ping traverse to the target host each network device, and then display the response of each device to detect each node in the network path. For example, type the "tracert www.163.com" command to detect which nodes the packets sent to 163 are passing through, and then analyze the target network structure, as shown in Figure 1-22. Figure 1-22 The analysis results are as follows: The 1th Hop 1 <10 ms <10 ms <10 Ms 210.-.-.254, where 210.-.-.254 is a native gateway. The 2nd Hop 2 <10 ms <10 ms <10 Ms 210.-.-.13, where 210.-.-.13 is the Cernet node. The 3rd Hop 3 <10 ms <10 ms <10 Ms 202.112.53.241, where 202.112.53.241 is the node of the Guangzhou Education Network. ...... 6th Jump 6 Ms Ms 202.112.36.131, of which 202.112.36.131 is located in China Education and research computer network High-performance Computing Center. The 7th Hop 7 ms Ms 219.158.28.25 from the node, data packets from the education network into the public network. After a few jumps, the packet goes into the 163 network. One more example to Sina: Use the command "tracert www.sina.com.cn". C:\>tracert www.sina.com.cn Tracing route to sina37-42.sina.com.cn [202.108.37.42] Over a maximum of hops: 1 <1 ms <1 ms <1 ms 210.-.-.- 2 <1 ms <1 ms <1 ms 210.-.-.- 3 <1 ms <1 ms <1 ms 202.-.-.- 4 6 ms 6 ms 6 ms Sydl3.-.net [202.-.-.-] 5 ms ms Ms Bysy3.-.net [202.-.-.-] 6 ms Ms Ms 202.-.-.- 7 * * Request timed out. 8 1776 Ms 1762 Ms 1758 Ms 219.-.-.- 9 1766 Ms 1757 ms 1769 MS 202.96.12.42 1580 Ms 1572 ms 1557 Ms 202.106.192.174 One 1678 Ms 1732 ms 1642 Ms 210.74.176.158 1650 Ms 1662 ms 1616 Ms Sina37-42.sina.com.cn [202.108.37.42] Trace complete. Combined with the network infrastructure described earlier, the 7th Hop network device is not responding, so the 7th hop should be "firewall". |