iPXE Boot Multiple NIC / Subnet
|
2017-04-20, 05:55
Post: #1
|
|||
|
|||
iPXE Boot Multiple NIC / Subnet
I am trying to PXE boot to iPXE with two NICs on separate subnets and switches. The first NIC connects to the primary LAN and the second connects to the iSCSI network. I am able to get DHCP address for both NICs but only 1 network is accessible at a time. If I do a ifclose to net0 I can then ping and sanhook to my iSCSI target. But when I bring net0 back up I can ping the primary LAN but my access to the iSCSI network is gone.
Primary - 192.168.1.x iSCSI - 192.168.2.x I wasn't able to find an answer to this question using the search, if it was already answered please point me to the answer. Thanks, Bdwyzr |
|||
2017-04-20, 17:59
Post: #2
|
|||
|
|||
RE: iPXE Boot Multiple NIC / Subnet
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. Use GitHub Discussions VRAM bin |
|||
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. 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. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)