ipcalc
Calculate IP information (subnet, broadcast, host range) from an IP address and netmask. tldr-pages
On several platforms
Several platforms
Display network info for an IP address
ipcalc 192.168.0.1IdentifyDisplay network info using CIDR notation
ipcalc 192.168.0.1/24IdentifyDisplay network info using a dotted decimal netmask
ipcalc 192.168.0.1 255.255.255.0IdentifySuppress bitwise output
ipcalc --nobinary 192.168.0.1IdentifySplit a network into specified sized blocks
ipcalc --split size1 size2 size3 ... 192.168.0.1IdentifyDisplay version
ipcalc --versionIdentify