IP & addressing

IP range to CIDR

Turn a start and end address into the CIDR blocks that cover it.

Result
CIDR block Addresses Range
198.51.100.10/31 2 198.51.100.10 – 198.51.100.11
198.51.100.12/30 4 198.51.100.12 – 198.51.100.15
198.51.100.16/29 8 198.51.100.16 – 198.51.100.23
198.51.100.24/31 2 198.51.100.24 – 198.51.100.25

16 addresses in 4 blocks.

How it works

Firewalls, address lists and route filters want CIDR blocks, but allocations and DHCP pools are often written as a range. This gives the shortest list of blocks that covers the range exactly.

Get started

Helping ISPs scale operations

Join thousands of satisfied customers who have transformed their billing and network operations with ISPman. Our platform is designed to help you scale your business efficiently and effectively — streamline your processes and enhance your customer experience.

No setup fees Migration support included Cancel anytime

Live in a weekend

Guided onboarding

Support that answers

Real engineers, same day

Bring your own gear

MikroTik, Ruijie, OLTs