netmask

helps determine network masks

Install

All systems
curl cmd.cat/netmask.sh
Debian Debian
apt-get install netmask
Ubuntu
apt-get install netmask
image/svg+xml Kali Linux
apt-get install netmask
Fedora
dnf install netmask
Windows (WSL2)
sudo apt-get update sudo apt-get install netmask
Raspbian
apt-get install netmask

netmask

helps determine network masks

This is a tiny program handy if you work with firewalls or routers occasionally (possibly using this as a helper for shell scripts). It can determine the smallest set of network masks to specify a range of hosts. It can also convert between common IP netmask and address formats.