IP Address Aggregator is a utility developed to automate minimization process and convert bunch of IPv4 addresses into smallest continuous range(s) possible. IP aggregation is commonly performed by network engineers working with BGP & routers. This utility will help webmasters to configure server firewalls, apache .htaccess files, address masks and so on.

Basic Usage

IP Address Aggregation Tool accepts various IP address formats for input (scroll to Input Format Examples for more details). Enter IP Address list in a block of text (one IP Address or range per line) into IP Address Ranges input area. Select desired output format and click submit button. It will automatically discard any non-recognized or invalid address text.

Once processed click on Copy To Clipboard button to directly copy results into memory and paste it anywhere else.

Input

IP

Output

Results

This is where the results will appear. (max: 2 MB of text data)

Input textarea accepts:

- IPv4 and/or IPv4/Prefix (CIDR notation)
- and/or IPv4/Subnet-Mask
- and/or IPv4 Range

Input Format Examples
---------------------
- 192.168.37.215
- 192.168.37.215/27
- 192.168.37.215/255.255.255.224
- 192.168.37.192 - 192.168.37.223

Output Format Examples
----------------------
- CIDR: 192.168.37.192/27
- Mask: 192.168.37.215/255.255.255.224
- Range: 192.168.37.192 - 192.168.37.223
- Apache server .htaccess: Allow from 192.168.1 / Allow from 192.168.0.1
IP Address Filtering / Extraction

There is one additional (bonus) application of IP Address Aggregator you can use: if you need to extract / filter individual IPs from e.g. your log table containing various text, timestamps and URLs per line along the desired IP, you can paste it's content into IP Address Ranges input box, select any output mode (irrelevant) and extracted (accepted) individual IPs and ranges will appear back in IP Mode input box as single IP / Range per line.

Additional IP Address Aggregation Tips

PeerBlock rules are supported with WHY field supplied and RANGE output format selected.
ZB Block special WHY and WHY ASN fields are optional additional descriptions used along with ZBB output format.