Random IP Generator

Generate random IPv4 addresses in valid unicast ranges, ready for log fixtures and firewall rule tests.

IP addresses10 generated
  1. 125.112.140.254
  2. 165.80.38.211
  3. 170.233.215.56
  4. 123.218.205.19
  5. 112.174.48.54
  6. 161.19.150.60
  7. 208.228.92.161
  8. 105.116.31.131
  9. 206.183.228.167
  10. 167.95.216.88
Runs locally in your browser

About the Random IP Generator

The first octet is drawn from 1 to 223, which keeps every result inside the historic class A, B and C unicast space and away from multicast at 224 and above. The final octet runs from 1 to 254, so no line ends in a network or broadcast address for a standard /24. Those two constraints mean the output survives a strict validator instead of failing on obviously impossible values.

Log pipelines are the usual destination. A hundred varied client addresses make a far better test of a GeoIP lookup, a rate limiter or a firewall rule than the same loopback repeated, and grouping by the first octet gives you natural buckets to assert against. QA teams also paste the results into allow lists and deny lists to check that a parser handles hundreds of entries without choking.

Some draws will land inside private ranges such as 10.x or 192.168.x, which is realistic since real logs contain those too. Nothing is generated for IPv6 here. To convert an address into another notation, try IP to Decimal or IP to Binary, and use the Random MAC Address Generator when a fixture needs a link layer identifier as well.

How to use

  1. Choose how many addresses your fixture or rule set needs.
  2. Press Generate to build dotted quad addresses in unicast ranges.
  3. Keep No repeats on when every entry in a list must be distinct.
  4. Copy the column into your test file, or download it as plain text.

Common questions

Are multicast addresses excluded?
Yes. The first octet stops at 223, so nothing lands in the 224 to 239 multicast block or the reserved space above it.
Can private addresses appear?
They can, because ranges like 10.x and 192.168.x sit inside the allowed span and show up in real logs too.
Does it generate IPv6?
No, this tool produces IPv4 dotted quads only. Use the IPv6 expander and compressor tools for that family.
Why does the last octet never hit 0 or 255?
Those two values are the network and broadcast addresses in a typical /24, so they are skipped to keep results assignable.