diff --git a/roles/WebServer/files/apps/25u_subnetting.php b/roles/WebServer/files/apps/25u_subnetting.php new file mode 100644 index 0000000..89dfe88 --- /dev/null +++ b/roles/WebServer/files/apps/25u_subnetting.php @@ -0,0 +1,46 @@ + +
+'.rand(0,256).' ____________________
'; +} + +// Decimal conversions +echo ''; + + for ($y = 0; $y <= 7; $y++) { + echo rand(0,1); + } + + + echo ' ____________________
'; +} + +// CIDRs +echo 'Slash | Decimal | Binary |
---|---|---|
'.rand(16,32).' | '; +} +echo ' |
IP/CIDR | SM | NetID | Host Range | Broadcast | Gateway | Increment |
---|---|---|---|---|---|---|
'.rand(0,256).'.'.rand(0,256).'.'.rand(0,256).'.'.rand(0,256).'/'.rand(16,32).' |