I am trying to mimic the following ISC option space definition

option space arrcus_opt code width 2 length width 2 hash size 17;
  option arrcus_opt.config-url code 35 = text;
  option arrcus_opt.script-url code 36 = text;

host SeastoneXP-SpineB {
    hardware ethernet <MAC_ADDRESS>;
    fixed-address <MGMT_IP_ADDRESS>;
    option default-url = <ONL_IMAGE>;
    vendor-option-space arrcus_opt;
    option arrcus_opt.script-url = "<URL_TO_BOOT_SCRIPT>";
    option host-name  <HOSTNAME>;
}
However I am struggling to get this to work in dnsmasq I think its because the 
code with is 2 bytes.  I have even tried the full hex, which in my case would 
be:

dhcp-option=43,00:24:00:24:68:74:74:70:3a:2f:2f:31:30:2e:39:2e:31:30:31:2e:32:30:37:3a:34:34:34:34:2f:73:72:69:2d:74:65:73:74:2e:70:79

which does work, but wondering if there is a more graceful way.

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to