iprefix is a golang package/tool to expand CIDR or IP range to string IP prefix patterns. Usage and Demo cli demo. Enter cli dir in CLI: go build -ldflags="all=-s -w" -trimpath ./cli -h Homepage https://github.com/lifenjoiner/iprefix