Random IP Address Generator (IPv4) – Exclude Private & Reserved Ranges
Generate a random IPv4 address with custom filtering options.
Related tools: UUID v4 Generator · Random Number · More Random Tools
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
to10.255.255.255
- Class B:
172.16.0.0
to172.31.255.255
- Class C:
192.168.0.0
to192.168.255.255
- Class A:
- 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.