Invalid IP Address 169.254.x.x

Anonymous
2009-11-03T15:27:21+00:00

Hi. I'm a DSL tech support agent and we have a lot of problems with customers getting invalid ip address especially after installing a replacement modem.  I take them through a list of things to do but it rarely seems to work.  My most recent adventure down this rabbit hole was with a customer who had a brand new modem and a brand new computer with Vista on it.  Here's what I tried:

  • ipconfig /all got us a 169.254.x.x ip address and no default gateway
  • ipconfig /release gave us the same number
  • ipconfig /renew failed
  • ftp 127.0.0.1 gave no message at all
  • netsh winsock reset appeared successful (restart)
  • netsh int ip reset resetlog.txt appeared succussful(restart)
  • NIC appeared OK and said it was working properly
  • uninstalled NIC and let Vista reinstall it on a restart but it did not help
  • pulled power cord out of modem for 10 secs
  • shut computer down, pulled power cord out of modem, pulled phone cord from modem, inserted phone cord then power cord and restarted computer after lights were solid
  • tried "diagnose and repair" but it failed
  • ensured firewall was off
  • tried running a winsock fix utility
  • tried reinstalling IPv4 on local area connection
  • tried creating a new broadband PPPoE connection
  • tried booting in safe mode with networking
  • tried manually assigning the ip addresses

I'm tired of spending up to 3 hours on a call trying to fix this only to refer them to our fee-based tech support people.  It seems there is or should be a simple solution to get the computer and modem to talk to each other so we can surf into the modem.  I know my customers don't like being on the phone that long.  What am I missing?  What will actually work?  Is there a simple solution?

Windows for home | Previous Windows versions | Internet and connectivity

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes
Accepted answer
  1. Anonymous
    2009-11-04T05:08:11+00:00

    Hi Sparkchaser, 

    Welcome to Windows Vista Answers Forums!

    When a DHCP client boots up, it first looks for a DHCP server in order to obtain an IP address and subnet mask. If the client is unable to find the information, it uses APIPA (Automatic Private IP Addressing) a feature in Windows Vista to automatically configure itself with an IP address and subnet mask when a DHCP server isn't available. The IP address range is 169.254.0.1 through 169.254.255.254, a range that has been reserved especially for Microsoft.

    If a Windows Vista computer fails to get an IP address from DHCP Server, then you may have to confirm if the DHCP Server supports the BROADCAST flag.

    To resolve this issue, disable the DHCP BROADCAST flag in Windows Vista. To do this, follow these steps:

    1)    Click Start, type regedit in the Start Search box, and then click reedit in the Programs list. If you are prompted for an administrator password or for confirmation, type your password, or click Continue.

    **2)**Locate and then click the following registry subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\ {GUID}

    In this registry path, click the (GUID) subkey that corresponds to the network adapter that is connected to the network.

    3)    On the Edit menu, point to New, and then click DWORD (32-bit) Value.

    4)    In the New Value #1 box, type DhcpConnEnableBcastFlagToggle, and then press ENTER.

    5)    Right-click DhcpConnEnableBcastFlagToggle, and then click Modify.

    6)    In the Value data box, type 1, and then click OK.

    7)    Close Registry Editor.

    For more information you may refer the following link:

    Windows Vista cannot obtain an IP address from certain routers or from certain non-Microsoft DHCP servers.

    http://support.microsoft.com/kb/928233

    Important: The above mentioned method tells you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs.

    How to back up and restore the registry in Windows: http://support.microsoft.com/kb/322756/

    Hope this information is helpful.

    Praseetha K

    Microsoft Answers Support Engineer

    Visit our Microsoft Answers Feedback Forum and let us know what you think.

    24 people found this answer helpful.
    0 comments No comments

8 additional answers

Sort by: Most helpful
  1. Anonymous
    2009-11-05T16:42:34+00:00

    Wow!  That looks like it may help but it goes beyond my scope of support.  If I can show that it will work then I might be able to get it added to our scope of support.  We have a computer lab that I might be allowed to try it on if I can induce an invalid ip on one of the machines.  How could I go about inducing an invalid ip?  I also have some other questions about your answer:

    • Will this work for XP?
    • Will this work for a wireless connection?
    • Is there something else to try that does not involve changing the registry?

    Thanks for your help.

    0 comments No comments
  2. Anonymous
    2009-11-05T16:48:30+00:00

    Please disregard the question about XP.  When I went to the first link you provided, I saw in that article that it can happen in XP sp2.

    0 comments No comments
  3. Anonymous
    2010-04-09T16:14:46+00:00

    Hi. I'm a DSL tech support agent and we have a lot of problems with customers getting invalid ip address especially after installing a replacement modem.  I take them through a list of things to do but it rarely seems to work.  My most recent adventure down this rabbit hole was with a customer who had a brand new modem and a brand new computer with Vista on it.  Here's what I tried:

    • ipconfig /all got us a 169.254.x.x ip address and no default gateway
    • ipconfig /release gave us the same number
    • ipconfig /renew failed
    • ftp 127.0.0.1 gave no message at all
    • netsh winsock reset appeared successful (restart)
    • netsh int ip reset resetlog.txt appeared succussful(restart)
    • NIC appeared OK and said it was working properly
    • uninstalled NIC and let Vista reinstall it on a restart but it did not help
    • pulled power cord out of modem for 10 secs
    • shut computer down, pulled power cord out of modem, pulled phone cord from modem, inserted phone cord then power cord and restarted computer after lights were solid
    • tried "diagnose and repair" but it failed
    • ensured firewall was off
    • tried running a winsock fix utility
    • tried reinstalling IPv4 on local area connection
    • tried creating a new broadband PPPoE connection
    • tried booting in safe mode with networking
    • tried manually assigning the ip addresses

    I'm tired of spending up to 3 hours on a call trying to fix this only to refer them to our fee-based tech support people.  It seems there is or should be a simple solution to get the computer and modem to talk to each other so we can surf into the modem.  I know my customers don't like being on the phone that long.  What am I missing?  What will actually work?  Is there a simple solution? 

    0 comments No comments
  4. Anonymous
    2010-08-10T22:51:53+00:00

    I'm having a similar problem, so I tried to perform this operation, but I have no {GUID} subkey in my registry. IS that something that I can create?

    0 comments No comments