?
Solved

Lync 2013 DHCPUtil

Posted on 2013-12-10
5
Medium Priority
?
1,922 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 59

Accepted Solution

by:
Cliff Galiher earned 1500 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 59

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 59

Expert Comment

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

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
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 …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Suggested Courses

800 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