Skip to content
UniKit

Subnet IP Generator

Pick unique addresses inside a normalised IPv4 CIDR network with a settable count and seed; the seed is echoed back, so the same parameters always produce the same batch.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

CIDR network

Addresses inside the network

All inside the normalised network, unique within one run, and reproducible from the seed.

Enter a CIDR network to see the result

Count: 0 · Normalised network: · Seed: 0

What this tool does

  • Grab a few addresses inside a given network for dual-stack or ACL tests instead of working out which addresses a /29 actually contains.
  • Simulate a set of client addresses with a fixed network, count and seed, so the same batch can be reproduced on another machine.
  • Check network boundaries: paste an unaligned form such as 192.0.2.5/30 and the tool normalises it to 192.0.2.4/30 before picking addresses.

Example

Input

192.0.2.0/29

Output

192.0.2.2
192.0.2.4
192.0.2.1

Count 3 and seed 1 (the page defaults). All three addresses are inside 192.0.2.0/29 and unique; another seed or count changes the batch.

Frequently asked questions

Are the addresses inside the network, and unique?

Yes. The network is normalised by its prefix first (192.0.2.5/30 becomes 192.0.2.4/30), then samples are drawn from its capacity and deduplicated with a set, so no address ever falls outside the network and no line repeats within one run.

Are the network and broadcast addresses skipped?

No. There is no reserved-address filtering, so 192.0.2.0 (network) and 192.0.2.7 (broadcast) can both be picked from 192.0.2.0/29. They are perfectly useful as test data; whether they are usable depends on your scenario.

Where does the randomness come from?

A 32-bit linear congruential generator (x = 1103515245x + 12345 mod 2^32, the constants glibc uses) with seed 1 by default. "New batch" picks a fresh seed and the seed actually used is shown under the result. It is suitable for test data only, not for cryptography.

Can the count exceed the network size?

No. A /31 holds 2 addresses, so asking for 3 fails outright instead of returning duplicates. The count is capped at 1000, and a /24 can supply at most 256 addresses.

Keywords:CIDRseedIPv4

Related tools