aggregate takes a list of prefixes in conventional format on stdin, and performs two optimisations to reduce the length of the prefix list. It removes any supplied prefixes which are supurfluous because they are already included in another supplied prefix (e.g., 203.97.2.0/24 would be removed if 203.97.0.0/17 was also supplied), and identifies adjacent prefixes that can be combined under a single, shorter-length prefix (e.g., 203.97.2.0/24 and 203.97.3.0/24 can be combined into the single prefix 203.97.2.0/23).
| Tags | Communications Networking Text Processing Filters |
|---|---|
| Licenses | BSD Original |
| Operating Systems | POSIX |
| Implementation | C |
Recent releases


No changes have been submitted for this release.


Changes: Optional prefix truncation (previously prefixes with non-zero host bits were dropped with a warning), and a quiet flag to suppress warning messages.


Changes: Changing parsing semantics on IPv4 addresses to bring them in line with reality.


Changes: The aggregate-ios script is now written in Perl, since the availability of particular awk features can't be guaranteed across platforms. The build process now uses autoconf. Minor tweaks were made to the default values of -m and -n to make more sense in a general application.


No changes have been submitted for this release.