Solved

Lync 2013 DHCPUtil

Posted on 2013-12-10
5
1,793 Views
Last Modified: 2013-12-11
Dear Experts
when i try to configure DHCPUtil for Lync 2013 everything goes ok but when i do emulate it will fail like below



C:\>Run the DHCPUtil.exe -SipServer: CSH-Lync2013.csh.com.sa -WebServer CSH-Lync
2013.csh.com.sa -RunConfigScript
'Run' is not recognized as an internal or external command,
operable program or batch file.

C:\>DHCPUtil.exe -SipServer: CSH-Lync2013.csh.com.sa -WebServer CSH-Lync2013.csh
.com.sa -RunConfigScript
SIP Server FQDN : CSH-Lync2013.csh.com.sa
Certificate Provisioning Service URL : https://CSH-Lync2013.csh.com.sa:443/CertP
rov/CertProvisioningService.svc

Option 120:
000C4353482D4C796E63323031330363736803636F6D02736100

Vendor Class Identifier: MS-UC-Client
Option 43 (for vendor=MS-UC-Client):
        Full Option 43 value (Length: 180) : 010C4D532D55432D436C69656E740205687
474707303174353482D4C796E63323031332E6373682E636F6D2E7361040334343305252F4365727
450726F762F4365727450726F766973696F6E696E67536572766963652E737663
        sub-option 1 <UC Identifier>: 4D532D55432D436C69656E74
        sub-option 2 <URL Scheme>: 6874747073
        sub-option 3 <Web Server FQDN>: 4353482D4C796E63323031332E6373682E636F6D
2E7361
        sub-option 4 <Port>: 343433
        sub-option 5 <Relative Path for Cert Prov>: 2F4365727450726F762F43657274
50726F766973696F6E696E67536572766963652E737663
Executing command:
"C:\DHCPConfigScript.bat" Configure MS-UC-Client 000C4353482D4C796E6332303133036
3736803636F6D02736100 4D532D55432D436C69656E74 6874747073 4353482D4C796E63323031
332E6373682E636F6D2E7361 343433 2F4365727450726F762F4365727450726F766973696F6E69
6E67536572766963652E737663

C:\>DHCPConfigScript.bat Configure MS-UC-Client 000C4353482D4C796E63323031330363
736803636F6D02736100 4D532D55432D436C69656E74 6874747073 4353482D4C796E633230313
32E6373682E636F6D2E7361 343433 2F4365727450726F762F4365727450726F766973696F6E696
E67536572766963652E737663

C:\>netsh dhcp server delete optionvalue 120

Command completed successfully.

C:\>netsh dhcp server delete optiondef 120

Command completed successfully.

C:\>netsh dhcp server delete class MSUCClient

Command completed successfully.

C:\>if /I Configure EQU Cleanup goto :EOF

C:\>netsh dhcp server add optiondef 120 UCSipServer Binary 0 comment="Sip Server
 Fqdn"

Command completed successfully.

C:\>netsh dhcp server set optionvalue 120 Binary 000C4353482D4C796E6332303133036
3736803636F6D02736100

Command completed successfully.

C:\>netsh dhcp server add class MSUCClient "UC Vendor Class Id" "MS-UC-Client" 1


Command completed successfully.

C:\>netsh dhcp server add optiondef 1 UCIdentifier Binary 0 Vendor=MSUCClient co
mment="UC Identifier"

Command completed successfully.

C:\>netsh dhcp server set optionvalue 1 Binary vendor=MSUCClient 4D532D55432D436
C69656E74

Command completed successfully.

C:\>netsh dhcp server add optiondef 2 URLScheme Binary 0 Vendor=MSUCClient comme
nt="URL Scheme"

Command completed successfully.

C:\>netsh dhcp server set optionvalue 2 Binary vendor=MSUCClient 6874747073

Command completed successfully.

C:\>netsh dhcp server add optiondef 3 WebServerFqdn Binary 0 Vendor=MSUCClient c
omment="Web Server Fqdn"

Command completed successfully.

C:\>netsh dhcp server set optionvalue 3 Binary vendor=MSUCClient 4353482D4C796E6
3323031332E6373682E636F6D2E7361

Command completed successfully.

