What happened to the -D option on ping?

Trying to test some PMTU Discovery and looking to see ICMP messages but ping no longer supports the -D option? If you google anything about PMTU discovery you will find references to this option on Mac OS X. Running MacOS 10.15.5.


Any ideas?


sh-3.2# ping -D 1.1.1.1


ping: invalid option -- 'D'


Try 'ping --help' or 'ping --usage' for more information.

iMac Line (2012 and Later)

Posted on Jun 2, 2020 11:29 AM

Reply
Question marked as Top-ranking reply

Posted on Jun 2, 2020 12:58 PM

Found it. Somewhere another copy of ping got installed in /usr/local/bin. Renamed that to dumbping and viola.


ping 10.1.1.1 -D

PING 10.1.1.1 (10.1.1.1): 56 data bytes

Request timeout for icmp_seq 0

Request timeout for icmp_seq 1

Request timeout for icmp_seq 2



Similar questions

6 replies

Jun 2, 2020 11:41 AM in response to dougmcconnell

iMac22:~ john$ sh
sh-3.2$ ping -D 10.0.1.1
PING 10.0.1.1 (10.0.1.1): 56 data bytes
64 bytes from 10.0.1.1: icmp_seq=0 ttl=255 time=1.737 ms
64 bytes from 10.0.1.1: icmp_seq=1 ttl=255 time=1.701 ms
64 bytes from 10.0.1.1: icmp_seq=2 ttl=255 time=0.636 ms
64 bytes from 10.0.1.1: icmp_seq=3 ttl=255 time=0.645 ms
^C
--- 10.0.1.1 ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.636/1.180/1.737/0.539 ms
sh-3.2$ 


🤷🏻‍♂️

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

What happened to the -D option on ping?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.