Find the gap when summarizing nonadjacent IPv4 CIDRs
Check the covering supernet for 10.14.8.0/24 and 10.14.10.0/24, and count the extra addresses it would advertise.
Try these inputsWorked calculation
- The outer addresses 10.14.8.0 and 10.14.10.255 have 22 common leading bits.
- The resulting 10.14.8.0/22 covers third octets 8 through 11, for 4 × 256 = 1,024 addresses.
- Only two of the /24 blocks are allocated, for 512 addresses. The /24s for third octets 9 and 11 add 512 unintended destinations.
Results
- Network CIDR
- 10.14.8.0/22
- Usable in parent
- 1,022
- Total in parent
- 1,024
IPv4 address-space map
- Parent range
- Network
- 10.14.8.0
- Broadcast
- 10.14.11.255
- First usable
- 10.14.8.1
- Last usable
- 10.14.11.254
- Subnet mask
- 255.255.252.0
- Wildcard
- 0.0.3.255
- Input bits
- 00001010 00001110 00001000 00000000
- Mask bits
- 11111111 11111111 11111100 00000000
- Network bits
- 00001010 00001110 00001000 00000000
- Covering supernet
- 10.14.8.0/22
- Coverage
- 512 extra addresses
Questions
What does an extra-address count of 512 mean for this advertisement?
The covering route includes 512 IPs outside the two source CIDRs. Confirm the router has an appropriate policy for all of them before using that route.
Will entering the same /24 twice fill a missing gap?
The calculator counts the union of address ranges once. A duplicate leaves the gap unchanged.