Assign subnet's per group
Randall C Grimshaw
rgrimsha at syr.edu
Thu Oct 22 16:18:35 UTC 2009
Here is how I do this
class "CLSR" {
match pick-first-value (option dhcp-client-identifier, hardware);
}
subclass "CLSR" 1:00:01:02:03:04:05;
subclass "CLSR" 1:aa:bb:cc:dd:ee:ff;
subnet x.x.x.x netmask x.x.x.x {
pool {
failover peer "syredu";
range x.x.x.x x.x.x.x;
allow members of "CLSR";
deny dynamic bootp clients;
}
Randy
From: dhcp-users-bounces at lists.isc.org [mailto:dhcp-users-bounces at lists.isc.org] On Behalf Of Hugo Ferreira
Sent: Thursday, October 22, 2009 11:45 AM
To: dhcp-users at lists.isc.org
Subject: Assign subnet's per group
Hi
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 1.1.1.1 255.255.255.0 {
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?
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20091022/7fe3661a/attachment.html>
More information about the dhcp-users
mailing list