WORKED CASE · SYNTHETIC TEST DATA

Cover an address range that crosses a CIDR boundary

Two consecutive addresses do not always fit in a /31. Alignment matters as well as the number of addresses.

Input and settings

Start: 192.168.1.127
End: 192.168.1.128

Run and interpret

Enter the two endpoints. The smallest single covering CIDR is /24, even though the requested range contains only two addresses.

Expected output

192.168.1.0/24

Scope and possible misuse

A covering CIDR may include many addresses outside the requested range. This is not a minimal list of exact CIDR blocks; do not use the cover as a firewall allowlist without review.

Unexpected result? Report a minimal example