IP engineering CLI
ip engineering CLI to help work with IPv4 sub-networks
CLI tool that provides info about a CIDR provided, or test overlaps between two
provided CIDRs.
Clone the repository and run make
or even run the sample with make run
.
This is a simple and independent code, and thus requires only a C++ toolchain:
There’s also some phony targets to run valgrind, massif and heaptrack for performance
checks, and thus some optional dependencies:
Currently there’s no target that installs the tool. You can copy the compiledsubnet
binary to any folder on your PATH to make it available system-wide.
To get info about a CIDR use
subnet 10.0.0.1/24
To check if two CIDRs overlap use
subnet 10.0.0.1/24 10.0.0.1/16