cidr2range
« Back to VersTracker
Description:
Converts CIDRs to IP ranges
Type: Formula  |  Latest Version: 1.2.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Networking
Tags: networking cli ip-address cidr utility
Install: brew install cidr2range
About:
cidr2range is a command-line utility that converts CIDR notation into a range of IP addresses. It takes input from standard input or arguments and outputs the corresponding start and end IPs. This tool is useful for network administrators and developers who need to translate subnet masks into usable IP ranges for firewall rules or access control lists.
Key Features:
  • Parses standard CIDR notation
  • Outputs start and end IP addresses
  • Supports both IPv4 and IPv6
  • Fast and lightweight
Use Cases:
  • Generating IP range lists for firewall configurations
  • Converting subnet definitions for network monitoring tools
  • Scripting network automation tasks
Alternatives:
  • netmask – netmask provides broader subnet manipulation features, while cidr2range focuses specifically on range conversion.
  • ipcalc – ipcalc offers detailed network analysis and calculations, whereas cidr2range is a simpler, single-purpose tool.
License: Apache-2.0
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, arm64_monterey, arm64_big_sur, sonoma, ventura, monterey, big_sur, catalina, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Oct 10, 2025 3:06am 0 VERSION_BUMP 5f8df54b
Sep 12, 2025 8:46pm 0 VERSION_BUMP d067167d