explain how trace route and ping commands work and how they
explain how trace route and ping commands work and how they can help you diagnose network problems.
Solution
Trace root is a command line alog with the ping commands thar are present in the winows and other operating systems which deals with the internet problems like packet losses and high latency. If you are dealing with any type of problem regarding to the internet that is connection problems between the server and the system trace route will display you where exactly the problem is and helps to identify the problem and then we can rectify them.
Here is how it actually works let us say technically The first packet has a time-to-live (also known as TTL, or hop limit) of 1, the second packet has a TTL of 2, and so on. Each time a packet is passed to a new router, the TTL is decreased by 1. When it reaches 0, the packet is discarded and the router returns an error message. By sending packets in this manner, traceroute ensures that each router in the path will discard a packet and send a response.
ping commands:
Ping is probably the simplest TCP/IP diagnostic utility ever created, but the information that it can provide you with is invaluable. Simply put, ping tells you whether or not your workstation can communicate with another machine.The responses essentially tell you how long it took the specified machine to respond with 32 bytes of data. For example, in Figure A, each of the four responses were received in less than four milliseconds.
