Assign subnet's per group

Denis Laventure Denis_Laventure at
Thu Oct 22 16:12:54 UTC 2009


I think you can do it with classes :

class "NCD-BOOTER" {
        match substring(hardware,1,6);
        filename "Xncd19r";
        next-server ncd-booter;

subclass "NCD-BOOTER" 0:c0:c3:49:2b:57; # ncd1
subclass "NCD-BOOTER" 0:c0:c3:80:fc:32; # ncd4
subclass "NCD-BOOTER" 0:c0:c3:22:46:81; # ncd8

subnet {
  allow members of "NCD-BOOTER";


De : dhcp-users-bounces at [mailto:dhcp-users-bounces at] De la part de Hugo Ferreira
Envoyé : 22 octobre 2009 11:45
À : dhcp-users at
Objet : Assign subnet's per group


Wondering if i can do something like this:

Group some MAC addresses, e.g., per company department, as in man dhcpd.conf
group {
         filename "Xncd19r";
         next-server ncd-booter;

         host ncd1 { hardware ethernet 0:c0:c3:49:2b:57; }
         host ncd4 { hardware ethernet 0:c0:c3:80:fc:32; }
         host ncd8 { hardware ethernet 0:c0:c3:22:46:81; }

And then assign this group to a subnet.
Something like

subnet {
range blablabla;
allow group;
deny unknown-clients;

Can't find the right syntax for that allow group or allow from group or something like that.

1.       Is my idea possible?

2.       If so, can you help me finding the right syntax?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the dhcp-users mailing list