How To Calculate IP Subnets and Netmasks in Linux and macOS?
How to convert between CIDR prefixes and netmasks, and calculate network, broadcast, and usable host ranges with ipcalc, sipcalc, python3, and Bash.
ip -o·updated Aug 2026·17 examples

Networking · 1 article
How to convert between CIDR prefixes and netmasks, and calculate network, broadcast, and usable host ranges with ipcalc, sipcalc, python3, and Bash.