cidr2range

Converts CIDR notation IP ranges into individual IP address ranges

brewmacoslinux
Try with needOr install directly
Source

About

Converts CIDRs to IP ranges

Commands

cidr2range

Examples

Convert a single CIDR block to IP range$ cidr2range 192.168.1.0/24
Convert multiple CIDR blocks from a file$ cidr2range < cidrs.txt
Convert CIDR and display start and end IPs$ cidr2range 10.0.0.0/8