From 23f51c6dfa2a2d27d23a1d7b0ee9436363073f12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20P=C4=99dzich?= Date: Fri, 27 Dec 2024 20:18:37 +0100 Subject: [PATCH] Create README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..16bf615 --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# subnet-solver + +## Why? + +I found subnetting tests for my uni's computer networking course very easy, but somewhat tedious to solve by hand. + +You're essentially given a CIDR of the main subnet and a list of about 10 smaller subnets you need to divide the main one into. You're given their names (single uppercase letters) and the minimal number of hosts they need to accomodate. You have to start assigning the addresses from the largest subnet, and if two subnets have the same sizes, you have to use either alphabetical or reverse alphabetical order. + +So I came up with this simple program. Run it without arguments for more details. Enjoy!