ping command

windows ping
C:\WINDOWS\system32>ping 192.168.1.10

Pinging 192.168.1.10 with 32 bytes of data:

Reply from 192.168.1.10: bytes=32 time=2ms TTL=64
Reply from 192.168.1.10: bytes=32 time=6ms TTL=64
Reply from 192.168.1.10: bytes=32 time=2ms TTL=64
Reply from 192.168.1.10: bytes=32 time=2ms TTL=64

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

determining max packet size:
ping -f -l 1500 [host]
-f = do not fragment
-l [size] = size of packet
if the response is “Packet needs to be fragmented but DF set” then the packet size is too large for the destination
source: http://www-01.ibm.com/support/docview.wss?uid=swg21086718

display hops/router IP addresses:
ping -i 3 [host]
-i [TTL] = specify TTL value
-n [#] = specify number of ping requests
the various hops can be displayed by manipulating the TTL value
however, it is simpler to retrieve this info from tracert/traceroute

ping loop:
ping -t [host]

This entry was written by resinblade , posted on Friday March 06 2015at 04:03 pm , filed under IT . Bookmark the permalink . Post a comment below or leave a trackback: Trackback URL.

Comments are closed.