Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Can't connect using DHCP

02 Dec 2014   #1
sleepless

Windows 7 Ultimate x64 SP1
 
 
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 System SpecsSystem Spec
.
02 Dec 2014   #2
matts6887

Windows 7 ultimate 64-bit
 
 

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 System SpecsSystem Spec
02 Dec 2014   #3
sleepless

Windows 7 Ultimate x64 SP1
 
 

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 System SpecsSystem Spec
.

04 Dec 2014   #4
sleepless

Windows 7 Ultimate x64 SP1
 
 

can someone please help me with this?
My System SpecsSystem Spec
04 Dec 2014   #5
dsperber

Windows 7 Pro x64 (1), Win7 Pro X64 (2)
 
 

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 System SpecsSystem Spec
04 Dec 2014   #6
dsperber

Windows 7 Pro x64 (1), Win7 Pro X64 (2)
 
 

Quote   Quote: Originally Posted by sleepless View Post
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 System SpecsSystem Spec
05 Dec 2014   #7
sleepless

Windows 7 Ultimate x64 SP1
 
 

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 System SpecsSystem Spec
05 Dec 2014   #8
Barman58

Windows 10 Pro x64 x2 Windows 10 Enterprise x64, Ubuntu
 
 

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 System SpecsSystem Spec
05 Dec 2014   #9
dsperber

Windows 7 Pro x64 (1), Win7 Pro X64 (2)
 
 

Quote   Quote: Originally Posted by sleepless View Post
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?
My System SpecsSystem Spec
06 Dec 2014   #10
sleepless

Windows 7 Ultimate x64 SP1
 
 
dsperber:

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

Quote:
(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.

Quote:
(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


Quote:
(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

Quote:
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 System SpecsSystem Spec
Reply

 Can't connect using DHCP




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
No DHCP? 168.192.1.1
Hello, I'm having problems with my XP pc that I use plotting work on, My DSL company recently sent me a modem router combo and I hooked everything in correctly, the wireless works and also most computers can connect except one... my XP, it shows limited or w/e connectivity at the bottom right icon...
Network & Sharing
Wireless takes too long to connect (DHCP server)at startup?
Hello I would like to ask for help I'm having a issue with the wireless in the past couple of days before it has always connected in seconds. when starting up the laptop it takes 1-2 minutes to connect (blue circle loading) but the connection is not stable such as random times disconnects...
Network & Sharing
DHCP not starting
DHCP client not starting getting error dependencies failed. using win 7 starter 32 bit. ipconfig/all gave me this result Microsoft Windows Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\Saurabh>ipconfig/all Windows IP Configuration Host Name . . . . . . ....
Network & Sharing
Can't connect to internet - IP's are all 0's & DHCP is not enabled
Hi, I'm working on a friends laptop & at first thought that she had this new Malware virus, but when I look at the IP config all of the IP addresses are zeros. DHCP is disabled for all adapters. When attempting to load IE page I get Error 105 - Unable to resolve the server's DNS address. I'm not...
Network & Sharing
DHCP
If i want to assign every device on my network an ip manually, should I disable DHCP on my router? or won't it make a difference.
Network & Sharing


Our Sites

Site Links

About Us

Find 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 00:56.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App