<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFCC">
    <br>
    <div class="moz-cite-prefix">On 21/10/13 21.31, Peter Rathlev wrote:<br>
    </div>
    <blockquote
      cite="mid:1382383919.17094.11.camel@abehat.dyn.net.rm.dk"
      type="cite">
      <pre wrap="">On Mon, 2013-10-21 at 17:06 +0200, Anders Blomdell wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">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).
</pre>
      </blockquote>
      <pre wrap="">
Maybe you could do it by using "deny known-clients" in the pool and
removing "ignore booting" from the host declaration. Something like
this:

  subnet 192.168.254.0 netmask 255.255.255.0 {
    pool {
      allow members of "pxeclient";
      deny known-clients;
      range 192.168.254.100 192.168.254.109;
    }
  }

  host boottest {
    hardware ethernet 02:13:10:07:11:58;
    fixed-address 192.168.255.12;
  }

It passes a syntax check, though I haven't actually tested it.</pre>
    </blockquote>
    Probably you need a subnet for ...255.x? If not, I don't see how you
    will get an address for 192.168.255.12?<br>
    <br>
    <blockquote
      cite="mid:1382383919.17094.11.camel@abehat.dyn.net.rm.dk"
      type="cite">
      <pre wrap="">

</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Best regards

Sten Carlsen

No improvements come from shouting:

       "MALE BOVINE MANURE!!!" 
</pre>
  </body>
</html>