sanhook - connection timed out.
|
2014-06-05, 18:06
Post: #1
|
|||
|
|||
sanhook - connection timed out.
Hello,
Firstly, I must admit network booting etc is quite new to me so I'm afraid to say I am dabbling a little out of my depth here, although I hope that doesn't preclude from some pointers to get me on track. I have a windows 7 machine that is running a software based iSCSI target - the free edition of the StarWind software. The server is also running a http server, from which the ipxe script file is served, along with the Windows PE installation etc. I'm also running a VirtualBox machine without any hard drive attached to it, and within this I am booting from the ipxe.iso which is attached to a SATA CD drive for the VM machine. This all works perfectly fine. I wait for the second CTRL-B prompt within the VM, chain iPXE to the iPXE script on the http server, I can start the Windows PE installation etc. all without issues. What I'm wanting to achieve is install Windows 7 (the files of which are held on the server under \\HomeServer\), once I've booted into Windows PE, and install Windows 7 on the iSCSI target, then be able to network boot from that iSCSI target. I've tried every which way but it would seem that I'm unable to get iPXE to connect to the iSCSI target, however just to confirm that the iSCSI target is actively accepting connections I have connected to the iSCSI target and even mapped it to a drive letter on a separate computer. Just to clear up my understanding, from what I've gathered from various posts, I use sanhook in the iPXE script before starting Windows PE so that when I go to install Windows 7, Windows 7 will see the iSCSI target? My iPXE script is as follows: Code: #!ipxe The output I am getting from iPXE is as follows: I've double checked and the IP address, port, LUN and target IQN are all correct. I have performed a packet trace, with the output given below: Code: Number Time Source Destination Protocol Length Info This is the summary of what is captured, although there is obviously more details if required. The StarWind software does indicate though that there is an active connection for a time being. As I say, I'm aware I'm a little out of my depth here, but I would be grateful for any help in sorting this issue out. Thanks very much. |
|||
2015-03-09, 12:58
(This post was last modified: 2015-03-09 13:00 by robinsmidsrod.)
Post: #2
|
|||
|
|||
RE: sanhook - connection timed out.
You most likely suffer from the gateway issue on your network. Try to add this code before your sanhook line:
Code: set netX/gateway 0.0.0.0 And yes, that X is a literal X, not a placeholder for a number. The Windows iSCSI boot feature is a bit stupid and tries to communicate with your iscsi server via the gateway, even if it is on your local network. This line forces that behavior off. Also, make sure the iPXE initiator IQN is allowed to talk to the iscsi target. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)