A modern, browser-based Variable Length Subnet Masking (VLSM) Calculator designed to quickly generate efficient IP subnetting tables from a CIDR block and subnet requirements.
๐ Built with HTML, CSS, and vanilla JavaScript. No frameworks. No build tools. Just fast and clean subnetting.
- ๐ฅ Accepts a base CIDR block (e.g.
172.16.0.0and mask or prefix). - ๐งฎ Calculates subnets dynamically based on number of required hosts.
- โโ Add/remove subnet inputs on the fly.
- ๐ Displays clean, subnetting table.
- ๐ Spreadsheet copy 'n paste friendly.
git clone https://github.com/safesploitOrg/vlsm-calculator.git
cd vlsm-calculator# Just double-click
index.htmlOr serve with Python:
python3 -m http.server 8000
# Then visit: http://localhost:8000VLSM allows efficient IP address allocation by letting each subnet use a different prefix length depending on the number of hosts. This tool helps visualise and plan VLSM schemes interactively.
GitHub: @safesploitOrg
Original Author: @JCPedroza