Community discussions

MikroTik App
 
rebel2234
newbie
Topic Author
Posts: 44
Joined: Sat May 20, 2006 6:23 am

DHCP Server - Any way to hand IP's out based on MAC address

Tue May 21, 2013 1:27 am

Is there any way in RouterOS to give clients ip addresses based on their MAC address using wildcards.

For example:

Pool_1 - 10.1.1.0/24
Pool_2 - 10.254.254.0/24

00:01:02:**:**:** - from Pool_1

All others from Pool_2

I found a post from 2009 that mentioned it but at that time was not possible other than using radius. A "filter" tab under DHCP server where you could set rules as such would be nice.
 
User avatar
joshaven
Member
Member
Posts: 438
Joined: Fri May 06, 2011 1:50 am
Location: USA
Contact:

Re: DHCP Server - Any way to hand IP's out based on MAC addr

Tue May 21, 2013 4:21 am

Can you seporate the DHCP networks by using vlans? If all of one Macs of one type are coming from one device like one AP then you probably could tag everything from that device.

If not then maybe you could get creative with bridges and bridge filters. At any rate I would bet that the trick will be seporating the layer2 networks by Mac not filtering the DHCP service.
 
ttanner
just joined
Posts: 4
Joined: Thu Jul 25, 2013 6:46 pm

Re: DHCP Server - Any way to hand IP's out based on MAC addr

Mon Aug 18, 2014 11:31 pm

This is something I need as well, and it would be really nice if RouterOS supported it. ISC does it via match lists very easily but I shouldn't have to run a physical box on-site when we have routers that should have the capability.