Creating an IP pool for a limited set of MAC addresses with class declaration

Shawn Routhier sar at isc.org
Thu Mar 27 16:37:34 UTC 2014


On Mar 27, 2014, at 9:21 AM, Arun Khan wrote:

> For a bunch of BYOD devices (20-30), I want to give them IP number
> from a specific subnet.
> 
> Am I on the right track with the following snippet in the dhcpd.conf?
> 
> class "byod" {
> 
>   match if  (hardware ethernet aa:bb:cc:dd:ee:ff;);
>   #.... list of the remainder ethernet addresses
> 
> }
> 
> Thanks,
> -- Arun Khan
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users

You may want to look into using the subclass construct.
You would have your class byod and then define a number of subclasses
for it one for each mac address.




More information about the dhcp-users mailing list