Ping? Pong!


In addition to the network posts I made so far I like to add another small amount of information. Chances are that most of you already know this, but I’m putting it down anyway. This could come in handy and I really think you should know how this works and what it is.

When connected to a network or simply the internet, there is an easy way to check if you can connect to a machine, website, server or generally spoken a host.
This is a solution that you can use on most platforms (Windows, Linux, Mac, Unix, …). All you need to do is open up a command prompt and type the command:

ping <host>

For example, you can ping my blog

C:\>ping https://sharpsblogorama.wordpress.com

Pinging lb.wordpress.com [76.74.254.123] with 32 bytes of data:

Reply from 76.74.254.123: bytes=32 time=146ms TTL=50
Reply from 76.74.254.123: bytes=32 time=146ms TTL=50
Reply from 76.74.254.123: bytes=32 time=146ms TTL=50
Reply from 76.74.254.123: bytes=32 time=146ms TTL=50

Ping statistics for 76.74.254.123:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 146ms, Maximum = 146ms, Average = 146ms

The ping command will send (if you are using windows) 4 packages of 32 bytes to the host. The host will get this package and reply to the sender. The reply will be shown in the command prompt. At the end you also get some statistics, info about how much data was sent, received and lost and the “round-trip time” (the time it takes to send info and get a reply).

This is also great to test if your home network is working as it should. Specially when you decide to do a manual configuration. Do note that the host can also be an IP address.

For the women, another interesting fact to impress your boyfriend with at dinner:
The ping command is called “the ping command” because this utility, authored in 1983, was named after the sound that a sonar makes.

Ping away!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: