In addition to the telnet and ping commands, traceroute is also used to check network connectivity. Like the ping command, this command also checks the hardware and protocols at the network layer. However, the trace command can provide the router that passes through the destination, the network administrator can enter traceroute in user mode and privileged mode for execution. The destination can be an IP address or a vro name.
Traceroute command instance:
In this example, the router from FAMILY to IT168 must go through the ISP and DNS routers. The following is the result of the command:
Family # traceroute it168
Type escape to abort
Tracing the route to it168 (129.0.0.2)
1 isp (202.100.96.68) 6 msec 6 msec 3 msec
2 dns (202.158.96.58) 8 msec 8 msec 3 msec
3 it168 (129.0.0.2) 8 msec 8 msec 3 msec
Family #
If a problem occurs with the name of the DNS router, the name of the second DNS router will change to an asterisk, And the router will continue to try the connection. Until the user enters the Ctrl-Shift-6 to end.