Automatic Private IP Addressing (APIPA)

If a network client fails to get an IP address using DHCP, it can discover an address on its own using APIPA.

To get an IPv4 address, the client will select an address at random in the range to (inclusive), with a netmask of The client will then send an ARP packet asking for the MAC address that corresponds to the randomly-generated IPv4 address. If any other machine is using that address, the client will generate another random address and try again.

The entire address range has been set aside for "link local" addresses (the first and last 256 addresses have been reserved for future use). They should not be manually assigned or assigned using DHCP. See RFC 3330, which describes various special-use IPv4 addresses and address ranges, including the link local range.

In many cases the presence of a "link local" address indicates a loss of network connectivity, or that a DHCP server is down.

APIPA is implemented in Windows 98 and later, and is used only if DHCP is activated. It can be disabled by following the directions in Microsoft KB article 244268.

APIPA is available in classic Mac OS 8.5 through 9 and in macOS.

APIPA is part of Zeroconf. See the Dynamic Configuration of IPv4 Link-Local Addresses Internet-Draft for more information.

The IPv6 specification includes self-assigned link-local addressing.


We need a screenshot / example capture here

APIPA (last edited 2018-12-21 00:05:55 by GuyHarris)