How to set up DHCP option 125 on windows 2008

Background:

The current DHCP Helper Application does not support Windows 2008 DHCP Server environment, to facilitate the implementation of DHCP option 125 on a Windows 2008 server, please use the following step as reference.

Implementation Method

The proposed method here uses Netsh for configuring the MITEL Option 125. The example is used for illustration purpose. Mitel is not responsible for the usage of netsh command. Please consult with Microsoft for its usage.

Step 1: Configure option 125 on your Windows 2008 DHCP Server

The following 3 screenshots demonstrate how option 125 is created.

Click OK to save the option and you should be back at the main DHCP panel.

Step 2: Load the DHCP Helper Config Application on a workstation

Please keep in mind that DHCP Helper Config application is not supported on Windows 2008.

The idea is to use DHCP Help Config Application to generate the parameters. Then we can run netsh to update the parameters on windows 2008

Select a workstation (not windows 2008 server) i.e. Windows XP Machine and run the DHCP Help Config. application.

2i> On the DHCP Helper Config. application, enter your scope specific parameters based on your network requirement.

2ii> Click on the Copy Hex Bytes to clipboard. Then paste into your netsh script as appropriate.

Step 3: On Windows 2008 Server, manually update DHCP option 125 using hex data from Step 2ii.

In our demonstration, we manually update option 125 via netsh command as follows:

C:\Users\Administrator.PROSERV>netsh

netsh>dhcp

netsh dhcp>server

netsh dhcp server>scope 172.172.173.0

##Changed the current scope context to 172.172.173.0 scope.

netsh dhcp server scope>set optionvalue 125 ENCAPSULATED 000004035D69643A697070686F6E652E6D6974656C2E636F6D3B73775F746674703D31302E372E37392E32353B63616C6C5F7372763D31302E372E37392E32353B766C616E3D3132333B6C32703D36763673333B647363703D34367634367332363B

Note:

i>The above "set optionvalue" string is continuous with no carriage returns or line feeds.

ii>The hex value 0000040…. is from DHCP Helper config (step 2ii)

iii>Microsoft does not allow cut and paste to/from the scope as indicated below