← Hashito System home 日本語 Tools Blog
Settings
Result
Reserved range used
Basis

Why an arbitrary IP address is the wrong example

When a runbook or a slide needs an example IP address, a number made up on the spot is an address that someone in the world is actually using. A reader copies it, runs a connectivity check or applies a configuration, and the traffic goes to an unrelated third party. The same happens with domain names. If someone has registered the placeholder domain written in an internal document, mail sent to it arrives at their server.

To avoid this, the IETF reserves values for use in documentation. Reserved ranges are not routed and are never assigned to anyone. Pasting them into a runbook, or even running the commands, reaches nothing. This tool draws only from those reserved ranges.

Reserved ranges

PurposeReserved rangeBasis
IPv4192.0.2.0/24 (TEST-NET-1), 198.51.100.0/24 (TEST-NET-2), 203.0.113.0/24 (TEST-NET-3)RFC 5737
IPv62001:db8::/32RFC 3849
Domainexample.com / example.net / example.org, and .test / .example / .invalid / .localhostRFC 2606
AS number64496-64511 (16-bit), 65536-65551 (32-bit)RFC 5398
MAC address00-00-5E-00-53-00 through 00-00-5E-00-53-FF (unicast)RFC 7042 section 2.1.2

Choosing between them

The three IPv4 blocks carry no difference in meaning; there are simply three of them. When one diagram has several actors, such as your side, the far side and a device on the path, giving each actor its own block keeps the reader from mixing them up. IPv6 has only 2001:db8::/32, so split it into /48 or /64 pieces instead.

Private addresses such as 10.0.0.0/8 are not documentation ranges. The reader is likely using them already, so a pasted example can point at another machine inside their own network. Use the reserved ranges for examples, and write private addresses in a way that makes clear the reader must substitute their own value.

FAQ

Does 192.0.2.0/24 answer a ping?

No. The range is not routed, so it reaches nothing on the internet. Being unreachable is the point. If something does answer, a device on your local network is using the range against the standard.

Is example.com free to use?

RFC 2606 reserves it for documentation, so using it as an example in a document is fine. Visiting it shows an explanatory page run by IANA. When the example must not resolve at all, use .invalid or .example instead.

Can 203.0.113.0/24 be assigned in a lab network?

It is not recommended. The range is for documentation, not for labs. If someone applies a runbook example verbatim on real equipment, an unintended collision follows. Use private addresses for lab networks.

Are the generated values sent to a server?

No. Generation happens inside this page only. Neither the input nor the result is transmitted.