subclass or class not working in dhcp
Simon Hobson
dhcp1 at thehobsons.co.uk
Thu Jun 14 10:56:29 UTC 2012
Peter Rathlev wrote:
> > class "homenet" {
> > match pick-first-value (option dhcp-client-identifier, hardware);
>> }
> > subclass "homenet" 1:00:90:50:d0:9b:75;
That should probably be just "match hardware;"
> > subnet 10.10.1.0 netmask 255.255.255.0 {
>> option routers 10.10.1.1;
>> pool {
>> range 10.10.1.151 10.10.1.169;
>> allow members of "homenet";
>> deny unknown-clients;
>
>Please don't mix allow and deny. It has been revisited many times
>recently on this list.
Indeed, that is probably the issue - the client won't be a "known"
client and so will be denied.
--
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