netmask
Helps determine network masks
Platforms: Linux · Last verified September 6, 2026
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.
Only use this tool against systems you own or are explicitly authorized to test — see the disclaimer.
Getting started
Install on Kali Linux with `sudo apt install netmask`. See the official Kali tool page and upstream homepage linked above for full usage and configuration details.