Visual subnet calculator
Go to file
Kevin A. Pieckiel 4cc28b8dd8
Change shift left operator to exponent operator to avoid overflow
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.
2023-01-06 18:22:45 -05:00
img initial import of visual subnet calculator 2017-09-20 16:49:00 +01:00
Dockerfile adding index.php to redirect to subnets.html 2018-09-21 09:14:17 -07:00
gennum.php initial import of visual subnet calculator 2017-09-20 16:49:00 +01:00
index.php adding index.php to redirect to subnets.html 2018-09-21 09:14:17 -07:00
LICENSE.md add license 2019-07-18 11:17:13 +02:00
README.md updating readme and fixing docker file copys 2018-09-21 09:11:34 -07:00
subnets.html Change shift left operator to exponent operator to avoid overflow 2023-01-06 18:22:45 -05:00

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