ADDRESS AND STATISTICAL CHECKS

Resolving a host address before an IPv4 split

The IPv4 subnet split tool needs a parent block that starts on its own boundary. This guide shows how to turn an interior address such as 192.0.2.130/24 into 192.0.2.0/24 before splitting.

Why 192.0.2.130/24 is rejected

The text 192.0.2.130/24 names an address and a prefix. With a prefix of 24 the block it sits in begins at 192.0.2.0, so the entered address has host bits that are not zero: 130 in the last octet. The split tool expects the parent to be written as the block itself, with all host bits clear. Given 192.0.2.130/24 it rejects the input and reports that the parent is not on a network boundary. The refusal prevents the tool from quietly treating a member address as if it were the start of a block, which would produce subnets starting in the wrong place.

Finding the aligned parent

The network address calculator maps an interior address to its block start. For 192.0.2.130 with prefix 24, the mask is 255.255.255.0 and the AND with the address gives 192.0.2.0. That is the aligned parent. Entering 192.0.2.0/24 into the split tool works. The two-step routine is lookup first, then split, and it takes seconds. The lookup is a bitwise operation, so it works for any prefix: for prefix 26, the same address would map to 192.0.2.128, and the parent would be 192.0.2.128/26.

Splitting the parent in two

Splitting 192.0.2.0/24 into /25 blocks creates 2^(25 - 24) = 2 subnets, each with 2^(32 - 25) = 128 addresses. They are 192.0.2.0/25, covering .0 through .127, and 192.0.2.128/25, covering .128 through .255. The entered host address 130 now falls in the second half. The formula the tool follows is: for a new prefix at least as long as the old one, the count is 2^(new - old), each block has 2^(32 - new) addresses, and the starts are enumerated from the parent boundary in steps of the block size.

A split into four

Splitting 192.0.2.0/24 into /26 blocks gives 2^2 = 4 subnets of 64 addresses each: 192.0.2.0/26, 192.0.2.64/26, 192.0.2.128/26 and 192.0.2.192/26. The sizes add back to 256. Splitting a smaller parent also works. The parent 192.0.2.64/26 divided into /28 blocks gives 2^2 = 4 subnets of 16 addresses: 192.0.2.64/28, 192.0.2.80/28, 192.0.2.96/28 and 192.0.2.112/28. Each start is the previous start plus the block size, and the parent itself must start on a multiple of its own size.

Interior addresses with other prefixes

The same rejection applies to any parent that is not aligned. The text 192.0.2.77/26 has host bits set, because the /26 block containing it starts at 192.0.2.64. The tool rejects it as well. To split, first resolve the address to 192.0.2.64/26, then divide it. A related mistake is to enter the correct block start with the wrong prefix: 192.0.2.64/24 would also be rejected, since a /24 must start at 192.0.2.0. When a rejection appears, compare the last octet with the multiples of the block size for the prefix you meant.

Interface notation versus block notation

Network equipment commonly stores an interface as address plus prefix, such as 192.0.2.130/24, which says both the host address and the network it belongs to. That is a valid way to write an interface. A split, however, operates on a block, so it needs the block form. Converting between the two is the lookup step. Documents that mix the notations create confusion, so label each entry as an interface address or a block. A planning table of blocks should list only aligned starts, which makes overlaps and gaps visible at a glance.

Why the guard is useful

A split divides a parent into equal, non-overlapping halves, quarters or smaller pieces, and that only makes sense when the parent is itself a proper block. If 192.0.2.130/24 were treated as a block start, the pieces would have to begin at 130, which is not a multiple of the 128-address block size, so they would not line up with any real /25 boundary. Even a tool that silently normalized the input would hide a possible typing error, since someone who meant a different parent would never learn that the entry was wrong. Rejecting the input and naming the problem puts the decision with the user. Check the intended parent before replacing the address, then continue. The message says the input must be on a network boundary, which describes the fix: supply the block start for the prefix you entered.

Documentation range used for split checks

These controls use the documentation range 192.0.2.0/24, reserved by RFC 5737, and perform address arithmetic only. They do not discover devices, change any configuration or recommend how to divide a real network. A planned split should reflect how many subnets and hosts each part needs, and the policy of whoever owns the address space. Use the worksheet to confirm that a proposed list of subnets starts on proper boundaries and that their sizes add up to the parent. The result is a list of address blocks and nothing more: it does not say that any block is assigned, free, routable or appropriate for a particular device, and it does not touch a live network. Treat the output as a draft to be checked against the real addressing plan.

Choosing the new prefix

The new prefix must be at least as long as the parent prefix, since the tool divides a block and cannot merge. Each extra bit doubles the number of subnets and halves their size, so the number of subnets is 2 raised to the difference of the prefix lengths. From /24 to /27 that is 2^3 = 8 subnets of 32 addresses, and from /24 to /30 it is 2^6 = 64 subnets of 4 addresses. Pick the new prefix from the number of addresses each piece must hold, then confirm that the pieces times the piece size equal the parent size. For 8 pieces of 32 addresses, 8 × 32 = 256, which matches the parent /24.

Reading the list of subnets

The split output lists one block per line, in increasing order. Check three things. The first line should begin at the parent start, 192.0.2.0 in the main example. Each later line should begin where the previous block ended plus one, so after 192.0.2.0/25 comes 192.0.2.128/25. The last line should end at the parent's last address, 192.0.2.255. Any gap or overlap means a typing error in the parent or in the new prefix. Copy the list as text into your plan, since retyping is where mistakes enter, and label each block with its purpose so that unused blocks are visible.

Reproduce the checks

Interior parent address rejected

Open the Ipv4 Subnet Split Calculator and enter:

Aligned IPv4 network with prefix
192.0.2.130/24
New subnet prefix length
25

Expected rejection:

network boundary

The input contains host bits under its supplied prefix.

Containing parent

Open the Network Address Calculator and enter:

IP address
192.0.2.130
Prefix length
24

Expected output:

Network

192.0.2.0

This is the aligned parent boundary.

Aligned split

Open the Ipv4 Subnet Split Calculator and enter:

Aligned IPv4 network with prefix
192.0.2.0/24
New subnet prefix length
25

Expected output:

Subnets

192.0.2.0/25
192.0.2.128/25

The aligned parent partitions into two equal halves.

References and implementation scope

The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.

Sources

Related tasks