#748995 oping: Feature request: Flag to ping both, IPv4 and IPv6 address of the same host

Package:
oping
Source:
liboping
Description:
sends ICMP_ECHO requests to network hosts
Submitter:
Axel Beckert
Date:
2022-02-21 15:48:03 UTC
Severity:
wishlist
Tags:
#748995#5
Date:
2014-05-22 21:46:05 UTC
From:
To:
Hi,

it would be nice, if oping and especially noping would have a flag to
ping both, IPv4 and IPv6 address of the same host at the same time as if
it were two separate hosts, but without the need to give both IP
addresses explicitly.

There are multiple ways I could imagine how this could work:

1) New option, may -64, -46, -10 (4 + 6 :-) or -5 (between 4 and 6)
2) Give both options, e.g. "noping -4 -6 hostname"
3) The flags -4 and -6 only count for the hosts up to the other flag,
   e.g. "noping -4 hostname -6 hostname otherhost -4 otherhost"