BGP Prefix-List Generator

Automatically aggregate and compress a list of IP prefixes into a mathematically equivalent set of BGP prefix-lists. Uses lossless ge/le boundaries to reduce configuration size without accidentally permitting unauthorized subnets.

Paste the exact IPv4 subnets (e.g., 10.0.0.0/24) you want to permit.

📜

Paste your IPv4 CIDR blocks above and click Generate Prefix-List
to calculate the optimal configuration.