iSCSI boot failed with "IPv4 has no route to x.x.x.x"

ShenQiyu <[email protected]>
Newsgroups gmane.network.etherboot.user
Message-ID <[email protected]>
Dear all,

 

I'm a newbie of gpxe. When I try it with iscsi boot,  message "IPv4 has no route to x.x.x.x" shows repeatly, and boot failed finally.

 

I create a file sanboot.gpxe with content.

 

#!gpxe
sanboot iscsi:192.168.111.1::::iqn.1994-04.org.netbsd.iscsi-target:target1

 

 

I use source 0.9.7 and build a undionly.kpxe with make DEBUG=netdevice,undinet,ipv4 EMBEDDED_IMAGE=../sanboot.gpxe bin/undionly.kpxe.

 

I use ISC DHCP with configuration:

 

authoritative;
ddns-update-style none;
default-lease-time 300;
max-lease-time 900;

subnet 192.168.111.0 netmask 255.255.255.0 {
 range 192.168.111.201 192.168.111.240;
 next-server 192.168.111.1;
 option domain-name-servers 192.168.111.1;
 option routers 192.168.111.1;
 filename undionly.kpxe;
}


the Vmware workstation client could load undionly.kpxe, boots with some message, then I could find the 

 

message "IPv4 has no route to 192.168.111.1" shows repeatly, and at last boot failed with "... connection timeout".

 

With the source code, I found it is because there is no entry in ipv4_miniroutes.

 

BTW, UNDINIC is registered as NETDEV successfully from the debug message.

 

So, please help me for it, or I could put more details for my environment. 

 

Thanks!

 

Paul Shen

 

 

_________________________________________________________________
Windows Live 鹿煤鲁拢卢卯掳忙Messenger拢隆
http://www.windowslive.cn

------------------------------------------------------------------------------

_______________________________________________
Etherboot-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/etherboot-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.