Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iPXE Boot Multiple NIC / Subnet
2017-04-20, 18:38
Post: #3
RE: iPXE Boot Multiple NIC / Subnet
(2017-04-20 17:59)NiKiZe Wrote:  You should provide more information, what is the ip of each nic, what is the subnet, and the gateway.

use the config command to see these easily.

also provide which ip-addresses you can ping in each case, and which IP the iSCSI target has.

Thanks, I am pretty new to using iPXE so my knowledge is still limited on the subject. Hopefully, the following information will provide the details you are looking for.

Net0 - 192.168.1.214 / 24 / 192.168.1.1 (LAN)
Net1 - 192.168.2.146 / 24 / 192.168.2.2 (iSCSI)

Here is the basic config I am using for the .ipxe boot file.

ifconf net0
ifconf net1
set keep-san 1
sanhook iscsi:192.168.2.200::::iqn.2017-02.home.srv:Win7 || shell

route output
net0: 192.168.1.214/255.255.255.0 gw 192.168.1.1
net1: 192.168.2.146/255.255.255.0 gw 192.168.2.3

When I attempt to ping the gateway on initial boot, 192.168.1.1 it works fine, but I can't ping the iSCSI gateway or iSCSI target server. If I run ifclose net0 I can then ping those previous addresses, but then I lose access to local side. When net0 is disabled I can then run the sanhook command and it completes successfully.

Thanks.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: iPXE Boot Multiple NIC / Subnet - bdwyzr - 2017-04-20 18:38



User(s) browsing this thread: 1 Guest(s)