how to group by same beginning mac ?

Simon Hobson dhcp1 at thehobsons.co.uk
Tue Jun 9 18:53:13 UTC 2009


Stéven Le Bras wrote:

>I'm looking for how to create a group with all 
>clients that have the same beginning of their 
>mac address ( the same 3 first numbers ), but 
>without enter each mac address in the 
>configuration file. I didn't see anything about 
>this so is it a way to do it ?

Something like "substr (hardware,1,3)" I think. 
Check "man dhcp-eval" for details.

-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.



More information about the dhcp-users mailing list