Wiki DE Start in the browser

Wiki › Basics

Special address ranges

Private networks, loopback, link-local, CGNAT and documentation addresses: which IPv4 and IPv6 ranges are reserved and what for, according to RFC 6890.

Layer
3 (Vermittlung)
Standard
RFC 6890, RFC 1918, RFC 1122 …

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

RangePurposeStandard
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16private networks, internal only, to the internet via NATRFC 1918
127.0.0.0/8loopback: the device itself (127.0.0.1)RFC 1122
169.254.0.0/16link-local: self-assigned when no DHCP server answersRFC 3927
100.64.0.0/10shared address space for carrier-grade NAT at the providerRFC 6598
192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24for documentation and examples onlyRFC 5737
0.0.0.0/8“this network”, e.g. source of a DHCP discoverRFC 1122
255.255.255.255broadcast to everyone in the local networkRFC 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

RangePurposeStandard
::1/128loopbackRFC 4291
fe80::/10link-local, automatically on every interfaceRFC 4291
fc00::/7 (in practice fd00::/8)unique local addresses, privateRFC 4193
ff00::/8multicast, e.g. ff02::1 all nodes on the linkRFC 4291
2001:db8::/32for documentation onlyRFC 3849
2000::/3global unicast, routable on the internetRFC 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, IPv6 ff00::/8. Examples: 224.0.0.5 and ff02::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

Read on

Found a mistake or have an idea? Source of this page on GitHub.