Can't connect using DHCP

Page 1 of 3 123 LastLast

  1. Posts : 84
    Windows 7 Ultimate x64 SP1
       #1

    Can't connect using DHCP


    I can't figure out why i can't get a connection using DHCP (obtain ip address automatically). The only way i get an internet connection is by assigning a static ip. i have another pc connected to the network also windows 7 and dhcp works fine. i'm confused, can anyone help?
      My Computer


  2. Posts : 1,449
    Windows 7 ultimate 64-bit
       #2

    I would try this simple idea first and see what happens: click start, programs, accessories, then right click on command prompt and select run as administrator; once there; type ipconfig /release then wait till the adapter releases; then type ipconfig /renew and hopefully that will resolve the issue. If that does nothing for ya post back
      My Computer


  3. Posts : 84
    Windows 7 Ultimate x64 SP1
    Thread Starter
       #3

    well at first i thought it worked as the network icon is showing to be connected. in the network and sharing center, it displays as being connected to an unidentified network with internet access.

    Can't connect using DHCP-nasc.png

    However... i have NO connection to the internet AT ALL. (weird that it displays as though it is).

    My local ip is 192.168.0.1 but this is what's displayed in ipconfig:

    Can't connect using DHCP-ipconfig.png

    thoughts?
      My Computer


  4. Posts : 84
    Windows 7 Ultimate x64 SP1
    Thread Starter
       #4

    can someone please help me with this?
      My Computer


  5. Posts : 2,752
    Windows 7 Pro x64 (1), Win7 Pro X64 (2)
       #5

    I'm puzzled about your configuration.

    (1) The 169.254.x.x IP address shown as "autoconfiguration IPv4 address" resolves to:

    National Aeronautics and Space Administration
    IS05/Office of the Chief Information Officer
    MSFC
    AL
    35812
    United States

    which of course doesn't make sense. How can this can't be manually configured? Did you set this? Has it always been the same value?

    (2) Why does Network and Sharing Center show you to be on a "public network" for that "unidentified network"? And the "public network" text isn't shown as it normally would be, as a LINK that you can click on to change "set network location" say to "home network".

    (3) Why does IPCONFIG show no default gateway?

    (4) If you're wired-connected from PC to router, and you get into the router from your second computer, does this problem comptuter show up on "attached devices"?

    No ideas yet, and I'm still just gathering clues and info.
      My Computer


  6. Posts : 2,752
    Windows 7 Pro x64 (1), Win7 Pro X64 (2)
       #6

    sleepless said:
    My local ip is 192.168.0.1
    I don't follow this. Are you saying you've set your own IP manually to be 192.168.0.1? When? Why? That's not right.

    If you had a router, then the router might be 192.168.0.1. But your own PC would not be this.

    Whether your own PC's IP address is assigned automatically through DHCP or manually assigned by you in TPCIP V4 Properties, from the perspective of your PC the router is the device which gets 192.168.0.1 address assigned. Your PC would never get this address. Your PC should be 192.168.0.2 or 192.168.0.3 or something similar.
      My Computer


  7. Posts : 84
    Windows 7 Ultimate x64 SP1
    Thread Starter
       #7

    my laptop is 192.168.0.14 (wired) and 192.168.0.15 (wireless). desktop is 192.168.0.13 (set automatically using dhcp).

    that unidentified public network and ipconfig.jpeg (i never set that ip address 169.254...myself) is what i get when i try using dhcp (automatic in windows adapter properties) on my laptop. there is no internet connection, however. when i set static ip i connect to local area home network and it works fine.

    i'm confused because the auto setting (dhcp) works fine on my desktop.
      My Computer


  8. Posts : 31,250
    Windows 11 Pro x64 [Latest Release and Release Preview]
       #8

    What is your router IP on the LAN private network 192.168.0.x ?

    This would normally be 192.168.0.1 with the DHCP pool starting at 192.168.0.2 and running up to 192.168.0.254 although this is not the only allowed setting. In commercial premiss it's often set up to allocate all the system infrastructure, (Routers managed switches, printers Etc), to addresses at the top end of the range and the user devices lower down. In these installations the router will often be allocated 192.168.0.254 or .255

    If you can check the details set in the actual router and let us know the router address, & ip pool range, as it appears that the DHCP server is not in operation - the 169.254.x.x is a Microsoft fall back address allocated when DHCP fails
      My Computers


  9. Posts : 2,752
    Windows 7 Pro x64 (1), Win7 Pro X64 (2)
       #9

    sleepless said:
    my laptop is 192.168.0.14 (wired) and 192.168.0.15 (wireless). desktop is 192.168.0.13 (set automatically using dhcp).

    that unidentified public network and ipconfig.jpeg (i never set that ip address 169.254...myself) is what i get when i try using dhcp (automatic in windows adapter properties) on my laptop. there is no internet connection, however. when i set static ip i connect to local area home network and it works fine.
    Let's sort this out...

    (1) Your desktop is wired connected to your router, and is configured for obtaining its IP address via "automatic DHCP". The router assigns 192.168.0.13 to your desktop. So the DHCP server functionality of your router must be enabled and working properly.

    (2) You haven't confirmed that your router is 192.168.0.1, but I'm guessing it is. If you do IPCONFIG on your desktop machine, you will probably see "TCPIP IPv4 Address" of 192.168.0.13 and a "default gateway" address of 192.168.0.1. Yes??

    EDIT: corrected default gateway address for typo.

    (3) You say that when you manually set the IP address of the ASUS laptop's wired ethernet connection to 192.168.0.14, and manually set the IP address of the ASUS laptop's wireless connection to 192.168.0.15, that you now have Internet access through both of these networks? Can you please post a screenshot from Network and Sharing Center with these two manual IP address settings in effect.


    Normally, there would be no reason to have both wired and wireless connections to your router from your laptop. If you have wired, that's sufficient and preferable. I normally disable wireless on my own laptop when I'm at home (there's a slide switch on my Lenovo W530 that turns off wireless radio) and connected wired to my router. I also use wired whenever possible when I'm away from home, using wireless only when necessary (by pushing the slide switch back to "on").

    Anyway, from Network and Sharing Center, if you click on the "change adapter settings" link in the upper-left of the window, you'll get the Network Connections dialog. You should see both your wireless and wired connections and both will probably show a status of ENABLED, and a network name as they are both enabled and active (when you're manually setting the IP addresses).

    If you then select each of the two network adapter objects and right-click and select DISABLE, to disable both wired and wireless. You should get a red "X" in the network icon in the system tray for each.

    Then select the wired network adapter object, and right-click, and select Properties. Then select the Internet Protocol Version 4 item, and push the Properties button, and reset your manually assigned IP address back to "obtain IP address automatically" for both the PC and DNS server addresses. Push OK, to get back to the Network Connections view.

    Now again right-click on the wired network adapter object, and select ENABLE. In a few seconds the red "X" should disappear (hopefully), wired handshake conversation with the router should occur to obtain a DHCP address, and hopefully you might now actually be connected... but just through wired, not wireless which you've previously DISABLE'd.

    Yes??

    What do things look like now? Same as before when you tried DHCP, or different? What does Network and Sharing Center show? Do you have a DHCP-assigned IP address, and do you have Internet access? Or still not working??

    And what does IPCONFIG now show?
    Last edited by dsperber; 06 Dec 2014 at 16:46. Reason: typo correction on "default gateway" address in (2) above
      My Computer


  10. Posts : 84
    Windows 7 Ultimate x64 SP1
    Thread Starter
       #10

    dsperber:


    First off, thank-you very much for the detailed reply :)

    (1) Your desktop is wired connected to your router, and is configured for obtaining its IP address via "automatic DHCP". The router assigns 192.168.0.13 to your desktop. So the DHCP server functionality of your router must be enabled and working properly.
    Correct.

    (2) You haven't confirmed that your router is 192.168.0.1, but I'm guessing it is. If you do IPCONFIG on your desktop machine, you will probably see "TCPIP IPv4 Address" of 192.168.0.13 and a "default gateway" address of 192.168.09.1. Yes??

    Correct, with the exception that the router has now assigned the address 192.168.0.10 to the desktop adapter. also the def. gateway is 192.168.0.1 (i'm assuming the 9 was a typo). here's the wired adapter settings for the laptop:
    Can't connect using DHCP-wired.ipv4.asus.jpg

    And here's the laptop ipconfig:
    Can't connect using DHCP-ipconfig.asus2.jpg

    And the desktop ipconfig:
    Can't connect using DHCP-ipconfig.htpc.jpg

    And the router settings:
    Can't connect using DHCP-routersettings.jpg


    (3) You say that when you manually set the IP address of the ASUS laptop's wired ethernet connection to 192.168.0.14, and manually set the IP address of the ASUS laptop's wireless connection to 192.168.0.15, that you now have Internet access through both of these networks? Can you please post a screenshot from Network and Sharing Center with these two manual IP address settings in effect.


    Normally, there would be no reason to have both wired and wireless connections to your router from your laptop. If you have wired, that's sufficient and preferable. I normally disable wireless on my own laptop when I'm at home (there's a slide switch on my Lenovo W530 that turns off wireless radio) and connected wired to my router. I also use wired whenever possible when I'm away from home, using wireless only when necessary (by pushing the slide switch back to "on").

    Anyway, from Network and Sharing Center, if you click on the "change adapter settings" link in the upper-left of the window, you'll get the Network Connections dialog. You should see both your wireless and wired connections and both will probably show a status of ENABLED, and a network name as they are both enabled and active (when you're manually setting the IP addresses).

    Correct. Both are enabled and working, but i normally use the wired so the wireless switch is disconnected:
    Can't connect using DHCP-adaptersettings.asus.jpg

    Can't connect using DHCP-nasc.asus.jpg

    If you then select each of the two network adapter objects and right-click and select DISABLE, to disable both wired and wireless. You should get a red "X" in the network icon in the system tray for each.

    Then select the wired network adapter object, and right-click, and select Properties. Then select the Internet Protocol Version 4 item, and push the Properties button, and reset your manually assigned IP address back to "obtain IP address automatically" for both the PC and DNS server addresses. Push OK, to get back to the Network Connections view.

    Now again right-click on the wired network adapter object, and select ENABLE. In a few seconds the red "X" should disappear (hopefully), wired handshake conversation with the router should occur to obtain a DHCP address, and hopefully you might now actually be connected... but just through wired, not wireless which you've previously DISABLE'd.

    Yes??

    What do things look like now? Same as before when you tried DHCP, or different? What does Network and Sharing Center show? Do you have a DHCP-assigned IP address, and do you have Internet access? Or still not working??

    And what does IPCONFIG now show?

    I'm afraid it's the same as before. connects to unidentified network with no internet access. I tried the wired connection first (with wireless disabled), then the wireless. the results were the same:
    Can't connect using DHCP-nasc.jpg

    Can't connect using DHCP-ipconfig.asus1.jpg

    Please let me know what you think. There must be some settings or services in windows that are causing this, as dhcp works fine on the desktop... no?
      My Computer


 
Page 1 of 3 123 LastLast

  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 12:23.
Find Us