dhcp options

Hi I try to work with dhcp options for voip phones. I added this :

/ip dhcp-server
add address-pool=VoipDhcpPool authoritative=after-2sec-delay bootp-support=static disabled=no interface=bridge-local lease-time=4h name=VoipDhcpServer
/ip dhcp-server option
add code=242 name=Avaya-16xx value=“0x4c3251313d012c4c3251564c [snip] d00”
/ip dhcp-server config
set store-leases-disk=5m
/ip dhcp-server network
add address=192.168.100.0/24 comment=“default configuration” dhcp-option=Avaya-16xx dns-server=“” gateway=192.168.100.254 ntp-server=“” wins-server=“”


but wireshark does not show the option being offered. Then i tried addind option 122 and some ascii text. Also not visible in whireshark. Then i alterd the subnetmask in the dhcp offer, that did show op. So, it’s just my options that don’t show up :frowning:

Any advice ??

PS: i’m using RB951Ui-2HnD running Rls 5.x

in the meanwhile … i tried it on another RB, running rls 6
I tried it just simple … but no option shows up in Wireshark.

/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge-local lease-time=4h name=default
/ip dhcp-server option
add code=242 name=“Avaya 242” value=0x0c
/ip dhcp-server option sets
add name=Avaya options=“Overload,Avaya 176,Avaya 242”
/ip dhcp-server lease
add address=192.168.107.100 mac-address=00:02:A5:C1:4D:62 server=default
/ip dhcp-server network
add address=192.168.107.0/24 comment=“default configuration” dhcp-option=“Avaya 242”


Does anyone have DHCP options in use with success ?? if so, pleas post an export.
Thnx

and the answer is … the client must ask for the option during the dhcp process.

so in the regitery under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dhcp\Parameters\Options

one has to create an subfiolder 242 with the right content

then the pc asks for is and the RB will provide it

See this post

http://forum.mikrotik.com/t/please-help-with-dhcp-server-options-for-mitel-ip-phones/66116/1