1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/net-mgmt/aggregate/pkg-descr
Peter Pentchev 8d22f51403 Add aggregate, a utility for optimizing a list of network prefixes.
PR:		25143
Submitted by:	Joe Abley <jabley@automagic.org>
2001-03-04 15:48:52 +00:00

17 lines
599 B
Plaintext

akes a list of prefixes in conventional format on stdin,
and performs two optimisations to attempt to reduce the
length of the prefix list.
The first optimisation is to remove any supplied prefixes
which are supurfluous because they are already included in
another supplied prefix. For example, 203.97.2.0/24 would
be removed if 203.97.0.0/17 was also supplied.
The second optimisation identifies adjacent prefixes that
can be combined under a single, shorter-length prefix. For
example, 203.97.2.0/24 and 203.97.3.0/24 can be combined
into the single prefix 203.97.2.0/23.
jabley@automagic.org