Skip to main content
KalkuNet

Random IPv4 Address Generator — Inside the CIDR Block You Choose

Generate bulk random IPv4 addresses inside any chosen /8–/30 CIDR subnet.

Runs in your browserNetwork · IPv6, MAC, Binary & Address Converters

Block 10.20.0.0/16 holds 65,536 addresses. Host bits come from the browser's cryptographic generator and no address repeats.

When to use the Random IPv4 Address Generator (Custom CIDR)

  • Always inside the block

    Enter a block such as 10.20.0.0/16 or 192.168.1.0/24 and choose how many. Every address is guaranteed to sit inside that block, so test data never touches another network.

  • No network or broadcast

    Hosts mode drops the network and broadcast addresses in /30 or larger blocks, following the same subnet rule as Python's hosts(). /31 and /32 blocks use all their addresses.

  • Unique and unbiased

    Host bits come from the browser's cryptographic generator with rejection sampling, so every address is equally likely, and none appears twice. If you ask for more than the block holds, every address is shown in random order.

  • Ready for testing

    Use the result to fill test databases, simulate clients in load tests or build documentation samples from 192.0.2.0/24, up to 10,000 addresses at a time.

Frequently asked questions

How many addresses can a /24 give?

At most 254 in hosts mode, or 256 if the network and broadcast addresses are included.

Can the result be sorted?

Yes. Tick Sort the result to order the addresses numerically without changing which ones were picked.

What about IPv6?

Use the Random IPv6 Generator, which works with prefixes such as /48 or /64.

Can an address repeat after another click?

Each click makes a new list that is unique within itself; a later list may contain addresses from an earlier one.

Is my data sent to a server?

No. The addresses are made in your browser.

Learn more