7

I am on macOS and using terminal to ping. How would I be able to ping more than 56 bytes? I tried to search but was not able to find the answer.

18

ping -s size host

ping -s 1472 target.example.com

I gave 1472 as an example because with typical header lengths, that creates a single full-size packet without fragmentation.

For more information about the ping(1) command's options, view its manual page with the command man ping in the terminal.

  • 1
    Also, look at the iperf tool – Mawg Oct 16 at 7:00
  • 5
    Also, -D means don't fragment. – MCCCS Oct 16 at 15:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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