On Sat, Sep 01, 2012 at 12:22:17PM +0200, C. L. Martinez wrote:
> Hi all,
> 
>  I am trying to configure dhcpd daemon in a OpenBSD 5.1 host to use
> iPXE options for booting vm guests via iscsi. To do this, I have
> configured dhcpd.conf with these options:
> 
> option space ipxe;
> option ipxe-encap-opts code 175 = encapsulate ipxe;
> option ipxe.priority code 1 = signed integer 8;
> option ipxe.keep-san code 8 = unsigned integer 8;
> option ipxe.skip-san-boot code 9 = unsigned integer 8;
> option ipxe.syslogs code 85 = string;
> option ipxe.cert code 91 = string;
> option ipxe.privkey code 92 = string;
> option ipxe.crosscert code 93 = string;
> option ipxe.no-pxedhcp code 176 = unsigned integer 8;
> option ipxe.bus-id code 177 = string;
> option ipxe.bios-drive code 189 = unsigned integer 8;
> option ipxe.username code 190 = string;
> option ipxe.password code 191 = string;
> option ipxe.reverse-username code 192 = string;
> option ipxe.reverse-password code 193 = string;
> option ipxe.version code 235 = string;
> option iscsi-initiator-iqn code 203 = string;
> option ipxe.pxeext code 16 = unsigned integer 8;
> option ipxe.iscsi code 17 = unsigned integer 8;
> option ipxe.aoe code 18 = unsigned integer 8;
> option ipxe.http code 19 = unsigned integer 8;
> option ipxe.https code 20 = unsigned integer 8;
> option ipxe.tftp code 21 = unsigned integer 8;
> option ipxe.ftp code 22 = unsigned integer 8;
> option ipxe.dns code 23 = unsigned integer 8;
> option ipxe.bzimage code 24 = unsigned integer 8;
> option ipxe.multiboot code 25 = unsigned integer 8;
> option ipxe.slam code 26 = unsigned integer 8;
> option ipxe.srp code 27 = unsigned integer 8;
> option ipxe.nbi code 32 = unsigned integer 8;
> option ipxe.pxe code 33 = unsigned integer 8;
> option ipxe.elf code 34 = unsigned integer 8;
> option ipxe.comboot code 35 = unsigned integer 8;
> option ipxe.efi code 36 = unsigned integer 8;
> option ipxe.fcoe code 37 = unsigned integer 8;
> 
>  .. but when I launch /etc/rc.d/dhcpd start, a lot of errors appears
> (one for every option configured in dhcpd.conf):
> 
> dhcpd[11205]: /etc/dhcpd.conf line 26: no option named space
> dhcpd[11205]: option space ipxe;
> dhcpd[11205]:        ^
> dhcpd[11205]: /etc/dhcpd.conf line 27: no option named ipxe-encap-opts
> dhcpd[11205]: option ipxe-encap-opts code
> dhcpd[11205]:        ^
> dhcpd[11205]: /etc/dhcpd.conf line 28: no vendor named ipxe.
> dhcpd[11205]: option ipxe.priority
> dhcpd[11205]:             ^
> dhcpd[11205]: /etc/dhcpd.conf line 29: no vendor named ipxe.
> dhcpd[11205]: option ipxe.keep-san
> dhcpd[11205]:             ^
> 
> ......
> 
> Same configuration works for RHEL/CentOS 6.x dhcpd hosts ... What am I
> doing wrong??
> 
> Thanks.
> 

The dhcpd in base knows nothing about ipxe. Or 'space'. It is nowhere near
in sync with ISC. You might want to use the ISC dhcpd in ports, net/isc-dhcp,
or the package for your arch.

.... Ken

Reply via email to