Skip to main content

How to run and read ping test in Windows, Networking!

Ping is a network utility program to test if a particular host is reachable. It uses the internet connection to send out packets of data to a host and are sent back the packets to the source computer. So we can know if any packets were lost. We can see the amount of time it takes to communicate with the host.

Command:

ping target [-t] [-n count] [-w timeout] [-l size]

target - Destination host to ping
[-t] - Ping until you force to stop
[-n count] - Send number of requests (default 4 requests)
[-w timeout] - Set timeout in milliseconds (default 1,000)
[-l size] - Set size of packet (default size 32 bytes)

There are more options available. Only some of them are mentioned here.

Example:








Reading the ping test results:









There are no loss in packets (0% loss). Source machine has received all the sent packets. Minimum time to communicate with the destination (both way) is 4ms and maximum is 6ms. Although, there is not any standard value for it. It depends on your network connectivity. Ideal time for servers on the same network would be <=1ms.

TTL=59
TTL is the numbers of routers (hops) it can pass through before the packet is expired. In this case, packets can travel up to more 59 hops. So already traveled hop would be 63-59=4 assuming Google has set max hops 63. Hops are set based on the needs and platform used, it could be 63, 128 or 255 etc. Please use traceroute command to find the exact numbers of hops that packets are traveled.

Thank you! Hope it helps you in some way while understanding the ping test.

Comments

Popular posts from this blog

Why do we need IP Address when the MAC address is unique? Can't we communicate with only MAC address?

IP addresses (network addresses) are used for just transferring information from one network to other, travelling of information among networks via.  IP address. Mac addresses (physical addresses) are actually used for distribution of information. 1) Carrying of information from one network to another. 2) Distribution of information (resources) is based upon Mac address.

XIAOMI MI4 stuck – Make your phone normal again!

Last week, my MI4 stuck after I installed and applied new theme (theme win10) to my phone. I searched few forums and knew that sometimes MI phones get stuck when some apps are installed. I found some solutions as well to fix it. One of them was to wipe all the data by rebooting to recovery mode. I was worried, I didn’t want to wipe my data at all. So instead of wiping all the data, I cleared cache and my phone came back to normal stage again. These are the steps that I did: Turn off phone by pressing the power button. Press “volume UP + power” button to go into recovery. Select “English” from the menu and go to next screen. Select “Wipe & Reset” and go to next screen. Select “Wipe Cache” and go to next screen. Now select “YES” to confirm wipe cache. After that, go back to main menu and reboot the phone.  It’s done now. I didn’t lose my data.

Set focus to a control from code behind, ASP.NET!

I tried to focus on error message in a control (asp.net table)  but I couldn't get it. So I added a hyperlink control next to the table and set focus on it. It worked perfectly. What I did: Add the following code in aspx.      <asp:HyperLink ID="LnkFocus" runat="server">      </asp:HyperLink> Add this in code behind      LnkFocus.Focus(); That's all. I think this is one of the easiest way to set focus on a control.