├── Dockerfile ├── LICENSE.md ├── README.md ├── gennum.php ├── img ├── 0.gif ├── 1.gif ├── 10.gif ├── 11.gif ├── 12.gif ├── 13.gif ├── 14.gif ├── 15.gif ├── 16.gif ├── 17.gif ├── 18.gif ├── 19.gif ├── 2.gif ├── 20.gif ├── 21.gif ├── 22.gif ├── 23.gif ├── 24.gif ├── 25.gif ├── 26.gif ├── 27.gif ├── 28.gif ├── 29.gif ├── 3.gif ├── 30.gif ├── 31.gif ├── 32.gif ├── 4.gif ├── 5.gif ├── 6.gif ├── 7.gif ├── 8.gif └── 9.gif ├── index.php └── subnets.html /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:5.6-apache 2 | 3 | COPY index.php gennum.php subnets.html /var/www/html/ 4 | COPY img/* /var/www/html/img/ 5 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | # License 2 | 3 | ## COPYRIGHT NOTICE 4 | 5 | This software, including all programs, computer files, and associated documentation, are Copyright (c) 2002, 2011, 2018, 2019 David C A Croft. All rights reserved. 6 | 7 | ## DISCLAIMER 8 | 9 | This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. 10 | 11 | ## LICENSE 12 | 13 | Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 14 | 15 | 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 16 | 17 | 2. Altered versions must be plainly marked as such, and must not be misrepresented as being the original software. 18 | 19 | 3. This notice may not be removed or altered from any distribution. 20 | 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # subnets 2 | Visual subnet calculator as seen at http://www.davidc.net/sites/default/subnets/subnets.html 3 | 4 | # Run with docker 5 | 6 | ``` 7 | cd 8 | docker build . -t subnets 9 | docker run -d -p 5001:80 --name subnets subnets 10 | ``` 11 | -------------------------------------------------------------------------------- /gennum.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Visual Subnet Calculator 4 | 478 | 479 | 535 | 536 | 537 | 538 | 539 | 540 | 577 | 580 | 581 |
541 | 542 |

Visual Subnet Calculator

543 | 544 |

Enter the network you wish to subnet:

545 | 546 |
547 | 548 | 549 | 550 | 551 | 552 | 553 | 554 | 555 | 556 | 559 | 560 |
Network AddressMask bits
/ 557 | 558 |
561 | 562 |

Show columns: 563 | 564 | 565 | 566 | 567 | 568 | 569 | 570 |

571 |
572 | 573 |

Click below to split and join subnets.
574 | If you wish to save this subnetting for later, bookmark this hyperlink.

575 | 576 |
578 | Fork me on GitHub 579 |
582 | 583 |
584 |
585 |
586 | 587 | 588 | 589 | 590 | 591 | 592 | 593 | 594 | 595 | 596 | 597 | 598 | 599 | 600 | 606 | 607 |
Subnet addressNetmaskRange of addressesUseable IPsHostsDivideJoin
608 | 609 | 610 | 611 | --------------------------------------------------------------------------------