Change Ping Packet Size

  • Win:     ping –l 1450 IP_ADDRESS
  • Linux:  ping –s 1450 IP_ADDRESS

Send 10 packets and stop

  • Win:  ping –n 10 IP_ADDRESS
  • Linux: ping –c 10 IP_ADDRESS

Show ping statistics without stopping

  • Linux ping :  Press Ctrl + |  (pipe)

hostname:~ $ ping 10.6.10.70

PING 10.6.10.70 (10.6.10.70) 56(84) bytes of data.

64 bytes from 10.6.10.70: icmp_seq=0 ttl=117 time=193 ms

64 bytes from 10.6.10.70: icmp_seq=2 ttl=117 time=192 ms

3/3 packets, 0% loss, min/avg/ewma/max = 192.830/194.554/194.019/197.052 ms

64 bytes from 10.6.10.70: icmp_seq=3 ttl=117 time=193 ms

64 bytes from 10.6.10.70: icmp_seq=4 ttl=117 time=195 ms

64 bytes from 10.6.10.70: icmp_seq=5 ttl=117 time=193 ms

64 bytes from 10.6.10.70: icmp_seq=6 ttl=117 time=195 ms

  • Windows ping: Press Ctrl + Break

C:\Users\trololo>ping -t 16.62.172.1

Pinging 16.62.172.1 with 32 bytes of data:

Reply from 16.62.172.1: bytes=32 time<1ms TTL=255

Reply from 16.62.172.1: bytes=32 time<1ms TTL=255

Reply from 16.62.172.1: bytes=32 time<1ms TTL=255

Ping statistics for 16.62.172.1:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 0ms, Maximum = 0ms, Average = 0ms

Control-Break

Reply from 16.62.172.1: bytes=32 time<1ms TTL=255

Reply from 16.62.172.1: bytes=32 time<1ms TTL=255

Reply from 16.62.172.1: bytes=32 time<1ms TTL=255

Leave a Reply