aggregate
« Back to VersTracker
Description:
Optimizes lists of prefixes to reduce list lengths
Type: Formula  |  Latest Version: 1.6@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Networking
Tags: networking ip-address prefix routing cli utility
Install: brew install aggregate
About:
Aggregate is a command-line utility designed to optimize lists of IP address prefixes by merging adjacent or overlapping ranges. It processes input streams of network prefixes and applies a longest prefix match algorithm to produce the smallest possible set of covering prefixes. This significantly reduces the size of routing tables or access control lists, improving efficiency in network configuration and management.
Key Features:
  • Merges adjacent and overlapping IP prefixes efficiently
  • Supports both IPv4 and IPv6 address spaces
  • Processes standard input/output for easy scripting integration
  • Produces minimal set of covering prefixes
Use Cases:
  • Summarizing large BGP routing tables for more efficient filtering
  • Optimizing firewall rules and access control lists (ACLs)
  • Consolidating IP address ranges for network documentation
Alternatives:
  • netaddr – Python library offering broader IP manipulation features but requires scripting
  • iprange – Similar CLI tool with comparable prefix merging capabilities
License: ISC
Bottles available for: 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
Sep 14, 2024 10:31pm 0 VERSION_BUMP 1849d832