Use Pool for BOOTP only
Simon Hobson
dhcp1 at thehobsons.co.uk
Wed Aug 22 09:35:07 UTC 2012
Thomas Herrmann wrote:
>The solution in this thread [1] seems to be exactly what I need, but
>unfortunately, it does not work:
>
>Aug 21 16:29:15 routersrv1 dhcpd: BOOTREQUEST from 00:0c:29:33:38:b2 via
>eth0.1: BOOTP from dynamic client and no dynamic leases
That would be because although the code snippet allows members of
that class, dynamic-bootp clients aren't allowed. Just adding "allow
dynamic bootp clients" as well as the "allow members of ..." might be
enough, otherwise you might try something like this (derived from the
example you provide a link to) :
What might work is :
class "dhcp" {
match if exists dhcp-message-type;
}
subnet 192.168.1.255 netmask 255.255.255.0 {
pool {
# BOOTP clients only
allow dynamic bootp clients;
deny members of "dhcp";
range 192.168.1.2 192.168.1.100;
}
}
--
Simon Hobson
Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.
More information about the dhcp-users
mailing list