APIPA stands for Automatic Private IP Addressing (APIPA). It is a feature or characteristic in operating systems (eg. Windows) which enables computers to self-configure an IP address and subnet mask automatically when their DHCP(Dynamic Host Configuration Protocol) server isn’t reachable. The IP address range for APIPA is (169.254.0.1 to 169.254.255.254) having 65, 534 usable IP addresses, with the subnet mask of 255.255.0.0.
Initially, the Internet Engineering Task Force (IETF) has reserved the IPv4 address block 169.254.0.0/16 (169.254.0.0 – 169.254.255.255) for link-local addressing. Due to the simultaneous use of IPv4 addresses of different scopes, traffic overload becomes high. The link-local addresses are allocated to interface i.e., stateless in nature such that communication will be established when not getting a response from DHCP Server. After that Microsoft refers to this address autoconfiguration method as “Automatic Private IP Addressing (APIPA)”.
Automatic Configuration and Service Checks
It starts with when the user(client) is unable to find the data/information, then uses APIPA to configure the system with an IP address automatically(ipconfig). The APIPA provides the configuration to check for the presence of a DHCP server(in every five minutes, stated by Microsoft). If APIPA detects a DHCP server on the network configuration area, it stops, and let run the DHCP server that replaces APIPA with dynamically allocated addresses.
Note: To Know the given IP address is provided by which addressing, just run the following command:ipconfig/all
- Communication can be established properly if not getting response from DHCP Server.
- APIPA regulates the service, by which always checking response and status of the main DHCP server in a specific period of time.
- It can be used as a backup of DHCP because when DHCP stops working then APIPA has the ability to assign IP to the networking hosts.
- It stops unwanted broadcasting.
- It uses ARP(Address Resolution Protocol) to confirm the address isn’t currently in use.
- APIPA ip addresses can slow you network.
- APIPA doesnot provide network gateway as DHCP does.
- APIPA addresses are restricted for use in local area network.
- APIPA configured devices follow the peer to peer communication rule.
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
- IP Addressing | Classless Addressing
- Difference between private keyword and private fields in TypeScript
- What is ARQ (Automatic Repeat Request)?
- Introduction of Classful IP Addressing
- Computer Networks | IP Addressing | Question 5
- Computer Networks | IP Addressing | Question 6
- Difference between Indirect and Implied Addressing Modes
- Difference between Memory based and Register based Addressing Modes
- Classful Vs Classless Addressing
- IPv6 Addressing Format and Conventions
- Difference between Indirect and Immediate Addressing Modes
- Difference between Direct and Immediate Addressing Modes
- Difference between PC relative and Base register Addressing Modes
- Difference between Direct and Implied Addressing Modes
- Private Classes in Ruby
- Know your public and private IP addresses
- Private VLAN
- Replacing 'public' with 'private' in "main" in Java
- What is the difference between public, private, and protected in PHP?
- Private Browsing
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.