Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

What commands can you run? (must be via the terminal)

share|improve this question
add comment

3 Answers

up vote 3 down vote accepted

You can specify the packet size in ping using "-s" flag:

-s packetsize
          Specifies the number of data bytes to be sent.  The default is 56, which  translates  into
          64 ICMP data bytes when combined with the 8 bytes of ICMP header data.
share|improve this answer
add comment
ping -s nnnn a.b.c.d

sends packets of size nnnn+8 bytes (including header data) to address a.b.c.d, according to the manpage.

share|improve this answer
add comment

[root@example ~]# ping -s install.log 192.168.68.107 PING 192.168.68.107 (192.168.68.107) 0(28) bytes of data. 8 bytes from 192.168.68.107: icmp_req=1 ttl=64 8 bytes from 192.168.68.107: icmp_req=2 ttl=64 8 bytes from 192.168.68.107: icmp_req=3 ttl=64

try like this :)

share|improve this answer
    
-1, the -s argument takes packet size as an integer, not a file name. –  Chris S Dec 12 '10 at 20:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.