Random IP Address Generator (IPv4) — Exclude Private & Reserved Ranges

Generate random IPv4s instantly. Private by design—everything runs locally in your browser.

Filters & Actions

Output

Tip: Use Ctrl/Cmd + Enter to re-generate.

Valid Public IPv4 vs. Private/Reserved

Enable filters to avoid non-public blocks. Common special-use ranges include:

  • Private (RFC1918): 10.0.0.0/8 · 172.16.0.0/12 · 192.168.0.0/16
  • Loopback: 127.0.0.0/8
  • Link-local (APIPA): 169.254.0.0/16
  • CGNAT: 100.64.0.0/10
  • Documentation: 192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24
  • Benchmarking: 198.18.0.0/15
  • Multicast & Reserved: 224.0.0.0/4 and 240.0.0.0/4

How It Works

This tool generates a random IPv4 address. You can customize the generation by selecting the options below to ensure the generated IP meets your specific needs. The tool operates completely client-side in your browser, so no data is sent to a server.

IPv4 Address Structure

An IPv4 address consists of four numbers, called octets, separated by periods. Each octet can range from 0 to 255. This generator creates each octet as a random number between 1 and 254.

Valid Public IPv4 vs. Private/Reserved

Enable filters to avoid non-public blocks. Common special-use ranges include:

  • Private (RFC1918): 10.0.0.0/8 · 172.16.0.0/12 · 192.168.0.0/16
  • Loopback: 127.0.0.0/8
  • Link-local (APIPA): 169.254.0.0/16
  • CGNAT: 100.64.0.0/10
  • Documentation: 192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24
  • Benchmarking: 198.18.0.0/15
  • Multicast & reserved: 224.0.0.0/4 and 240.0.0.0/4

Note: Even with filters, generated IPs are random and may not be routed or assigned.

Excluding Private and Broadcast Ranges

  • Private IP Ranges: These addresses are reserved for use within private networks (like your home or office network) and are not routable on the public internet. The tool excludes the following ranges:
    • Class A: 10.0.0.0 to 10.255.255.255
    • Class B: 172.16.0.0 to 172.31.255.255
    • Class C: 192.168.0.0 to 192.168.255.255
  • Broadcast Addresses: An IP address ending in .255 is a broadcast address and is used to send data to all devices on a specific network. These are often not needed for general use.

5 Fun Facts about IPv4 Addresses

4.29 billion ≠ enough

IPv4 tops out at 2³² unique addresses. That sounded infinite in 1983—until smartphones, IoT, and cloud servers devoured the pool.

Scale reality

10/8 is basically a city

The private block 10.0.0.0/8 contains 16,777,216 addresses—large enough to hand every Wi-Fi gadget in New York City its own IP.

Private space

CGNAT is ISP crowd control

Ranges like 100.64.0.0/10 let ISPs tuck thousands of customers behind one public IP. It’s IPv4 carpooling until IPv6 finally wins.

Carrier hack

Multicast is a VIP club

224.0.0.0/4 addresses don’t point to single hosts—they’re “channels” routers replicate for streaming, stock tickers, and LAN party magic.

Packet parties

Loopback is an instant mirror

127.0.0.1 always routes back to you. Pinging it tests your stack without touching the network—like shouting into a perfectly echoing cave.

Debug ritual

Explore more tools