C:\>if not 343433 == NULL (netsh dhcp server add optiondef 4 WebServerPort Binar
y 0 Vendor=MSUCClient comment="Web Server Port" )

Command completed successfully.

C:\>if not 343433 == NULL (netsh dhcp server set optionvalue 4 Binary vendor=MSU
CClient 343433 )

Command completed successfully.

C:\>netsh dhcp server add optiondef 5 CertProvRelPath Binary 0 Vendor=MSUCClient
 comment="Cert Prov Relative Path"

Command completed successfully.

C:\>netsh dhcp server set optionvalue 5 Binary vendor=MSUCClient 2F4365727450726
F762F4365727450726F766973696F6E696E67536572766963652E737663

Command completed successfully.

C:\>DHCPUtil.exe -EmulateClient
Starting Discovery ...
Sending Packet (Size: 280, Network Adapter: 192.168.1.21, Attempt Type: Broadcas
t only)
--Begin Packet--
DHCP: INFORM                (xid=98C1F545)
DHCP: Op Code           (op)      = 1
DHCP: Hardware Type     (htype)   = 6
DHCP: Hops              (hops)    = 0
DHCP: Transaction ID    (xid)     = 2562848069
DHCP: Seconds           (secs)    = 0
DHCP: Flags             (flags)   = 0000
DHCP: Client IP Address (ciaddr)  = 192.168.1.21
DHCP: Your IP Address   (yiaddr)  = 0.0.0.0
DHCP: Server IP Address (siaddr)  = 0.0.0.0
DHCP: Relay IP Address  (giaddr)  = 0.0.0.0
DHCP: Client HW Address (chaddr)  = 001A6B65C903
DHCP: Server Host Name  (sname)   =
DHCP: Boot File Name    (file)    =
DHCP: Magic Cookie                = 99.130.83.99
DHCP: Option Field
    DHCP: DHCP MESSAGE TYPE(  53) = (Length: 1) DHCP INFORM
    DHCP: Server Identifier(  54) = (Length: 0) 0.0.0.0
    DHCP: Client Identifier(  61) = (Length: 7) ¿ (01001A6B65C903)
    DHCP: SIP Server( 120)        = (Length: 0) enc:0  ()
    DHCP: Host Name(  12)         = (Length: 6) DC-SRV
    DHCP: Vendor Identifier(  60) = (Length: 12) MS-UC-Client
    DHCP: Param Req List(  55)    = (Length: 2) 120 43
    DHCP: Vendor Info(  43)       = (Length: 0)  ()
    DHCP: End of this option field
--End Packet--


Result: Failure =  1
0
Comment
Question by:csh2010
  • 3
  • 2
5 Comments
 
LVL 57

Accepted Solution

by:
Cliff Galiher earned 500 total points
ID: 39709252
You aren't trying to run the emulation *on* the DHCP server, are you? (noting that the output says the host name is DC-SRV which would be a common name for a domain controller, and DHCP is often collocated with ADDS...)

You should really run the emulation on a client PC/OS with the configuration as closely matching a real lync client as possible (firewall exceptions, etc). A properly locked down DC will of course not work as expected (even if DHCP is on another server.) And running it on the DHCP server is not going to give good results and is actually mentioned in the documentation as such.

So...yeah....based on what I'm seeing there, you might want to look into that as a start.

-Cliff
0
 
LVL 1

Author Comment

by:csh2010
ID: 39709562
ok thanks for your comment but i have one doubt that the web server name as it is the same name of front end is this make any issue?
0
 
LVL 57

Expert Comment

by:Cliff Galiher
ID: 39709679
That could cause problems, but not based on the output you posted. Right now I'm just seeing the DHCPUtil creating the discover packet, but not getting *ANY* DHCP response, just an immediate failure. Which is a bit more fundamental to DHCP than a web server vs. a front end issue.
0
 
LVL 1

Author Comment

by:csh2010
ID: 39709947
so do you suggest me to do dhcputil in other dhcp server i mean to build another dhcp server?
0
 
LVL 57

Expert Comment

by:Cliff Galiher
ID: 39709949
No, just run the test on a client, not on the server.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
Synchronize a new Active Directory domain with an existing Office 365 tenant
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question