Visual Subnet Calculator is a modernized tool based on the original work by davidc. It strives to be a tool for quickly designing networks and collaborating on that design with others. It focuses on expediting the work of network administrators, not academic subnetting math.
The following tenets are the most important values that drive the design of the tool. New features, pull requests, etc should align to these tenets, or propose an adjustment to the tenets.
If you have a more opinionated best-practice way to lay out this repository please open an issue.
Build prerequisites:
Compile from source:
# Clone the repository
> git clone https://github.com/ckabalan/visualsubnetcalc
# Change to the repository directory
> cd visualsubnetcalc
# Use recommended NVM version
> nvm use
# Change to the sources directory
> cd src
# Install Bootstrap
> npm install
# Compile Bootstrap (Also install sass command line globally)
> npm run build
# Run the local webserver
> npm start
The full application should then be available within ./dist/
, open ./dist/index.html
in a browser.
NB: required for testing clipboard.writeText() in the browser. Feature is only available in secure (https) mode.
#Install mkcert
> brew install mkcert
# generate CA Certs to be trusted by local browsers
> mkcert install
# generate certs for local development
> cd visualsubnetcalc/src
# generate certs for local development
> npm run setup:certs
# run the local webserver with https
> npm run local-secure-start
AWS reserves 3 additional IPs
Azure reserves 3 additional IPs
Split icon made by Freepik from Flaticon.
Visual Subnet Calculator is released under the MIT License