DP and DHCP on same server

Oilers93 1 Reputation point
2020-08-17T17:12:27.543+00:00

Good morning,

We're having some DHCP issues at our sites when the DP has been set up on a server that also has the DHCP role installed, and when using the PXE responder instead of WDS. Through some investigating it looks like DHCP and the PXE responder service are competing for port 67. We have to task kill the service for the PXE responder and then DHCP works normally.

Will my fortunes turn around if I install WDS instead of using the PXE responder or should I bite the bullet and set up a separate box for the DP.

Are there any workarounds for having both roles on the same server?

Thanks for your time!

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,252 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Jon Alfred Smith 541 Reputation points
    2020-08-18T00:08:47.08+00:00

    This is supposed to work.
    SCCM PXE Responder and DHCP
    http://gerryhampsoncm.blogspot.com/2019/01/sccm-pxe-responder-and-dhcp.html

    0 comments No comments

  2. Simon Ren-MSFT 30,506 Reputation points Microsoft Vendor
    2020-08-18T06:37:40.79+00:00

    Hi,

    When DHCP and WDS (PXE-enabled DP) are co-hosted on the same computer, WDS requires a special configuration so that it can listen on a specific port. This configuration is outlined in Windows Deployment Service and Dynamic Host Configuration Protocol (DHCP). Notice that, according to this article, you must complete the following actions if WDS and DHCP are co-hosted on the same server:

    Set the UseDHCPPorts value to 0 in the following registry location:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WDSServer\Providers\WDSPXE
    Run the following WDS command:
    WDSUTIL /Set-Server /UseDHCPPorts:No /DHCPOption60:Yes

    This recommendation requires that you configure WDS in order to run the WDSUTIL command. This recommendation conflicts with the best practice not to configure WDS when you install a ConfigMgr PXE-enabled DP. However, you can configure the two settings that are specified in the WDSUTIL command (UseDHCPPorts and DHCPOption60) by using alternative methods that don't require the WDSUTIL command.

    For more information, please refer to: Special consideration when co-hosting DHCP and WDS on the same server

    Thanks for your time.

    Best regards,
    Simon