Cannot get classes to work - what am I missing
Ski Kacoroski
kacoroski at gmail.com
Tue May 12 15:30:19 UTC 2009
Got it working with this:
class "nsdcomputers" {
match hardware;
}
Sorry to bother folks.
ski
On Tue, 2009-05-12 at 08:10 -0700, Ski Kacoroski wrote:
> Hi,
>
> I am running 3.0.4 on debian etch. My dhcpd.conf file looks like:
>
> class "nsdcomputers" {
> match option dhcp-client-identifier;
> }
>
> subclass "nsdcomputers" 1:00:1f:5b:c4:3e:0c;
> subclass "nsdcomputers" 1:00:1f:f3:ce:30:59;
> subclass "nsdcomputers" 1:00:1f:3c:1b:64:16;
>
> subnet 10.180.191.0 netmask 255.255.255.0 {
> option subnet-mask 255.255.255.0;
> option broadcast-address 10.180.191.255;
> option routers 10.180.191.1;
> max-lease-time 28800;
> pool {
> allow members of "nsdcomputers";
> range 10.180.191.26 10.180.191.254;
> }
> }
>
> Yet all I get is the error:
>
> May 11 14:31:15 linux2 dhcpd: DHCPDISCOVER from 00:1f:5b:c4:3e:0c via
> 10.180.191.2: network 10.180.191/24: no free leases
>
> When I comment out the "allow members of..." clause it works. I have
> also tried using:
>
> host skilx {
> option dhcp-client-identifier 1:00:1f:5b:c4:3e:0c;
> add "nsdcomputers";
> }
>
> instead of subclasses and get the same error.
>
> Thanks in advance for your help.
>
> cheers,
>
> ski
>
>
--
"When we try to pick out anything by itself, we find it
connected to the entire universe" John Muir
Chris "Ski" Kacoroski, kacoroski at gmail.com, 206-501-9803
or ski98033 on most IM services
More information about the dhcp-users
mailing list