dhcp server shutdown

From: <Lanman@discussions.microsoft.com>

Subject: dhcp server shutdown

Date: Sat, 13 Aug 2005 04:37:02 -0700

Newsgroups: microsoft.public.windows.server.sbs

 

I am running a SBS2003 server with all XP workstations. I have just started getting DHCP shutdown problems. The DHCP server is detecting another DHCP server with the same addresss as my server, then the service stops. I can manually start the service again without a problem but it will again shutdown at a random time. I have looked in the DHCP log but can't find the cause in there. What is the best way to trouleshoot this type of error? The server has had no problems like this in the past.

L

 

*************************************

 

Date: Sat, 13 Aug 2005 09:30:38 -0700

From: "Susan Bradley, CPA aka Ebitz - SBS Rocks [MVP]"

Subject: Re: dhcp server shutdown

Newsgroups: microsoft.public.windows.server.sbs

 

Any new device on the network?

 

*************************************

 

From: <Lanman@discussions.microsoft.com>

Subject: Re: dhcp server shutdown

Date: Sat, 13 Aug 2005 10:03:01 -0700

Newsgroups: microsoft.public.windows.server.sbs

 

A Mitel phone switch was placed in the network (I thought that may have been the problem) but I have removed it and still am having DHCP shutdowns. Same error. ???

 

*************************************

 

From: (Crina Li (MSFT))

Date: Mon, 15 Aug 2005 07:29:47 GMT

Subject: RE: dhcp server shutdown

Newsgroups: microsoft.public.windows.server.sbs

 

Hi Lanman,

 

Thank you for posting in SBS newsgroup.

 

I am sorry for the delayed response due to weekend. Please understand that the newsgroups are staffed weekdays by Microsoft Support professionals to answer your systems and applications questions. Your understanding is greatly appreciated!

 

Would you please help me confirm if there is any other DHCP server on your network or if the router is handing DHCP? On the SBS 2k3 network, SBS server will only allow one DHCP server per subnet. Once another one is detected, SBS server will try to shut down its own service to avoid any potential conflict and issues. This is a by design behavior.

 

Also, the SBS DHCP server service will shut down during rogue detection when scope options 66 and 67 are added to the default scope. After one hour of uptime, the DHCP server service kicks off rogue detection by sending a DHCP "discover" packet, b-cast all, on it's subnet. The DHCP server service will then reply to itself with an "offer" packet with the TFTP server name/IP address included in the SIADDR field of the reply. It will then immediately shut down after seeing this packet as it thinks that there is another DHCP server on the network advertising addresses.

 

As a workaround, the service shutdown can be prevented by disabling DHCP rogue server detection. To disable DHCP rogue server detection, perform the following steps:

 

1. Open Registry Editor.

 

2. Traverse to the following location:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Dhcpserver\Pa

rameters.

 

3. On the Edit menu, click New->DWORD Value. Use the following parameters for the new key:

 

 Value Name: DisableRogueDetection

 Data type: REG_DWORD

 Radix: Binary

 Value data: 1

 

4. Close Registry Editor.

 

5. Restart the DHCP Server service.

 

Hope the information help and I look forward to your reply.

 

Best regards,

 

Crina Li (MSFT)

Microsoft CSS Online Newsgroup Support

Get Secure! - www.microsoft.com/security

 

*************************************

 

From: <Lanman@discussions.microsoft.com>

Subject: RE: dhcp server shutdown

Date: Wed, 17 Aug 2005 15:43:01 -0700

Newsgroups: microsoft.public.windows.server.sbs

 

Thank you very much for the post... I will try your workaround tomorrow. I thought there was a reg hack somewhere to turn this off...

I will let you know the results...

 

L

 

*************************************

 

From: <Lanman@discussions.microsoft.com>

Subject: RE: dhcp server shutdown

Date: Fri, 2 Sep 2005 17:04:01 -0700

Newsgroups: microsoft.public.windows.server.sbs

 

The reg hack worked..!!! Thank you very much for your help. Saved me ALOT of time trying to find this answer myself.

 

Have a good day,

 

L

 

Published Mon, Sep 5 2005 20:34 by OBTS
Filed under: