Hello. I want to run PXE server in my local network and setup the router’s DHCP server to serve different files according to client’s PXE architecture string (example: EFI32 receives boot.e32, EFI64 receives boot.e64, legacy bios receives boot.bios).
Until 7.4 it was possible by creating vendor-class-id rule with custom option set.
# [admin@v7] /ip/dhcp-server/vendor-class-id> add
Creates new item with specified property values.
address-pool -- pool used for this vendor-class-id
copy-from -- Item number
disabled -- Defines whether item is ignored or used
name --
option-set --
vid -- contents of vendor-class-id as string or hex with 0x prefix
In changelog for version 7.4 we can read
dhcp-server - change "vendor-class-id" matcher to generic option matcher;
Is it possible to replicate this exact behavior on versions 7.4+? I don’t really understand how to use this new option matcher, because what I think it does is it simply allows to select a dhcp server/address pool according to dhcp client option 93 (or other option), but doesn’t allow specifying dhcp option sets to be sent back to the client.