Why there are reserved ranges
Not every IP address may appear on the internet. IANA keeps registries for ranges with a special meaning; RFC 6890 summarises them. When planning a network, always use a private range for the LAN and know the ranges that are never routed.
IPv4
| Range | Purpose | Standard |
|---|---|---|
| 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 | private networks, internal only, to the internet via NAT | RFC 1918 |
| 127.0.0.0/8 | loopback: the device itself (127.0.0.1) | RFC 1122 |
| 169.254.0.0/16 | link-local: self-assigned when no DHCP server answers | RFC 3927 |
| 100.64.0.0/10 | shared address space for carrier-grade NAT at the provider | RFC 6598 |
| 192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24 | for documentation and examples only | RFC 5737 |
| 0.0.0.0/8 | “this network”, e.g. source of a DHCP discover | RFC 1122 |
| 255.255.255.255 | broadcast to everyone in the local network | RFC 919, RFC 1122 |
In addition, every subnet has its network address (all host bits 0) and its broadcast address (all host bits 1); neither is a host address.
IPv6
| Range | Purpose | Standard |
|---|---|---|
| ::1/128 | loopback | RFC 4291 |
| fe80::/10 | link-local, automatically on every interface | RFC 4291 |
| fc00::/7 (in practice fd00::/8) | unique local addresses, private | RFC 4193 |
| ff00::/8 | multicast, e.g. ff02::1 all nodes on the link | RFC 4291 |
| 2001:db8::/32 | for documentation only | RFC 3849 |
| 2000::/3 | global unicast, routable on the internet | RFC 4291 |
Self-assigned addresses (APIPA)
If no DHCP server answers, a device picks an address from 169.254.1.0 to 169.254.254.255 itself according to RFC 3927 and checks via ARP whether it is free (RFC 3927, Section 2.1). Windows calls this APIPA. It only reaches devices on the same link, with no gateway and no internet. A 169.254 address is therefore mainly a hint when troubleshooting: the DHCP server could not be reached. leyoNET does not assign such an address; ipconfig shows “No address received from the DHCP server yet” instead (see Troubleshooting: method and tools).
Unicast, multicast, anycast
- Unicast: exactly one receiver.
- Multicast: a group; IPv4
224.0.0.0/4, IPv6ff00::/8. Examples:224.0.0.5andff02::5(all OSPF routers). - Broadcast: everyone in the network, IPv4 only. IPv6 replaces it with multicast (Neighbor Discovery (NDP) and SLAAC).
- Anycast: the same address on several devices; routing leads to the nearest one. The DNS root servers work this way worldwide, for example. IPv6 defines anycast explicitly (RFC 4291, Section 2.6).
For documentation and examples in IPv6 there is, besides 2001:db8::/32, also 3fff::/20 since 2024 (RFC 9637), big enough for examples with entire provider networks.
In leyoNET
All example networks in leyoNET use private addresses (RFC 1918) and documentation addresses for the “internet” (RFC 5737, RFC 3849), names only under .example. A PC without a DHCP answer reports “no server” after three attempts. The IP calculator (Tools) shows for every address which of these ranges it belongs to.
Practise
- ★★★★☆ Static routing – Task 2: Into the internet with NAT · 5 goals · Worksheet (German)
In leyoNET under Tools → Exercise catalogue. Every exercise checks itself.
Standards
- RFC 6890 – Special-Purpose IP Address Registries
- RFC 1918 – Address Allocation for Private Internets
- RFC 1122 – Requirements for Internet Hosts – Communication Layers
- RFC 3927 – Dynamic Configuration of IPv4 Link-Local Addresses
- RFC 6598 – IANA-Reserved IPv4 Prefix for Shared Address Space
- RFC 5737 – IPv4 Address Blocks Reserved for Documentation
- RFC 4291 – IP Version 6 Addressing Architecture
- RFC 4193 – Unique Local IPv6 Unicast Addresses
- RFC 3849 – IPv6 Address Prefix Reserved for Documentation
- RFC 9637 – Expanding the IPv6 Documentation Space