Re: iSCSI boot failed with "IPv4 has no route tox.x.x.x"
"Miller, Shao" <[email protected]>
| Newsgroups | gmane.network.etherboot.user |
|---|---|
| Message-ID | <[email protected]> |
Good day Paul, In regards to your difficulties in SAN-booting due to a lack of a route, I believe that you are missing the line: dhcp net0 immediately after the line: #!gpxe in your EMBEDDED_IMAGE= script. So the gPXE client has no IP address and thus has no route to anywhere. Good luck! - Shao Miller ________________________________ From: ShenQiyu [mailto:[email protected]] Sent: Saturday, July 25, 2009 06:42 To: [email protected] Subject: [Etherboot-discuss] iSCSI boot failed with "IPv4 has no route tox.x.x.x" 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 ________________________________ 搜索本应是快乐的,不是么? 快乐搜索,有问必应!微软隆重推出! 立即试用! <http://bing.com.cn?FORM=M00HCN&Publ=WLHMTAG&Crea=TEXT_Search_Where_You_Are_1X1> ------------------------------------------------------------------------------ _______________________________________________ Etherboot-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/etherboot-discuss