IP addresses
Reserved IP addresses are available for documentation purposes, including specific ranges for both IPv4 and IPv6 examples.
The Internet Engineering Task Force (IETF) and the Internet Assigned Numbers Authority (IANA) have reserved various IP addresses specifically for documentation needs.
IPv4 addresses
If you need a fictitious IPv4 address for an example in your docs, use an IP address in one of the following ranges:
| Subnet | IP address range |
|---|---|
| 192.0.2.0/24 | 192.0.2.0 to 192.0.2.255 |
| 198.51.100.0/24 | 198.51.100.0 to 198.51.100.255 |
| 203.0.113.0/24 | 203.0.113.0 to 203.0.113.255 |
Find more information in the IETF memo at https://datatracker.ietf.org/doc/html/rfc5737.
IPv6 addresses
If you need a fictitious IPv6 address for an example in your docs, use an IP address in the 2001:db8::/32 range.
For example, use 2001:0db8:ffff:ffff:ffff:ffff:ffff:ff00/120 as the subnet and 2001:0db8:ffff:ffff:ffff:ffff:ffff:ff99 as the IP address.
Find more information in the IETF memo at https://datatracker.ietf.org/doc/html/rfc3849.