Selecting fixed or dynamic address based on vendor-class-identifier

Peter Rathlev peter at
Mon Oct 21 19:31:59 UTC 2013

On Mon, 2013-10-21 at 17:06 +0200, Anders Blomdell wrote:
> I would like the ISC dhcpd server to hand out either a dynamic ip
> address or a fixed address based on the vendor-class-identifier (I
> want a dynamic address from one subnet during pxeboots and a
> [possibly] fixed address from another subnet otherwise).

Maybe you could do it by using "deny known-clients" in the pool and
removing "ignore booting" from the host declaration. Something like

  subnet netmask {
    pool {
      allow members of "pxeclient";
      deny known-clients;

  host boottest {
    hardware ethernet 02:13:10:07:11:58;

It passes a syntax check, though I haven't actually tested it.


More information about the dhcp-users mailing list