
Hi! undefine@uml:~$ (
cat <<EOF 5.28.128.0/18 5.28.128.0/20 5.28.128.0/21 5.28.128.0/22 5.28.132.0/23 5.28.136.0/21 5.28.136.0/22 5.29.64.0/18 5.29.64.0/20 5.29.80.0/24 5.29.96.0/20 EOF ) |aggregate aggregate: maximum prefix length permitted will be 32 5.28.128.0/18 5.29.64.0/18 undefine@uml:~$ dpkg -l aggregate Wybór:U=nieznany/I=instalacja/R=usunięcie/P=wyczyszczenie/H=zatrzymanie | Stan:N=brak/I=zainstalowany/C=skonfigurowany/U=rozpakowany/ |/ F=częśc. skonfigurowany/H=częśc. zainstalowany/W=wyzw. czek./T=wyzw. zapl. || Błędy?=(brak)/R-do pon. inst. (duże litery w "Stan" i "Błędy"=problemy) ||/ Nazwa Wersja Architektura Opis +++-=================================-=====================-=====================-======================================================================== ii aggregate 1.6-7 amd64 ipv4 cidr prefix aggregator
:-) And happy new year! Happy new year W dniu 31.12.2014 o 20:25, Hank Nussbacher pisze:
Dear revelers,
I am looking for a program or website that can take a list of sorted, overlapping prefixes and can reduce it to the most CIDRized format.
Example:
5.28.128.0/18 5.28.128.0/20 5.28.128.0/21 5.28.128.0/22 5.28.132.0/23 5.28.136.0/21 5.28.136.0/22 5.29.64.0/18 5.29.64.0/20 5.29.80.0/24 5.29.96.0/20 would reduce to just 2 lines: 5.28.128.0/18 5.29.64.0/18
In the long distant past, I seem to remember hearing or seeing of such a program. Any pointers would be appreciated.
Happy New Year, Hank
-- Regards, Andrzej 'The Undefined' Dopierała http://andrzej.dopierala.name/