Cannot get an IP address automatically


  1. Posts : 2
    Windows 7
       #1

    Cannot get an IP address automatically


    I recently replaced Windows 7 RC with my version of Windows 7 Pro x64 from my universities MSDNAA.

    The problem, is that Windows can't assign itself an IP address. I must go into the adapter settings and manually enter my LAN address (192.168.1.2) and my gateway address. After I set these, it looks for the problem and says that DHCP is turned off (it shouldn't be), and then applies the fix. I have to do this every time I boot into Windows. My previous install of Windows 7 RC didn't do this, and my primary OS, Ubuntu, works fine too.

    Any solutions?

    Kind regards,
    Tom
      My Computer


  2. Posts : 1,170
    XP Pro SP3 X86 / Win7 Pro X86
       #2

    ukblacknight said:
    I recently replaced Windows 7 RC with my version of Windows 7 Pro x64 from my universities MSDNAA.

    The problem, is that Windows can't assign itself an IP address. I must go into the adapter settings and manually enter my LAN address (192.168.1.2) and my gateway address. After I set these, it looks for the problem and says that DHCP is turned off (it shouldn't be), and then applies the fix. I have to do this every time I boot into Windows. My previous install of Windows 7 RC didn't do this, and my primary OS, Ubuntu, works fine too.

    Any solutions?

    Kind regards,
    Tom

    This is probably a services issue....

    Control Panel -> Administrative tools -> Services.

    Set "DHCP Client" to Automatic
    Set "DNS Client" to Automatic

    In the adaptor settings where you've been keying your IP...
    Set it to "Obtain IP Address automatically" and "Obtain DNS server Address automatically"...

    Restart your system.

    In your router/switch ... check settings and be sure that DNS and DHCP are enabled there too.
      My Computer


  3. Posts : 2
    Windows 7
    Thread Starter
       #3

    CommonTater said:
    ukblacknight said:
    I recently replaced Windows 7 RC with my version of Windows 7 Pro x64 from my universities MSDNAA.

    The problem, is that Windows can't assign itself an IP address. I must go into the adapter settings and manually enter my LAN address (192.168.1.2) and my gateway address. After I set these, it looks for the problem and says that DHCP is turned off (it shouldn't be), and then applies the fix. I have to do this every time I boot into Windows. My previous install of Windows 7 RC didn't do this, and my primary OS, Ubuntu, works fine too.

    Any solutions?

    Kind regards,
    Tom

    This is probably a services issue....

    Control Panel -> Administrative tools -> Services.

    Set "DHCP Client" to Automatic
    Set "DNS Client" to Automatic

    In the adaptor settings where you've been keying your IP...
    Set it to "Obtain IP Address automatically" and "Obtain DNS server Address automatically"...

    Restart your system.

    In your router/switch ... check settings and be sure that DNS and DHCP are enabled there too.
    I just booted back in, and the DHCP and DNS services were already set to automatic and were running. The adapter settings was already on "Obtain IP Address automatically", it changes itself back to that after a reboot. There's a shield icon on the properties for the adapter, indicating that the system should escalate privileges to administrator to change such settings, but I'm never prompted - could this be the reason why it never remembers my settings?

    DHCP is running on the router, every other device in the house connects to it fine :\ If I look on the router under "Attached Devices", it lists my machine with an IP of 192.168.1.167, where as when I'm running under Ubuntu, it's 192.168.1.2.
      My Computer


  4. Posts : 1,170
    XP Pro SP3 X86 / Win7 Pro X86
       #4

    ukblacknight said:
    I just booted back in, and the DHCP and DNS services were already set to automatic and were running. The adapter settings was already on "Obtain IP Address automatically", it changes itself back to that after a reboot. There's a shield icon on the properties for the adapter, indicating that the system should escalate privileges to administrator to change such settings, but I'm never prompted - could this be the reason why it never remembers my settings?

    DHCP is running on the router, every other device in the house connects to it fine :\ If I look on the router under "Attached Devices", it lists my machine with an IP of 192.168.1.167, where as when I'm running under Ubuntu, it's 192.168.1.2.
    I'm not one to leap directly to "get new drivers" or any of the other trite advice you'll see on forums like this. Most problems end up being settings or connections issues... but in this case, maybe you should try updating your network drivers before you go too much further.

    Also is IPv6 running? Some routers just can't deal with it so you might also try unchecking that and rebooting.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 19:46.
Find Us