Learn about APIPA

Automatic Private IP Addressing (APIPA) is a DHCP standard, protecting computer systems from problems by creating a backup mechanism for Internet Protocol version 4 (IPv4) networks supported by Microsoft Windows. With APIPA, DHCP clients can receive IP addresses even if the DHCP server is not working. APIPA exists in all modern Windows versions, including Windows 10.

How APIPA works

Networks are set up to assign dynamic addresses based on DHCP servers to manage the set of local IP addresses available. When a Windows client tries to join the local network, it contacts the DHCP server to request its IP address. If the DHCP server stops working, causing network problems, the request cannot be performed or some problems occur on the Windows device.

Learn about APIPA Picture 1

When the DHCP process fails, Windows automatically assigns an IP address from its own scope (IP private), from 169.254.0.1 to 169.254.255.254. Using the Address Resolution Protocol (ARP), client devices verify that the selected APIPA address is unique on the network before using it. The client then checks back with the DHCP server on a fixed cycle, usually every 5 minutes, and automatically updates their address when the DHCP server requests the service.

For example, when you start a computer running Windows Vista, it only waits for the DHCP server for 6 seconds before using IP from the APIPA scope. Previous versions of Windows searched for DHCP servers within three minutes.

Learn about APIPA Picture 2

All APIPA devices use the default network mask 255.255.0.0 and all are on the same subnet.

APIPA is turned on by default in Windows whenever the PC network interface is configured for DHCP. This option is called automatic configuration in Windows utilities such as ipconfig. Administrators can turn this feature off by editing the Windows Registry and setting the following key value to 0:

 HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/TcpipParameters/IPAutoconfigurationEnabled 

Network administrators and experienced computer users realize that errors in the DHCP process indicate network problems to identify and resolve, to help DHCP work normally.

Restrictions of APIPA

The APIPA address does not belong to any scope of private IP addresses defined by the Internet Protocol standard and is restricted to use only on local networks. Like private IP addresses, test ping or any other connection requests from the Internet and other external networks can be done directly with APIPA devices.

Learn about APIPA Picture 3

APIPA devices configured can communicate with peer devices on their local network but cannot communicate outside the network. Although APIPA provides Windows customers with a usable IP address, it does not provide client devices with server names (DNS or WINS) and network gateway addresses such as DHCP.

Local networks should not attempt to assign addresses manually within APIPA because IP address conflicts will occur. To maintain APIPA's benefit in pointing out DHCP errors, the admin should avoid using those addresses for any other purpose and instead limit their network to using the standard IP address range.

See more:

  1. Learn about Public IP address
  2. How does Dynamic NAT (dynamic NAT) and Overloading NAT work?
  3. Ways to find IP Router address on Windows 10
3.6 ★ | 13 Vote

May be interested

  • Instructions for using IP address 192.168.2.2Photo of Instructions for using IP address 192.168.2.2
    192.168.2.2 is a private ip address, sometimes used on local networks. this is the second ip address in the ip range starting from 192.168.2.1, sometimes called the 192.168.2.0 network.
  • Find all devices connected to your network on your phone easilyPhoto of Find all devices connected to your network on your phone easily
    fing is a free application compatible for devices using ios and android operating systems. after installing and starting the application, it will scan your network. the amount of time it takes to scan each time will vary depending on the network speed and the number of devices connected.
  • The best network emulator software for the Network AdministratorPhoto of The best network emulator software for the Network Administrator
    in the field of it in particular, the most important requirement of learners is practice. there are practice, new learners themselves and deep understanding of theoretical knowledge. with the computer network industry, the demand for practice is also on top.
  • How to use VeilDuck VPN utilityPhoto of How to use VeilDuck VPN utility
    veilduck is a vpn utility for chrome and on android, ios, privacy protection when surfing the web.
  • Comprehensive network monitoring tool setPhoto of Comprehensive network monitoring tool set
    network monitoring is a diverse function with many tasks that a computer network administrator needs to perform. to simplify administration and improve network performance. in the following article, we would like to share a fairly complete toolkit for comprehensive network monitoring goals.
  • How to arrange network connection on Windows 10Photo of How to arrange network connection on Windows 10
    windows 10 automatically arranges network connections based on parameters. however, we can also change the priority of network connection according to user needs.