This document describes the special IPv4 address ranges that LanCalc automatically detects and handles according to RFC specifications.
- RFC 3330 - Loopback Addresses
- RFC 3927 - Link-Local Addresses
- RFC 5771 - Multicast Addresses
- RFC 1122 - Unspecified Addresses
- RFC 919 - Broadcast Address
RFC 3330 - Special-Use IPv4 Addresses
The loopback address range 127.0.0.0/8 is reserved for communication within the same host. These addresses are not routable on the Internet and are used for internal host-to-host communication, typically for testing and diagnostics.
$ lancalc 127.0.0.1/8 --json
{
"network": "127.0.0.0",
"prefix": "/8",
"netmask": "255.0.0.0",
"broadcast": "*",
"hostmin": "127.0.0.1",
"hostmax": "127.255.255.254",
"hosts": "16777214",
"comment": "RFC 3330 Loopback (https://github.com/wachawo/lancalc/blob/main/docs/RFC.md#rfc-3330---loopback-addresses)"
}- Loopback addresses show actual host range calculations for subnet analysis
- The entire 127.0.0.0/8 range is reserved, not just 127.0.0.1
- Commonly used for localhost communication and application testing
RFC 3927 - Dynamic Configuration of IPv4 Link-Local Addresses
The link-local address range 169.254.0.0/16 is used for automatic IP address configuration when no DHCP server is available. These addresses are not routable beyond the local network segment and are typically assigned automatically by the operating system.
$ lancalc 169.254.1.1/16 --json
{
"network": "169.254.0.0",
"prefix": "/16",
"netmask": "255.255.0.0",
"broadcast": "*",
"hostmin": "*",
"hostmax": "*",
"hosts": "*",
"comment": "RFC 3927 Link-local (https://github.com/wachawo/lancalc/blob/main/docs/RFC.md#rfc-3927---link-local-addresses)"
}- Host-related fields show "*" because link-local addresses have special automatic assignment behavior
- Commonly seen on Windows systems when DHCP fails (APIPA - Automatic Private IP Addressing)
- Used for local communication only, not routable through gateways
RFC 5771 - IANA Guidelines for IPv4 Multicast Address Assignments
The multicast address range 224.0.0.0/4 (224.0.0.0 - 239.255.255.255) is reserved for IP multicast communication. These addresses are used to send data to multiple hosts simultaneously and are not intended for traditional unicast host addressing.
$ lancalc 224.0.0.1/4 --json
{
"network": "224.0.0.0",
"prefix": "/4",
"netmask": "240.0.0.0",
"broadcast": "*",
"hostmin": "*",
"hostmax": "*",
"hosts": "*",
"comment": "RFC 5771 Multicast (https://github.com/wachawo/lancalc/blob/main/docs/RFC.md#rfc-5771---multicast-addresses)"
}- Host-related fields show "*" because multicast addresses are not used for individual host identification
- Used for protocols like IGMP, streaming media, and group communication
- Different from broadcast as they require explicit group membership
RFC 1122 - Requirements for Internet Hosts -- Communication Layers
The unspecified address range 0.0.0.0/8 contains addresses that have special meaning in network protocols. The address 0.0.0.0 is used to indicate "this host on this network" and should not be used for regular host addressing. Note that 0.0.0.0/0 (the default route) is treated as normal unicast.
$ lancalc 0.0.0.1/8 --json
{
"network": "0.0.0.0",
"prefix": "/8",
"netmask": "255.0.0.0",
"broadcast": "*",
"hostmin": "*",
"hostmax": "*",
"hosts": "*",
"comment": "RFC 1122 Unspecified (https://github.com/wachawo/lancalc/blob/main/docs/RFC.md#rfc-1122---unspecified-addresses)"
}- Host-related fields show "*" because these addresses have special protocol meanings
- 0.0.0.0 is used in DHCP and routing protocols to indicate "this network"
- The default route 0.0.0.0/0 is treated as normal unicast, not unspecified
RFC 919 - Broadcasting Internet Datagrams
The limited broadcast address 255.255.255.255 is used to send packets to all hosts on the local network segment. This address is never forwarded by routers and is used for network-wide announcements and discovery protocols.
$ lancalc 255.255.255.255/32 --json
{
"network": "255.255.255.255",
"prefix": "/32",
"netmask": "255.255.255.255",
"broadcast": "*",
"hostmin": "*",
"hostmax": "*",
"hosts": "*",
"comment": "RFC 919 Broadcast (https://github.com/wachawo/lancalc/blob/main/docs/RFC.md#rfc-919---broadcast-address)"
}- Host-related fields show "*" because the broadcast address is not used for individual host addressing
- Different from directed broadcast (network broadcast address) as this is the limited broadcast
- Used by protocols like DHCP, ARP, and Wake-on-LAN