Bypass mobile phones to different dhcp pool

Hello guys,

this is my first post in forum, I’am a newbie in Mikrotik routers but I want to learn.

I need a script to bypass a mobile phones connected to wifi network to different dhcp pool ( to get tem only to access internet ).
I want to have clean pool with company pc-s without mobilephones in same ip range.

I can’t change wifi ssid-s and put diferent for pc/mobile ) I now that this is te easiest solution),

Thanks for help.

MIkrotik can’t know which one is a phone so the easiest way is to make a virtual ap, with different ip address class and password.

I am looking for a similar solution.

Is it possible, with a script (my scripting is very bad) to check the DHCP Active Hostname for a string, say
"android* and assign it to a specific DHCP pool?

yes this is solution what I was meaning to find a phones by name android, iphone, Huawei… i now that is not 100% but will filter a lot off…

Beta 6.45

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