Posted in Lync Server 2010, Lync Server 2013, Polycom, Skype for Business

Setting up DHCP Server Options for Lync Phone Devices

This guide will set the DHCP options using DHCPUtil.exe command to support Lync Phone Devices and other Lync related UC devices. Options include 1, 2, 3, 4, 5, 6, 15, 42, 119 and 120. Copy below files from Lync server C:\Program Files\Common Files\Microsoft Lync Server 2013

  • DHCPConfigScript.bat
  • DHCPUtil.exe
  1. Setting of Time Server and NTP Server
    • Go to DHCP Scope Options -> Configure Options
    • Set Option 4 Time Server
    • Set Option 42 NTP Server

Note: The time server should be the PDC emulator and the NTP server is found by w32tm /query /configuration

  1. Setting of DHCP option 119
    • R-click the IPV4 -> Set Predefined Options
    • Click Add button
    • Enter below details:
      • DNS search
    • Click OK.
    • Option 119 should now be available from Configure Options list
    • Go to DHCP Scope Options -> Configure Options
    • Type contoso.com;contoso.local;contoso.com.sg at the String value section
      • DNS search 2
  2. For DHCP Server 64-bit
    • Copy the files (DHCPConfigScript.bat and DHCPUtil.exe) to temp location in DHCP server like e.g.  C:\DHCPFolder
    • Run from windows command shell as Administrator in DHCP server:
      • C:\DHCPFolder>DHCPUtil.exe -SipServer Lyncpool.contoso.local –WebServer Lyncpool.contoso.local –RunConfigScript
  3. For DHCP Server 32-bit
    • DHCPUtil.exe will not work with 32-bit server. So we have to run the DHCPUtil.exe command from Lync Server or any 64-bit server and paste the result to DHCP server.
      • Copy the file (DHCPUtil.exe) to temp location in Lync server like e.g.  C:\LyncFolder
      • Copy the file (DHCPConfigScript.bat) to temp location in DHCP server like e.g.  C:\DHCPFolder
      • Run from windows command shell as Administrator in Lync server:
        • C:\LyncFolder>DHCPUtil.exe -SipServer Lyncpool.contoso.local –WebServer Lyncpool.contoso.local
      • Output looks like:
      • dhcp 32-bit
      • Copy the output above from .\DHCPConfigScript.bat …..up to …37663, make sure copy as it is without deleting or adding spaces (I suggest to copy it first to notepad).
      • On the 32-bit DHCP server, run the command like below:
        • C:\DHCPFolder>DHCPConfigScript.bat Configure MS-UC-Client 0000….up to 7663
  4. Both 64 bit and 32 bit will have a result of additional options from the DHCP server like below.
    • DHCP options

Hope it helps!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s