DHCP server configuration does not work for all clients

Jim Yang zy33 at cornell.edu
Thu Oct 8 20:55:11 UTC 2020


Hi Niall,

Thank you for your reply.
class “mytest” {
          match option dhcp-client-identifier;
}




It seems that I should change the class definition to match either option dhcp-client-identifier or hardware.


class “mytest” {

            match pick-first-value (option dhcp-client-identifier, hardware);
}


Thanks,
Jim


From: dhcp-users <dhcp-users-bounces at lists.isc.org> on behalf of Niall O'Reilly <niall.oreilly at ucd.ie>
Reply-To: Users of ISC DHCP <dhcp-users at lists.isc.org>
Date: Thursday, October 8, 2020 at 3:46 PM
To: Users of ISC DHCP <dhcp-users at lists.isc.org>
Subject: Re: DHCP server configuration does not work for all clients


On 8 Oct 2020, at 20:25, Jim Yang wrote:

Is this a DHCP sever software bug or something else?

Whenever I’ve been surprised by behaviour like this,
it’s been due to a subtle bug in my configuration,
and never to a server software bug.

You show us

subclass "mytest" 1:74:A7:11:22:33:44;

but I can’t see your definition for

class “mytest” { … }

so can’t tell what the value in your subclass
statement is being matched against.

It’s been a while since I’ve needed to configure and run an ISC DHCP server,
so I had to check the relevant section of the documentation:
https://kb.isc.org/docs/en/isc-dhcp-44-manual-pages-dhcpdconf#SUBCLASSES

/Niall
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20201008/15a17b72/attachment-0001.htm>


More information about the dhcp-users mailing list