Random IP address generator
Random IPv4 and IPv6 addresses from the range you need: routable public space, private networks, or the blocks reserved for documentation.
Press generate to fill this table.
Special IPv4 ranges
| Block | Purpose | Defined in |
|---|---|---|
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 | Private networks | RFC 1918 |
100.64.0.0/10 | Carrier-grade NAT | RFC 6598 |
127.0.0.0/8 | Loopback | RFC 1122 |
169.254.0.0/16 | Link-local | RFC 3927 |
192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24 | Documentation | RFC 5737 |
224.0.0.0/4 | Multicast | RFC 5771 |
Questions people ask
What does “public” mean here?
Public IPv4 addresses exclude every special-purpose block in the IANA registry: private ranges (10/8, 172.16/12, 192.168/16), loopback, link-local, carrier-grade NAT (100.64/10), multicast, reserved space and the documentation ranges. They are globally routable but may belong to real hosts, so don’t scan or attack them.
Which addresses are safe for documentation?
RFC 5737 reserves 192.0.2.0/24, 198.51.100.0/24 and 203.0.113.0/24 for IPv4 documentation, and RFC 3849 reserves 2001:db8::/32 for IPv6. Use these in examples, tutorials and test fixtures that might be published.
What is a ULA in IPv6?
A unique local address (fd00::/8, RFC 4193) is IPv6’s equivalent of a private IPv4 range: usable inside a network, never routed on the internet.