Skip to content
OddsockLocal
Local
Source text

Formatting

1 wordsRuns in this browser. Nothing is uploaded.

How to use

  1. Enter address/prefix.
  2. Set New prefix to something longer, or leave it blank to split in half.
  3. Read the equal blocks in order from the base address.
  4. If the page refuses the prefix, it would have produced more than 16384 subnets, or it was not actually longer.

What is Subnet splitter?

The splitter takes one network and cuts it into equal pieces of a longer prefix. 192.0.2.5/24 with new prefix 26 ignores the .5 and uses the network base, then lists 192.0.2.0/26, 192.0.2.64/26, 192.0.2.128/26 and 192.0.2.192/26. Four blocks, because each extra prefix bit doubles the count, and two extra bits make four.

Read more

Leave the new prefix blank and the page splits in half, one bit longer. The new prefix has to be longer than the original and the number of pieces is capped at 16384, so a request that would emit a huge list fails instead of locking the tab. IPv6 networks split the same way when the address contains a colon. ::/0 into /64 is over that cap and is rejected.

This is equal slices of a block you already have. It does not find the irregular cover of an arbitrary start and end. That job is the range-to-CIDR page.

Use cases

  • A /24 has to become four /26s for four teams, and you want the bases at .0, .64, .128 and .192.
  • You are about to halve a network and you want the two halves written out before you leave the prefix blank by habit and forget which bit moved.
  • A too-wide split should fail at 16384 pieces rather than paint tens of thousands of rows.
  • The address you were given is .5 inside the /24, and the subnets should still start on the network base.

A /24 cut into /26s

192.0.2.5/24, new prefix 26.

192.0.2.0/26\n192.0.2.64/26\n192.0.2.128/26\n192.0.2.192/26

Why use Oddsock

The host portion of the address you typed is discarded. Splits are of the network, so .5 does not shift the boundaries.

Related tools

Using this tool

5 is a host address inside 192.0.2.0/24. The split is applied to the network base, not to the host you happened to type.