kwagga
April 3, 2013, 9:46am
1
We use Mikrotik DHCP in our company, and we’re implementing a Windows Deployment Server.
From what I gathered, we need to make use of DHCP option 60 and 67, but human-readable values are not accepted, why is this?
How would I convert a filename to hex? - as nothing I tried is working.
Correction: DHCP options 66 and 67 are the onces required.
mrz
April 3, 2013, 10:44am
2
filename.com in hex is
0x66696c656e616d652e636f6d
You can convert with any online string to hex converters
kwagga
April 3, 2013, 2:32pm
3
Awesome Thanks!
It seems I was forgetting to ad 0x to the hex string. Will test the changes momentarily.
Also for others, here is a good site for HEX convertions:
http://www.string-functions.com/string-hex.aspx
Also of note for WDS deployments:
http://technet.microsoft.com/en-us/library/c169579c-c0fc-4ec6-aa8d-0af5504fda01
For future reference the DHCP settings required are:
OPTION 66 = IP OF WDS Server
OPTION 67 = \boot\x86\wdsnbp.com
kwagga
April 14, 2013, 9:57am
5
Just an update after battling for more than a week with Mikrotik DHCP options, I opted to switch back to Microsoft DHCP Server, as we needed the WDS options to work.
Hopefully someone will one day tell of fix to this.
From my testing it seemed that Mikrotik didn’t issue option 67 correctly to the client. Will wireshark this sometime and confirm.
WDS.. i found this.
http://blog.kolbash.net/2012/08/cisco-ios-dhcp-server-supporting.html
Have you add “Next server” to your dhcp server network config ??
in cli
ip dhcp-server network set next-server=
in gui
kwagga
April 16, 2013, 9:32am
7
This worked!! You’re AWESOME! Thanks!
Great..
Glad to help and I am learning to.
janisk
April 16, 2013, 9:58am
9
you can write like this value=“‘asdf’” notice the apostophe, that will automatically convert text to hex value. Ip addresses you will still have to convert each octet to hex value like 10.10.0.10 would become 0a0a000a
the result you can allways check with raw value field that is read only.
janisk:
you can write like this value=“‘asdf’” notice the apostophe, that will automatically convert text to hex value. Ip addresses you will still have to convert each octet to hex value like 10.10.0.10 would become 0a0a000a
the result you can allways check with raw value field that is read only.
I am getting “ERROR: Internal Server Error” in gui when adding.
But in cli it’s working.
ip dhcp-server option add code=1 value="'ABC'0x10" name=test
I have a question in this in the forum.. now with some success, see that i can add in cli not in gui(web with chrome)
http://forum.mikrotik.com/t/dhcp-options-solved/63431/1
My problem ??
I using WebFig v6.0rc13 on Chrome.
Board Name RB750GL
Version 6.0rc13