[ipxe-devel] iPXE, iscsi, isc-dhcp on FreeBSD 10.x
pathiaki2
pathiaki2 at yahoo.com
Sat Mar 26 17:30:08 UTC 2016
Michael,
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 192.168.0.53;
option domain-name "test.net";
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
{then all the ipxe options}
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.175 192.168.0.254;
use-host-decl-names on;
default-lease-time 1;
max-lease-time 86400;
next-server 192.168.0.1;
class "iPXE" {
match if option routers = "192.168.0.1";
}
}
host laptop1.test.net {
hardware ethernet 00:23:ae:14:a8:50;
fixed-address 192.168.0.175;
filename "boot/undionly.kpxe";
option iscsi-initiator-iqn "iqn.2012-06.net.test:target0";
option routers 192.168.0.1;
if exists user-class and option user-class = "iPXE" {
filename "";
option root-path
"iscsi:192.168.0.1::::iqn.2012-06.net.test:target0";
} 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: 192.168.0.21/255.255.255.0 gw 192.168.0.1
Root path: iscsi:192.168.0.1::::iqn.2012-06.net.test:target0 <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: 192.168.0.21 (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,
Paul
More information about the ipxe-devel
mailing list