Setting Up DHCP Server Options Manually for Lync 2010/2013 Phones
Lync Phone Edition requires a number of DHCP options to allow the phones to “find their way home” to the pool and sign in. The setup is the same for 2010 and 2013.
The Options required are:
- Option 42: NTP Server
- Option 43: Certificate Service Provisioning URL
- Option 120: SIP Server
These can be worked out and setup on a DHCP server via an exe and a .bat file Tom Pacyk has a good post on the automatic deployment route here and Jeff Schertz has lots of detail on the options here
The bat file route works great, but often you’ll find Admins understandably nervous when you hand then an .exe .bat to run on their DHCP server (and the exe relies on Visual C++ Redistributable) , but fear not, you can setup all the options manually.
I’m doing this for Lync 2013 with Server 2012, but the steps for Lync 2010 and 2003/2008/R2 DHCP servers are similar.
DHCPUtil is at C:\Program Files\Common Files\Microsoft Lync Server 2013
The following command will generate the input values we need
DHCPUtil.exe -SipServer lonlyncpool01.lab1.com –WebServer lonlyncpool01webint.lab1.com
Scope before Options are set
First We’ll point to an NTP Server
Server Options/Configure Options
NTP Server added
The other options require
• Option 43: Certificate Service Provisioning URL
• Option 120: SIP Server
First we define a new vendor class.
Click Add and type the following, you need to Type the ASCII part, that will generate the Binary. Check your numbers match for typo’s.
We can see all these options in place
Back in Predefined Options, Choose DHCP Standard Options, Add…
Server Options/ Configure Options
Tick each option and add the info generated in DHCPUtil
Note if you make a typo you have to delete the whole field and retype it, you can’t edit “mid string”. Also watch out for the initial “.” that starts the ASCII string, you ‘ll need to delete that.
And Under Server Options, DHCP Standard Options, choose 120 UCSipServer and
DNs Search List
Jeff also recommends adding the 004 Time Server value (and be sure to enter your time server in DNS records as per the article)
You should have the following server options
and scope options
You can test if your DHCP config is correct from a machine that would hit that DHCP server and DHCPUtil.exe -emulateclient
It will send a broadcast out
and should get a response with the options and success
Test-CsPhoneBootStrap is also a useful test
If you are hitting any issues double check your input for typo’s, it’s really easy to have an single character error, or even “.” that will stop the options working