Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding Option 125 data in scope problem

Status
Not open for further replies.

Devolution

Programmer
Jun 6, 2005
189
GB
Hi Guys,

We have been trying to use the Mitel DHCP configuration tool to get the correct info in option 125 on a windows 2003 server. It's not working at all. After following the instructions and trying to open up the tool has problems populating the scope list as there are about 120 different scopes programmed up on the server.
We have also tried typing the required info into the tool to generate the hex and ascii string, then copy/pasting into the scope option 125 but it does not accept it.

Is there another way of getting this done?

Cheers.
 
Background: The Purpose of this document is to help you configure option 125 on Windows 2003 DHCP Server with proper 125 Vendor ID using the “DHCP Option 125 Config Helper” tool. Currently there is a bug in this tool that would prevent it from updating a scope specific option 125. However, the workaround; which is what this document will show you, is to create a global scope 125 option and then copy and paste the values into a scope specific option 125.

Step 1: From the 3300 Software Download section on Mitel-On-Line (MOL), download and copy the Config Helper tool to the Windows 2003 DHCP Server. (You must run the tool directly on the Windows 2003 DHCP Server)

Step 2: From the Windows 2003 desktop, launch DHCP Server administrative interface by selecting Start->Programs->Administrative Tools->DHCP.

Step 3: Create option 125:

A) From the DHCP Tree window, right click on the DHCP server you wish to configure with option 125.
B) Select “Set Predefined Options…”

C) Set the “Option Class” to “DHCP Standard Options

D) Click the “Add” button located under the “Option Name”. Enter “Mitel 125” in the Name field, select “Encapsulated” as the “Data Type”, enter “125” as the “Code”, and enter “Option 125 for Mitel” in the Description field. When completed click on OK

E) Select “Edit Array” from the “Predefined Options And Values” window, and click “Remove” to clear the contents of the “Current values:” Enter the Vendor Specific Identifier that corresponds to Mitel Corporation (00 00 04 03) by clicking in the “New Value” text box and entering 3, then click “Add”. Click in the “New Value” text box and enter 4, then click “Add”. Click in the “New Value” text box and enter 0, then click “Add”. Click in the “New Value” text box and enter 0, then click “Add”.

F) Click “OK” to close the “Numeric Value Array Editor” window.
G) Click OK to close the “Predefined Options and Values” window.


Step 4: Click on the DHCP Server Global scope “Server Options”, if there are any existing 125 options containing the name from step 3E, right-click on the name and select “Delete” to remove the option.

Step 5: Select the desired scope to contain the new 125 option, once the proper scope is selected, right-click in the “Scope Options” pane and select “Configure Options”. Scroll through the available options and select “125 Mitel 125” (the Predefined Option created in step 3 above).

Click on Apply and Ok

Option 125 should appear under the Scope Options (In this example, I am using the scope for the subnet ID 172.16.10.0 Steve Lab Scope)

Step 6: Run the Config Helper tool by clicking on executable (dhcpopt.exe). Click “OK” to acknowledge the startup of the tool (At the time of writing this KBA, we are using version 1.0.8 of this tool)

Step 7: Leave the Scope option at the default value “Global”. Fill in the required information into the DHCP option 125 Config Helper. These fields are identical to the configuration of option 125 on the Mitel 3300 ICP internal DHCP server.

Step 8: Once the required information has been entered, select the “Update Display” option from the top of the DHCP Configuration Assistant to refresh the tool’s display.

Step 9: Now Click on Update DHCP Server, if you get a “Script Failed” error message click on OK and ignore this message.

Step 11: Go back to the DHCP Administrative window and click on the Global scope “Server Options”, you may need to refresh this page to display the new global option 125

Step 12: Double click on the new Global Option 125, highlight the entire Binary and ASCII values and copy the values using (Ctrl + C) on the PC keyboard. Click OK

Step 13: Select the desired scope specified in step 5 above which contains the new 125 option, once the proper scope is selected, double click on option 125. At this point you need to paste the Binary and ASCII values copied from the global 125 option in step 12 above. Highlight the existing Binary and ASCII values, and then use (Ctrl + V) on the keyboard to paste the new values. The old values (00 00 04 03 . . . .) will be overwritten by the new values, click Apply and OK.

Step 14: Finally, click on the DHCP Server Global scope “Server Options” and delete the existing global 125 option. Right-click on option 125 and select “Delete” to remove the option. This final step will insure that option 125 is a scope specific option only and not a global option
 
In addition to said above you can try to configure option 43 in similar way as alternative should this great manual fail.
 
Thanks for your response. The manual you have cut/paste is the one I'm following. Everything works fine until I open up the mitel dhcp tool. It comes up with 3 errors regarding the qryscope.cap file which I think it is trying to populate with all the scopes on the dhcp server. It fails and as a result I don't get the option on the toolbar to Update Dhcp server.
I can add all the data in maually and get the required hex and ascii info but after selecting copy to clipboard it does not let me paste in the option 125 screen.
 
I once change the hex and ascii info by hand to match the option 125
It is a bit work but it works for sure




ACS - Implement IP Office
ACA - Implement IP Telephony -- ACA - Design IP Telephony
ACA - Voice Services Management
______________
Women and cats can do as they please and men and dogs should relax and get used to the idea!
 
Hi tlpeter,

How did you type it by hand,I cannot seem to find an area to put the ascii code in along with the hex data?

Cheers.
 
The document DHCP config helper is the doc i used to do it
At smoe moment you need to enter it manualy instead of copy the ascii

The binary part is the part you need to do by hand
It is not that hard but takes some time



ACS - Implement IP Office
ACA - Implement IP Telephony -- ACA - Design IP Telephony
ACA - Voice Services Management
______________
Women and cats can do as they please and men and dogs should relax and get used to the idea!
 
Ok, I have right clicked on the dhcp server and chosen "set predefined options" and scrolled down and selected "125 Mitel 125" and clicked "edit array".

It give me an option to add either decimal or hex data, not ascii. I presume I can add the hex data produced by the mitel dhcp tool by entering it 0x3B for example? That bit I can do, but its getting the ascii string in there as well.

Any ideas?
 
These are the 3 errors I get when trying to open the Mitel dhcp tool:

1. File C:documen~1\sysadmin\locals~1\1\qryscopes.cap exists=true

click ok,

2. max_waits = 10, size= 17243

click ok

3. Error 9 (subscript out of range) in procedure getscopeslist of form shcp_options_frm

It then opens the tool without the Read DHCP server or Update DHCP server buttons on the toolbar.
 
Have you tried the previous suggestion of using Option 43 instead of 125? I've had similar issues on Win2k3 and this took care of my problems.
 
I have managed to solve it. It was annoying simple after all that. Within the Option 125 window where it displays the Hex and Ascii data you can type in the ascii part after the "....", making sure to type in the string as the mitel tool displays it. As you type that in, it auto-creates the Hex data and all is good.
The Mitel tool never worked properly, it would not cut/paste as instructed and the missing "update server" buttons never appeared.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top