[DHCP server] Define custom vendor class?

Hello,

I would like to create a custom vendor class on the MikroTik DHCP server, before setting those options. (I know http://wiki.mikrotik.com/wiki/Manual:IP/DHCP_Server#DHCP_Options).
So what would I like to do: Provisioning OpenStage phones: http://wiki.unify.com/wiki/Configuring_the_DHCP_Server_for_DLS
It would be great if someone could give me an example

So let´s look at a Windows server´s DHCP settings:

http://wiki.unify.com/images/7/7b/step3.jpg




Finally set the options:

Hi@all,

I do have the same problem with my RouterOS V6.41.3 and DHCP Options for IP-Phones.

Does anybody know how to setup vendor class assignment options?

Cheers

Found some interesting link: http://www.binaryheartbeat.net/2015/05/mikrotik-dhcp-option-43-tutorial.html

But this is not filtering the vendor and it’s only one option…

Mikrotik doesn’t support “vendor specific option filtering” at this time but they have it on their ToDo list… so someday It’ll be available.

need this feature not only in enterprise env, but in WISP too

I dont understand the need for vendor class, in what use cases is it useful?

it is small improvement that can do great things;)
many of people shy to ask such stuff (because guys like for ex), so - i’m not ))
i can create some workaround to close this case, but this is another one VM\linuxBox\whatever and one more point of failure..
for example it usefull for zero-touch provisioning in WISP, if we have MT at base station with dhcp-server and CPE’s like Cambium ePMP Force180.
btw, users asks for LLDP for years here on forum, now we have it. waiting for lldp-med xD

*) dhcpv4-server - added “vendor-class-id” matcher (CLI only);

hmmmm :slight_smile:

dear all,

any idea how to use this features ?

thank you in advance

Paul

I need this features to separate who able uefi network boot and who not (only legacy).

RouterOS 7 adds DHCP Options to Vendor-Classes. You can use this to define option-sets for the UEFI class and for the BIOS class to boot different files.

What's new in 7.0beta4 (2019-Dec-06 13:21):

!) included all features and fixes from 6.46 version;
!) implemented completely new User Manager package;
*) dhcpv4-server - added "option-set" parameter for each "vendor-class-id";
*) dhcpv4-server - added "radius-password' parameter under "config" menu;
*) dhcpv6-client - allow reading passed options in script;
*) dhcpv6-relay - include client's Link-Layer address in option 79;
*) interface - improved support for Intel, Mellanox and other generic network cards;
*) ipsec - fixed action=none policies;
*) ipv6 - added "disable-ipv6" parameter;
*) lte - added support for Quectel EC25-E;
*) lte - added support for Sierra Wireless MC7304;
*) lte - improved system stability when resetting modem;
*) package - fixed USB and CD-ROM installs;
*) ssh - improved key exchange algorithm support;
*) system - fixed port duplication on each system reboot;

i’d like use wildcard ’ * ’ in VENDOR CLASS ID