Link to home
Start Free TrialLog in
Avatar of barkin
barkin

asked on

DHCP Problem - Semaphore timeout?

I've installed Windows 2000 Pro [SP4]. The network uses an Ethernet NIC card connected to a Cable Modem. On boot up into Windows a few programs are set to autostart (Norton Antivirus 2003 and Popup Smasher). The problem Im having has to do with the Network connection taking approx. 1 min before it kicks in allowing me access to the net, not to mention the system wide "freeze" of launching other apps or folders during this period.

The Event Viewer reported the following:
==============================
Event Type: Warning
Event Source: Dhcp
Event Category: None
Event ID: 1003
Date: 01/29/2004
Time: 2:47:59 PM
User: N/A
Computer: TOAST
Description:
Your computer was not able to renew its address from the network (from the DHCP Server) for the Network Card with network address 000Dxxxxxxxx. The following error occured:
The semaphore timeout period has expired. . Your computer will continue to try and obtain an address on its own from the network address (DHCP) server.
Data:
0000: 79 00 00 00 y...
==============================

During this delay I was able to do an IPCONFIG and found the DHCP had "already" returned back a usuable IP address, Gateway, and DNS. There was no reason for the further delay. The error message above was still logged in the Event Viewer.

Currently my Network settings are for "Obtain IP Address Automatic" and "Obtain DNS Automatic". Now I have tried setting the IP, DNS, and Gateway address to static IPs but the way I will be settings things up I'd rather keep these set to Dynamic.

From the Event Log can i assume there's a registry setting for DHCP Timeouts?

Thanks.

Avatar of chicagoan
chicagoan
Flag of United States of America image

Is your NIC taking a long time to negotiate speed/duplex?
You need to find the dependency that's slow and sdd it to the DHCP client service dependencies (or fix it)
Avatar of barkin
barkin

ASKER

thanks for the prompt comment.  I'm not an expert on networking but I can tell you that I have successfully set my speed/duplex to 100MB Full, a switch from Auto Negotiate.

>You need to find the dependency that's slow and sdd it to the DHCP client service

Sounds good.  Now, how do i go about doing this??
ASKER CERTIFIED SOLUTION
Avatar of chicagoan
chicagoan
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I have seen this with a lot of cable modems and most of the time all you really have to do is "Power Cycle" the cable modem.
Hi there

when talking of windows machine's they tend to every 10-30 seconds to negotioate around the network a lot of noise wich you can see with your own eyes if you install a Network packet analyzer. Microsoft does a lot of communication on the network..

What I'm tryin to say is do not worry for the matter of the DHCP server. The PC with a non renewed IP form the server will keep trying to get a new release, but the old address will stay theere
Avatar of barkin

ASKER

WHen i did a fresh install, networking setup and a few apps installed, the network connection icon appeared immediately in my Task Tray.  There was no real noticeable delay.  I'll look into the Task List programs as suggested but cooledit, if you're right, then theres really nothing i can do.  
What kind of switch are you using?

I had this problem with a ConnectGear switch. Changing the port solved the problem. Why it happened? No clue. Possibly just a peice of crap. It happens.

While I was researching the problem I found an issue with spanning tree protocol interfering with DHCP, but I don't think this was in my case, because I was only using one switch. If you have redundant switch paths, make sure that STP is working correctly (blocking/forwarding). Cisco was some good documentation on this on their website and also in the CCNA training books (INTRO).