Resolve Getting 169 Invalid IP Address Range (APIPA) On your PC

Published by: Alex George on June 01, 2024
Have you ever seen an IP address similar to 169.254.X.X on your computer? If yes, your computer runs on an APIPA. The 169 IP address is also called an invalid IP address. In this article, I will explain the concept of APIPA and how to fix it.

Let me explain the APIPA concept first. When a Windows computer fails to receive a valid IP address from a DHCP server, OS will automatically assign an Automatic Private IP address called APIPA.

This automatic Private IP address is in the range 169.254.0.1 to 169.254.255.254.

APIPA = Automatic Private IP Addressing


Problems With APIPA Addressing

Since APIPA (169.254.X.X) is a private IP address, your computer will not communicate to any other devices with a valid IP address provided by a DHCP server.

In other words, your computer has no connection to a real network. A Device with a 169 IP Address range can only communicate with another APIPA device.

To communicate with other devices, you must change the 169.254.X.X IP address by fixing the issues that prevent it from getting a valid IP address.

This tutorial explains the reasons for getting APIPA and how to resolve it.


Which Devices Support APIPA?

Every Windows version like Windows 11, Windows 10, Windows 8, Windows 7, Vista, and XP support it except Windows NT. Follow the instructions below to fix 169.254.x.x addressing issues.


How to Resolve 169.254.X.X IP Addressing Issue?


  1. Release & Renew IP address

    When you notice APIPA on your computer, first try to release and renew the IP address from the command prompt. It will prompt your computer to contact the DHCP server. Commands to release and renew the IP address on Windows versions from XP are:

    • ipconfig/release

    • ipconfig/renew

  2. Restart your computer

  3. Ping the default gateway. If you are getting replies, try to go online. If not, follow the instructions

    • Check firewall settings & turn off all firewalls, including windows firewall

    • Check the configuration of all Internet security software products.

  4. Power cycle the network

    • Disconnect the power cable from the router (DHCP server).

    • Reboot your PC

    • Reconnect the power cable to the router after 1 minute

    • Check the new IP address.


  5. Assign a Static IP Address

    If your laptop does not change 169.254.x.x addressing, assign static IP to it according to the network address of the DHCP server. For example, if the address of the DHCP server is 192.168.1.1, you can assign a static IP address between 192.168.1.2 to 192.168.1.254.

  6. If still having APIPA, use the  Following DOS prompt Commands.

    • ipconfig /flushdns

    • netsh int ip reset c:\tcp.txt

    • netsh winsock reset


Fix Automatic Private IP Addressing Issues On Wireless Laptops


If you get APIPA On a wireless PC or laptop, the first step is to check whether the WiFi adapter or the Access Point is the source of the issue. If other devices on the WiFi network are working fine, you can ignore the steps on Router/AP.

In my experience, a faulty wireless adapter or corrupted WiFi utility installed causes this issue. Follow the steps below.

  1. Unplug and replug the Wireless adapter (USB Adapters only).

  2. Update Wireless adapter driver.

  3. Uninstall and reinstall the wireless adapter driver.

  4. Use Windows Wireless utility to manage the wireless connection.

  5. Delete the preferred networks and connect again to the current wireless network. If you are not sure how to do it, visit the link below. 
    How to Delete Preferred Networks?

  6. Faulty WiFi Monitoring Utility

    A wireless computer can get APIPA due to a corrupted third-party WiFi monitoring utility installed.

    • APIPA On Windows 8 and 7

      To fix APIPA on Windows 11, Vista, and Windows 10 computers, follow the instructions provided in the link below. You can use WLAN AutoConfig instead of third-party utilities like Linksys Wireless Monitor or Dell WiFi utility.
      Start WLAN AutoConfig Service

    • APIPA on Windows XP

      If you are running Windows XP, you should follow the instructions below to override corrupted Belkin Wireless Network Monitor Utility or D-Link wireless utility.
      How to Start WZC



Some Facts about APIPA

  1. It can be useful when you do not have a DHCP server.

  2. Even though your computer is assigned an APIPA, it will try to discover a DHCP server every five minutes.

  3. The Subnet mask of APIPA is 255.255.0.0 (Class B network).

  4. Computers having APIPA cannot communicate with devices in other subnets.

  5. Two computers having APIPA can communicate with each other.
    How to Communicate Two Computers Having APIPA

Recommended Readings
  1. DOS Command to Start DORA

  2. What is DHCP Server & Its Working

  3. How to Fix IP Address Conflict In a Network

  4. Network Didn't Assign Valid IP Address in a Given Time. You May Not have Connectivity to Network

8 comments:

  1. Anonymous1:45 PM

    It is not true that you have no connection with the 169.254.x.x address. It IS a ip address and you can reach the computers which are in the same address range (e.g. when multiple pc can not get a dhcp address assigned)

    ReplyDelete
    Replies
    1. This 169 IP address is APIPA and assigned by the Windows Operating System automatically. You can read about APIPA communication from the link below.

      http://www.corenetworkz.com/2009/10/communication-between-two-apipa.html

      Delete
  2. how to change this in windows 7, i have reformatted hp pavillion dv9700 with new Os WIn7, my other computers are working they have the ip 192.168.x.x but this hp laptop has 169.254.x.x, the laptop can communicate trough the another computer but cannot access internet..whats wrong any one plz help :)

    ReplyDelete
  3. Admin6:30 AM

    Have you tried the steps mentioned above?

    ReplyDelete
  4. @Admin.

    we have 30 branches in every branch a read only DC with DHCP server service. all pc's are working fine but some times randomly one one pc taking ip from apipa when i login to server delete problematic pc record form DHCP and restart dhcp server then it is taking ip from DHCP.
    please help.

    ReplyDelete
  5. @Khalid,

    From your message I feel that your DHCP range is not high and whenever you access the DHCP server one PC takes APIPA, am I correct ?

    Try to increase the DHCP range and check if the issue persists.

    ReplyDelete
  6. @Alex George

    there are too many ip left unused in the range . the issue is that when lease time is expired the Dhcp was unable to renew the lease.

    ReplyDelete
    Replies
    1. did you solve it bro?
      same here same problem

      Delete

Newer Post Older Post Home