Hi,
i have a /22 private network and I want to run one DHCP server able to chose the correct pool for each lease depending on the mac address of the devices in lan.
I mean, e.g. :
192.168.8.0/22 where I'm going to use the .8 as videosurveillance lan, .10 as network (router, wifi APs, switches..) .11 for wifi devices (smart devices, notebook, iPad..), .9 for domotic stuff.
I have families of mac addresses (e.g. B4-4C-3B is Dahua) that I want link to the correct pool.
I know that many vendors gots a lot of pools (just look ad HP..) but forget it, I have a few narrow brands in mind and generic stuff will just receive a lease from the .11 pool.
What I need is to have a sequential filter able to compare first six numbers of mac address chosing the correct pool or, when not matching, the last generic one.
Thanks in advance..
e.