How to setup 2nd NIC for iSCSI

imailuk

Member
Jan 23, 2021
5
0
21
55
Hi,

Firstly, I am learning, and no way a linux or Proxmox expert - so please be gentle with me!

I have a working Proxmox 7.1-10 environment, and PBS server 2.1-1, and very happy with it. My 'VE Server' has a mirror setup for storing my VM's which is now getting a little full, so I thought it was time to cash in on the 1.TB storage available via iSCSI on my QNAP.

The problem is, that although I'm pretty sure all is setup correctly on the QNAP side and the networking between, I don't understand how to activate and utnilise the 2nd NIC interface on Proxmox (in VMware it's pretty obvious).

In the Node->System->Network settings, I can see what I guess are two NIC's but since they are not consecutively named, and don't have a MAC address I cant be sure, but I'm guessing type of 'Network Device' means NIC?:

eno1 - Network Device - Active (NO)
enps1 - Network Device - Active (YES)
vmbro - Linux Bridge - Active (YES) - Port/Slaves enps1

So from this I can see that the Linux Bridge is using the enps1 interface and has an IP address and gateway whoich allows me connect to the admin pages etc - all good!

I can also see that each of my working VMs have vNIC's connected via the the bridge, and so can be communicated with on the LAN etc. - again all good.

Provided eno1 is actually my 2nd NIC, I'd like to use it as an iSCSI interface for storage. My QNAP has two interfaces, one of which operates the SCSI service, this is plugged into a switch with a VLAN port for the iSCSI, and the server 2nd interface is physically plugged into a recipricol VLAN port, so as to 'isolate' the iSCSI/VLAN traffic. Since the switch ports are setup for the VLAN, I don't think I need to enable VLAN configuration on ProxMox?

My main questions are:

1 - Is eno1 really my 2nd NIC?
2 - How do I activate this NIC so that I can se it as a storage adapter (iSCSI)?

Step by steps from a guru would be appreciated!
 
Ok - Figured it out. I believe the above is correct. I then needed to add storage, choosing ISCSI, and poiting towards my QNAP interface - provided a target has been established, the iqn appears and all is good.

I now need to figure out how to actually use the storage, as the storage object doesnt allow access!
 
Last edited:
Just in case anyone is interested, I got my storage working shortly after the post above. I can't remember now how, but I have to say it's been rock solid all this time (probably should have made some notes)! I use PBS to backup my guests, and the Mail Gateay to filter my SOGo mail, again very reliable and useful. I have performed several upgrades since my original posting - again no issues! The collection of products provided by Proxmox that allows enthusiasts like me to try and use without restriction is 100% awesome! I do work in IT and note how this approach has made it easy for customers/Admins to migrate to Proxmox - so thankyou!