Ping more than 56 bytes on macOS

7

0

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.

Rando54

Posted 2019-10-16T01:01:25.147

Reputation: 79

Answers

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.

Spiff

Posted 2019-10-16T01:01:25.147

Reputation: 84 656

1

Also, look at the iperf tool

– Mawg says reinstate Monica – 2019-10-16T07:00:32.010

5Also, -D means don't fragment. – MCCCS – 2019-10-16T15:52:07.530