Hi,
Could someone in Mikrotik confirm if this is a bug or not. I have only seen this issue on latest ROS 6.18.
When I upgraded to 6.18 and started testing the DHCP option function. I use Option 43 on lots of sites (over 50) and it always works pretty well.
I have been / in the past entering it like this on
ROS 6.1
/ip dhcp-server option add code=43 name=option43 value="'172.17.30.253'"
Correct Result:
/ip dhcp-server option> print
# NAME CODE VALUE RAW-VALUE
0 option43 43 '172.17.30.253'
3137322e31372e33302e323533
However on
ROS 6.18 when I use the same command
/ip dhcp-server option add code=43 name=option43 value="'172.17.30.253'"
Incorrect Result:
/ip dhcp-server option> print
# NAME CODE VALUE RAW-VALUE
0 option43 43 '172.17.30.253'
ac111efd
Obviously there is a difference in HEX values
3137322e31372e33302e323533 and
ac111efd
My option 43 did not work as a result.
Fix: I entered the string value that I wanted as HEX using this website
http://chxo.com/scripts/hex2string.php
/ip dhcp-server option add code=43 name=option43 value=0x3137322e31372e33302e323533
It Works
/ip dhcp-server option> print
# NAME CODE VALUE RAW-VALUE
0 option43 43
0x3137322e31372e33302e323533 3137322e31372e33302e323533