Visual subnet calculator
4cc28b8dd8
Large numbers of hosts (/0 and /1 subnets) are overflowing and showing as a negative number. Changing 1<<(32-mask) to 2**(32-mask) causes JavaScript to calculate the integer properly. |
||
---|---|---|
img | ||
Dockerfile | ||
gennum.php | ||
index.php | ||
LICENSE.md | ||
README.md | ||
subnets.html |
subnets
Visual subnet calculator as seen at http://www.davidc.net/sites/default/subnets/subnets.html
Run with docker
cd <project folder>
docker build . -t subnets
docker run -d -p 5001:80 --name subnets subnets