[ipxe-devel] iPXE, iscsi, isc-dhcp on FreeBSD 10.x

pathiaki2 pathiaki2 at yahoo.com
Sat Mar 26 17:30:08 UTC 2016


I figured out part of it.... (sheepish) I had another DHCP server from 
previous experiments months ago.

Once I shut it down.... no more address and domain changes....

All changes were made in the dhcpd.conf file of isc-dhcpd 4.2:

ddns-update-style none;
option domain-name-servers;
option domain-name "test.net";
option subnet-mask;
option broadcast-address;

{then all the ipxe options}

subnet netmask {
         use-host-decl-names on;
         default-lease-time 1;
         max-lease-time 86400;
         class "iPXE" {
                 match if option routers = "";

host laptop1.test.net {
      hardware ethernet 00:23:ae:14:a8:50;
      filename "boot/undionly.kpxe";
      option iscsi-initiator-iqn "iqn.2012-06.net.test:target0";
      option routers;
      if exists user-class and option user-class = "iPXE" {
          filename "";
          option root-path 
       } else {
          filename "boot/undionly.kpxe";

And this works to a degree.  I get the whole re-initialize (second 
contact on dhcp) and it gives:

net0: gw
Root path:  iscsi: <correct 
IP!!! >
Registered SAN device 0x80
Booting from SAN device 0x80

And then it hangs right there... :-(

At this point, has it completely switched over control to the iSCSI target?

If it has, I know there's a problem with the LUN being exported or it 
not being able to boot from it....

However, I do see this in the log file:

kernel: WARNING: (iqn.2010-04.org.ipxe:laptop1.test.net): 
no ping reply (NOP-Out) after 5 seconds; dropping connection

I don't understand that error and I don't get target it's trying to get 
to.... iqn.2010-04.org.ipxe:laptop1.test.net.  Is that some type of 
initiator in iPXE?

Any pointers?

Thank you,


More information about the ipxe-devel mailing list