Skip to main content

What is Automatic Private IP Addressing (APIPA)?

Generally, in today’s world of technology we know that the 169.254.xx.xx is a junk IP on a client 
device which fails to attain an IP address, but what we do not understand is how and why this 
happens and  what is the terminology used to describe this.

Today, I’m talking about this Automatic Private IP Addressing or APIPA as it is commonly called.

APIPA is a term used for auto assigning of the IP address to the LAN and WLAN interface on a  
Windows Operating System when it can’t reach the DHCP server. It is important to understand 
that in order for any device to be a part of the network, it needs an IP address and when this is 
not possible, the APIPA allows the LAN or WLAN interface to assign itself a unique IP address.
As seen above, Network connection 1 indicates a normal working setup wherein the DHCP server 
is Enabled on the router and all the client devices acquire IP addresses in the range 192.168.0.xx 
(xx ranges from 2 till 254) with the default gateway 192.168.0.1 and subnet mask 255.255.255.0.

The network connection 2 shows the condition under which the APIPA comes into effect. Since 
the DHCP server on the router is disabled, all the client devices fail to obtain an IP address. The 
Windows clients then use the APIPA function to auto assign itself with the IP address 169.254.0.1
through 169.254.255.254 with no default gateway and class B subnet mask 255.255.0.0. 
 
These unique IP addresses are reserved for APIPA purpose ranging from 169.254.0.1 through 
169.254.255.254 with default Class B subnet 255.255.0.0. This helps troubleshooting on the network. 
APIPA is auto enabled on all the DHCP client devices and can be configured to any desired private 
IP address but this violates its purpose. APIPA also keeps checking for the availability of the DHCP 
server after particular interval. Once it detects a DHCP server, it configures the client device with the 
dynamic IP address from DHCP server.

I believe this post might have been an informative one. So keep visiting for more in the days to come.

Comments

  1. That's very simplified explanation. Easily understandable...

    ReplyDelete

Post a Comment

Popular posts from this blog

How to Assign an IP Address on an Android 4G

Mobile Phone Users busy on their phones while traveling Mobile phones are widely used portable devices for internet after the huge price drop on the data packages. The data technology for cellular networks is changing rapidly. While some of the users are yet to adopt 4GLTE , the major network players are ready with their 5G version to be launched. It is very difficult for all the users to keep up with the pace in this ever changing world of technology . I come across many of them asking me on how to assign an IP address on a mobile device. Basically, this is not needed for an end user since most of the access points are DHCP enabled to auto assign an IP address . This may be required as a part of troubleshooting in scenarios where the mobile device is having problem connecting to the internet. This comes handy for users who often connect to their Wi-Fi routers and Access Points . Here we go Android users . Firstly, ensure that you are connected to your Wi-

Here Are Computer Tricks That Every CS/IT Student Must Know

Here Are Computer Tricks That Every CS/IT Student Must Know : Don't miss these! Great Tricks....... There is so much of computer/IT related information that its really impossible for a person to grasp them all alone. This is where sharing information helps. This is my attempt to reach this information to all the CS/IT and techie guys....Grasp it all...