Friday, 11 April 2014

How to Ping an IP in Linux


The PING command is used to test the connection and latency between two network connections. These connections can be either in a local area network or a wide area network or the internet as a whole. The PING command sends packets of information to a specified IP Address and then measures the time it takes to get a response from the specified computer or device.
Ping in Linux Step 1.jpg
Open a TERMINAL window
Ping in Linux Step 2.jpg
Type "ping" in the Command Window.
Ping in Linux Step 3.jpg
Hit the space bar once.
Ping in Linux Step 4.jpg
Type the IP or website address that you want to ping, after the space. For example, if you want to ping eBay, type "www.ebay.com" after the space. If you want to ping your Router it might be "192.168.1.1"
Ping in Linux Step 5.jpg
Hit "Enter." If the website is up and actively responding, you receive replies back from the server that you pinged with the following information:
  • The IP address
Ping in Linux Step 5Bullet1.jpg

The number of Bytes sent

Ping in Linux Step 5Bullet2.jpg

The time it took in milliseconds

Ping in Linux Step 5Bullet3.jpg

The TTL is Time to Live (This indicated the number of "hops" back from the computer pinged from that computers initial TTL value.)

Ping in Linux Step 5Bullet4.jpg

Ping in Linux Step 6.jpg

Press CTRL C to stop the command and show results.

Ping in Linux Step 7.jpg

0 comments:

Post a Comment