Hello!
I don't really understand how to properly configure the DHCP server on the CRS328-24P (RouterOS v.7.22.2) so that it issues information via option 43 after receiving a specific Vendor class Identifier in option 60.
There is a telephone that reports the following information in option 60: "Satel T13P".
I need the response to be a line like tftp://10.99.80.254/test$mac.cfg in option 43.
As was explained to me earlier here regarding the combination of options 60 and 43, I made a separate pool of addresses and assign them to it through the option mapper
The phone gets the correct address from this pool
But it is not sent option 43 in DHCP Discover and DHCP Ack messages.
And as I understand it, this does not happen, because in the list of options 55, from the phone, there is no option 43.
But it will never be there!!!
Option 43 is essentially a response to option 60.
Below are a few configuration lines regarding this:
/ip pool add comment="Pool for LabNetVlan10 with addresses from 10.99.80.128 to 10.99.80.191, and then from 10.99.80.64 to 10.99.80.127" name=LabNetVlan10 ranges=10.99.80.128/26,10.99.80.64/26
/ip pool add comment="Pool for LabNetVlan10 with addresses from 10.99.80.192 to 10.99.80.207" name=LabNetVlan10_pool2 ranges=10.99.80.192/28
/ip dhcp-server add address-pool=LabNetVlan10 interface=Vlan10_Leonov lease-time=10m name=dhcp_LabNetVlan10
/ip dhcp-server network add address=10.99.80.64/26 comment="for Ip-Phones LabNetVlan10 (VLAN 10); pool LabNetVlan10" dns-server=192.168.1.243,192.168.1.244 gateway=10.99.80.1 netmask=24 ntp-server=192.168.1.244
/ip dhcp-server network add address=10.99.80.128/26 comment="for Ip-Phones LabNetVlan10 (VLAN 10); pool LabNetVlan10" dns-server=192.168.1.243,192.168.1.244 gateway=10.99.80.1 netmask=24 ntp-server=192.168.1.244
/ip dhcp-server network add address=10.99.80.192/28 comment="for Ip-Phones LabNetVlan10 (VLAN 10); pool LabNetVlan10_pool2" dhcp-option-set="OptionSet_005_For Option 60 with Satel T13P" dns-server=192.168.1.243,192.168.1.244 gateway=10.99.80.1 netmask=24 ntp-server=192.168.1.244
/ip dhcp-server option add code=43 name="option43_SatelT13P_10.99.80.254_test$mac.cfg" value="s'tftp://10.99.80.254/test$mac.cfg'"
/ip dhcp-server option sets add name="OptionSet_005_For Option 60 with Satel T13P" options="option43_SatelT13P_10.99.80.254_test$mac.cfg"
/ip dhcp-server matcher add address-pool=LabNetVlan10_pool2 code=60 matching-type=exact name="Satel T13P" server=dhcp_LabNetVlan10 value="Satel T13P"