Hi, I have need to give a windows dhcp server a vendor specific option. In ISC DHCP, I do this: option pxelinux.pathprefix "http://raidtest.hos.anvin.org/tftpboot/"; For Windows, I need something that looks like this:
option vendor-encapsulated-options d0:04:f1:00:74:73: d2:23:68:74:74:70:3a:2f:2f:72:61:69:64:74:65:73:74:2e: 61:6e:76:69:6e:2e:6f:72:67:2f:74:66:74:70:62:6f: 6f:74:2f: d3:04:00:00:00:1e;
(example taken from http://syslinux.zytor.com/wiki/index.php/PXELINUX#using_vendor_options) How can I convert from the ISC format to this hexishness?

In reply to dhcp vendor encapsulated options in perl by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.