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

  • How to Learn AerobaticsHow to Learn Aerobatics
    if you have been to an air show and seen pilots perform daring loops and rolls, you know how fascinating and complex it is. understand that it takes actual flying lessons to learn how to do aerobatics, as it is extremely dangerous to learn...
  • How to learn English via Flashcard on AnkiDroidHow to learn English via Flashcard on AnkiDroid
    ankidroid supports you to create smart cards to learn foreign languages ​​on your phone with many other interesting features.
  • How to Learn FasterHow to Learn Faster
    in order to adapt more quickly to the rapidly changing environments in which we live, we need to learn more effectively and efficiently. this article is intended to describe some basics for meta-learning, or learning about learning, to...
  • How to learn English on Chrome through the Rememberry utilityHow to learn English on Chrome through the Rememberry utility
    rememberry utility on chrome will help you learn english through the ability to translate languages, learn english words through word cards and test.
  • How to Alphabetize in Microsoft WordHow to Alphabetize in Microsoft Word
    alphabetizing lists is a good skill to learn in word, especially if you find yourself dealing with directories and lists often. luckily, the sorting process is quite simple once you learn how to access it. follow this guide to learn how...
  • To be good at English, don't forget to visit these 13 YouTube channels every dayTo be good at English, don't forget to visit these 13 YouTube channels every day
    in addition to movies, youtube is also a resource repository that any english learner cannot ignore. if you only think of funny videos, advertisements, documentaries or music videos of all genres, you have ignored the great learning materials on this planet's largest video sharing social network. there.
  • Learn the first Python programLearn the first Python program
    in this article we will learn a simple python program to get a little more insight into python, before starting to learn about the main components of this programming language.
  • The secret to help you achieve what you want without wasting timeThe secret to help you achieve what you want without wasting time
    when trying to accomplish something bigger, you can answer the question of why but don't know how (how)? you feel confused because you don't know which direction will help you achieve those goals? this is the solution!
  • How to Learn Web DesignHow to Learn Web Design
    web design is a very valuable skill, especially in today's world where everything revolves around the internet. if you're really good at it, you can make money from customers, create a membership page (a website that restricts guests' access to content), or pursue other monetization projects. and if you really want to know how to learn web design then this article is for you!
  • 5 free websites and online games to learn about the Linux command line5 free websites and online games to learn about the Linux command line
    linux is popular for its reliability and many practical applications. if you want to know more about linux, here are 5 websites that will help you learn it interactively.