Publication date: 2019-09-06
Under Alpine Linux ping yields "name does not resolve" when called with other parameters.
ping -I 10.0.0.253 10.2.12.4 -s 1300
ping: -s: Name does not resolve
Change the order of the command line arguments. The IP to be pinged needs to be at the end.
ping -I 10.0.0.253 -s 1300 10.2.12.4
Background:
By default, Alpine Linux uses a ping command provided by Busybox. This command has a different behavior than the "usual" ping tool provided in the iputils package.