Netcalc
IPv4/CIDR subnet calculator.
School Purpose Only.
Netcalc turns IPv4 and CIDR practice into a small repeatable command-line workflow.
What It Is
Netcalc is one of my LayerByte educational cybersecurity projects. The goal is to keep the project practical, readable, and safe for school-focused defensive learning.
Repository: https://github.com/LayerByte/netcalc
Why I Built It
I wanted each project in this collection to focus on one clear concept instead of becoming a huge toolkit. That makes it easier to read the code, understand the workflow, and test it with small authorized examples.
Defensive Scope
- Local or authorized input only
- Beginner-readable output
- Clear validation and error handling
- No credential theft, brute forcing, exploitation, malware, evasion, or destructive behavior
Good Learning Use Cases
- Read the code and follow the control flow.
- Run the project against a small non-sensitive sample.
- Compare the raw input with the final output.
- Write short notes about what the tool checks and what it intentionally avoids.
Tech Stack
- Language: cpp
- License: MIT
- Purpose: educational defensive security
GitHub
You can find the project here:
https://github.com/LayerByte/netcalc
Thanks for checking it out. Feedback is welcome, especially ideas that keep the project safe, clean, and useful for learning.

Top comments (0)