Unable to contact DHCP server

June 7, 2010 at 07:46:49
Specs: Windows XP
One of my computers is unable to connect internet (to be more specific, the connection is unable to resolve IP address). I have another computer that is plugged to the very same switch that has no problems. The problems started yesterday when I installed Virtualbox and did not disappear after I uninstalled it. System restore did not fix the problem, but it had disappeared during the night and when I booted my computer at morning I was able to connect to the internet without problems.

I thought this was problem with Virtualbox, so I installed Microsoft Virtual PC 2007. The problem started again. Because the problem had disappeared during the night, I uninstalled Virtual PC, did system restore and shut down and unplugged modem, switch and both computers for 30 minutes.

When I rebooted, the connection was still unable to resolve IP address. At this point I formatted hard disk and reinstalled Windows XP (Pro, service pack 3) because I did not want to wait for multiple hours. After I had reinstalled network card drivers I found out the problem is still there, so apparently it was not a driver problem.

Computer with problem (this identical before and after reinstalling Windows):

C:\Documents and Settings\Ville-Valtteri>ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : vv4
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Broadcast
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
Physical Address. . . . . . . . . : E0-CB-4E-1B-CC-B9
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 0.0.0.0
Subnet Mask . . . . . . . . . . . : 0.0.0.0
Default Gateway . . . . . . . . . :
DHCP Server . . . . . . . . . . . : 0.0.0.0

C:\Documents and Settings\Ville-Valtteri>ipconfig /renew

Windows IP Configuration

An error occurred while renewing interface Local Area Connection : unable to

contact your DHCP server. Request has timed out.

Computer without problem:

C:\Documents and Settings\Ville-Valtteri>ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : vv1
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Mixed
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : elisa-laajakaista.fi

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : elisa-laajakaista.fi
Description . . . . . . . . . . . : VIA PCI 10/100Mb Fast Ethernet

Adapter
Physical Address. . . . . . . . . : 00-0D-87-4C-FE-F8
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 88.114.60.209
Subnet Mask . . . . . . . . . . . : 255.255.248.0
Default Gateway . . . . . . . . . : 88.114.56.1
DHCP Server . . . . . . . . . . . : 193.229.28.21
DNS Servers . . . . . . . . . . . : 193.229.0.40
193.229.0.42
Lease Obtained. . . . . . . . . . : 7. kesäkuuta 2010 16:21:18
Lease Expires . . . . . . . . . . : 7. kesäkuuta 2010 18:21:18
1

I have shut down the computer with the problem and at evening I will shut down modem, too (last night it was up but the problem had still disappeared).

I would like to know if there is some way to fix this problem without "shut down everything for the night" and what can I do to avoid this problem if I want to run virtualization software under Windows XP?


See More: Unable to contact DHCP server

Report •


#1
June 7, 2010 at 08:18:02
virtualization does not appear to be your issue.

You do not appear to have a router but you have at least two workstations connecting to the internet. Normally you only get one public ip address.

No router means you have to get a ip from your ISP which apparently it isn't doing. Virtualization would require a ip. Appears its getting it whereas your host pc isn't.

In the ipconfig /all you have a different subnet for gateway then you do for pc. Even with the supernet mask of 255.255.248.0 [using the gateway ip] you only get a ip range of 88.114.56.0 - 88.114.63.255

This is fine. You need a router which will provide you with your own dhcp server.


Report •

#2
June 7, 2010 at 08:31:22
I have got an adsl modem, I think that works as a router. The switch is plugged to the modem and my two computers have been plugged to the switch. That has worked for 2 months, but then something happened and this problem came.

I have uninstalled the virtualization programs (and reinstalled the Windows). Why is the "host pc" still not getting an IP address?


Report •

#3
June 7, 2010 at 09:13:02
"I think that works as a router"

I don't believe this is correct since the subnet range you have is supernetted. That is not something a 2 pc user sets up.

You have been lucky your isp has allowed you two ips.

You need a router not a switch if you wish to do virtualization since VM requires a ip. Otherwise contact your ISP and ask for additional ips.


Report •

Related Solutions

#4
June 7, 2010 at 09:23:22
I read the texts on my modem, and it says it is actually "ADSL router". I have successfully used VM with network on a Linux host before.

Can the "node type" setting have something to do with the fact my other PC is unable to contact DHCP server? If you read the ipconfig outputs, you see "Node type: Broadcast" does not work, but "Node type: Mixed" is one that works. Is it a changeable setting or is it sent by the DHCP server? Are there any other changeable settings that are different between my PCs and might cause the problem?


Report •

#5
June 7, 2010 at 10:14:19
The unit maybe a router but with that subnet range it can't be operating in router mode. I would be in bridge mode ie. just a modem.

Can you access/login/configure the router?

Node type as long as its not "unknown" will work so no change is required nor would that make a difference to your situation.


Report •


Ask Question