Community discussions

MikroTik App
 
bignjato
just joined
Topic Author
Posts: 3
Joined: Tue Oct 16, 2018 1:46 pm

Bypass mobile phones to different dhcp pool

Sat Mar 16, 2019 11:09 pm

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.
 
InoX
Forum Guru
Forum Guru
Posts: 1966
Joined: Tue Jan 09, 2007 6:44 pm

Re: Bypass mobile phones to different dhcp pool

Sun Mar 17, 2019 2:21 am

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.
 
SilverNodashi
Frequent Visitor
Frequent Visitor
Posts: 77
Joined: Mon Sep 04, 2017 4:18 pm
Location: South Africa
Contact:

Re: Bypass mobile phones to different dhcp pool

Sun Mar 17, 2019 12:18 pm

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?
 
bignjato
just joined
Topic Author
Posts: 3
Joined: Tue Oct 16, 2018 1:46 pm

Re: Bypass mobile phones to different dhcp pool

Sun Mar 17, 2019 12:25 pm

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...
 
msatter
Forum Guru
Forum Guru
Posts: 2912
Joined: Tue Feb 18, 2014 12:56 am
Location: Netherlands / Nīderlande

Re: Bypass mobile phones to different dhcp pool

Sun Mar 17, 2019 12:58 pm

Beta 6.45

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

Who is online

Users browsing this forum: No registered users and 35 guests