ℹ️️ Info: This module can not be used on its own but requires the base installation. See main README for details.
This module adds functions for IP address calculation.
Just install the module:
$IPCalc prints information to terminal, including:
- network in CIDR notation
- minimum host address
- maximum host address
- broadcast address
It expects an IP address in CIDR notation as argument.
$IPCalcReturn expects an IP address in CIDR notation as
argument as well. But it does not print to terminal, instead it returns
the information in a named array.
:put ([ $IPCalcReturn 192.168.88.1/24 ]->"broadcast");