Para linux tenemos un calculadora de redes llamada sipcalc.

sudo apt-get install sipcacl

Por ejemplo:

sipcalc 172.19.1.128/25
-[ipv4 : 172.19.1.128/25] - 0
[CIDR]
Host address	- 172.19.1.128
Host address (decimal)	- 2886926720
Host address (hex)	- AC130180
Network address	- 172.19.1.128
Network mask	- 255.255.255.128
Network mask (bits)	- 25
Network mask (hex)	- FFFFFF80
Broadcast address	- 172.19.1.255
Cisco wildcard	- 0.0.0.127
Addresses in network	- 128
Network range	- 172.19.1.128 - 172.19.1.255
Usable range	- 172.19.1.129 - 172.19.1.254