Package subnetcalc

IPv4/IPv6 Subnet Calculator

https://www.nntb.no/~dreibh/subnetcalc/

SubNetCalc is an IPv4/IPv6 subnet address calculator. For given IPv4 or IPv6
address and netmask or prefix length, it calculates network address, broadcast
address, maximum number of hosts and host address range. Also, it prints the
addresses in binary format for better understandability. Furthermore, it
prints useful information on specific address types (e.g. type, scope,
interface ID, etc.).

Version: 2.6.0

General Commands

subnetcalc IPv4/IPv6 Subnet Calculator