troubleshooting Question

Lync 2013 DHCPUtil

Avatar of csh2010
csh2010Flag for Saudi Arabia asked on
Chat / IMActive DirectoryMicrosoft Server OS
5 Comments1 Solution2491 ViewsLast Modified:
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
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros