Putting iPads in their own IP pool?

Alan Buxey A.L.M.Buxey at lboro.ac.uk
Fri Oct 8 19:01:17 UTC 2010


Hi,
> Mirek Lauš wrote:
> > Dave Brenner wrote:
> > > Try...
> > > class "ipad" {
> > >   match if ((substring(hardware,1,3) = c8:bc:c8) or
> > >             (substring(hardware,1,3) = d8:a2:5e));
> > > }
> 
> Ooo!  Good!
> 
> > better:
> > class "ipad" {
> >  match substring(hardware,1,3);
> > }
> > subclass "ipad" c8:bc:c8;
> > subclass "ipad" d8:a2:5e;
> > add as many subclass members as you want.

chasing MAC addresses can lead to ongoing pain - we used to do similar for
eg cisco APs - can you not use the vendor class identifier for these?
(do they always appear as a particular model?)

eg

class "device" {
  match option vendor-class-identifier;
}

subclass "device" "iPad" {
}

?

alan



More information about the dhcp-users mailing list