<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 05/23/2014 06:42 PM, Linux Luser
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAPoZCFBm7L08eBbXW6te+6zp9t+nYzNbB13Bk8BVqbmPPn3joQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Use the "set:tagname" option in your dhcp-host command.
          Then use that tag in it's own dchp-boot command to send a
          specific boot file to a specific host.<br>
          <br>
          <br>
          # PXE response for non-iPXE clients<br>
          dhcp-match=set:ipxe,175 # iPXE sends a 175 option<br>
          dhcp-boot=tag:!ipxe,ipxe.pxe<br>
          <br>
          # PXE response for host 'mythbed'<br>
          dhcp-host=bc:ee:7b:25:3b:15,<b>set:mythbed</b>,mythbed<br>
          tag-if=set:mythbed-ipxe,tag:ipxe,tag:mythbed<br>
          dhcp-boot=mythbed-ipxe,<a moz-do-not-send="true"
            href="http://minimyth2/conf/mythbed/mythbed.ipxe">http://minimyth2/conf/mythbed/mythbed.ipxe</a><br>
          <br>
          # PXE response for host 'mythliv'<br>
          dhcp-host=38:60:77:9c:6b:1d,<b>set:mythliv</b>,mythliv<br>
          tag-if=set:mythliv-ipxe,tag:ipxe,tag:mythliv<br>
          dhcp-boot=mythliv-ipxe,<a moz-do-not-send="true"
            href="http://minimyth2/conf/mythbed/mythliv.ipxe">http://minimyth2/conf/mythbed/mythliv.ipxe</a></div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Using the 'tag-if' command, you can effectively combine two
          tags into one. But depending only your case, you might be able
          to omit this line and simply send the 'filename' DHCP field
          (which is what dhcp-boot does) for every DHCP request,
          regardless if it is during an iPXE boot or not.</div>
        <div class="gmail_extra"><br>
        </div>
      </div>
    </blockquote>
    <br>
    Thanks, your example really helped me get it working.  Your example
    was only missing the tag on the dhcp-boot line.<br>
    <br>
    # Special boot hosts<br>
    # PXE response for non-iPXE clients<br>
    dhcp-match=set:ipxe,175 # iPXE sends a 175 option<br>
    dhcp-boot=tag:!ipxe,ipxe.pxe<br>
    <br>
    # PXE response for host 'mythbed'<br>
    dhcp-host=bc:ee:7b:25:3b:15,set:mythbed,mythbed<br>
    tag-if=set:mythbed-ipxe,tag:ipxe,tag:mythbed<br>
dhcp-boot=tag:mythbed-ipxe,<a class="moz-txt-link-freetext" href="http://minimyth2/conf/mythbed/mythbed.ipxe">http://minimyth2/conf/mythbed/mythbed.ipxe</a><br>
    <br>
    # PXE response for host 'mythliv'<br>
    dhcp-host=38:60:77:9c:6b:1d,set:mythliv,mythliv<br>
    tag-if=set:mythliv-ipxe,tag:ipxe,tag:mythliv<br>
dhcp-boot=tag:mythliv-ipxe,<a class="moz-txt-link-freetext" href="http://minimyth2/conf/mythliv/mythliv.ipxe">http://minimyth2/conf/mythliv/mythliv.ipxe</a><br>
    <br>
    I really appreciate the help.  I can now EOL my local copy of tftp,
    bind, and dhcpd in favor of dnsmasq!<br>
    <br>
    Michael<br>
    <br>
    <br>
  </body>
</html>