DHCP condition (if ... else)

I recently moved from a linux router to Mikrotik - model RB750GL.
Everything works pretty fine, I am amazed by the features of the little box!

However I have one thing I did not manage to configure on RouterOS. It is condition in DHCP config.
I had following configuration on ISC DHCP Server on linux:

host cube {  hardware ethernet 30:85:ff:ff:ff:ff;
  fixed-address 192.168.0.10;
  next-server 192.168.0.250;
 if exists user-class and option user-class = "iPXE" {
      filename "";
      option root-path "iscsi:192.168.0.250::::iqn.2003-08.net.domain.gw:vFile1";
  } else {
      filename "undionly.kpxe";
  }
}

This config provides one PXE image at first netboot-try, and after netbooting this image, DHCP serves again, but with another config parameter. I used this to boot from iSCSI.

Any ideas how to get this working on RouterOS?

I am using RouterOS version 5.16, RB750GL with firmware 2.38.

Nobody knows?

I searched a bit, will it be possible to run MetaRouter on RB750GL (http://forum.mikrotik.com/t/installing-isc-dhcpd-on-the-mt-provided-metarouter-image/50595/1) and install ISC DHCP server (which supports conditions in config) there?


actually, there is other way to solve my issue (multiple boot images)… (http://ipxe.org/howto/chainloading) however I would like to stick with the dhcp way.

Sorry for bump, but did you manage to solve this by mikrotik DHCP server?

Hi, I did not. MetaRouter seemed to me like an overkill.
You have the same scenario to resolve?