ESXi 7 lab setup with TrueNAS core iscsi storage

Hello Everyone,
I am reaching out to this forum in the hopes that someone can either instruct me on how to fix my issue or provide a guide that would allow me to get my TrueNAS
server connected to my two esxi 7 hosts. At present I am not able to get the esxi hosts to connect to the TrueNAS server.

From the truenas server I can ping the ip addresses of the vmkernal nic ip addresses, however when connected to each of the esxi server via ssh I am not able to ping back to the TrueNAS server when trying to git 172.10.10.100 and 172.10.20.200

I have followed the following tuts with out any of them resolving the connectivity issue.

I’m hoping someone has either done this or can provide instructions that I can follow that will help me out. I’m at my wits end here.

Thank you in advance.

Below is my current configs, let me know if I am missing data that can help with resolving this.

TrueNAS Server Info
Interfaces:

  • alco (1GB not used)
  • em0 - 10.1.1.211 (1GB Used for webinterface)
  • bxe0 - 172.10.10.100 (10GB Used for iSCSI connection) <------> ESXi1 (172.10.10.2)
  • bxe0 - 172.10.20.200 (10GB Used for iSCSI connection) <------> ESXi2 (172.10.20.2)

Storage:
main-pool
-esxi-store0 (Type=volume)

iSCSI:
-Target Global Configuration:
BaseName: iqn.2005-10.org.freenas.ctl

  • Portals:172.10.10.100:3260,172.10.20.200:3260
    iSCSI-Portals
    Listen = 172.10.10.100:3260,172.10.20.200:3260

Initiators:
set to allow all

Authorized Access (not configured yet)

Targets:
Target Name: iscsi-targets
Portal Group ID: 1 (iSCSI-Portal)
Initiator Group ID: 1 (ALL Initators Allowed)
Auth Method (None)

Extents:
Name: iscsi-extent
Extent Type: Device
Device: main-pool/esxi-store0
Logical Block Size: 512
Enable TPC is checked
LUN RPM: SSD

Associated Target
Target: iscsi-target
LUN ID: 0
Extent:
iscsi-extent

ESXI Server info:
ESXI1: Standard Switch (vSwitch1)
VLAN ID: –

  • VMKernel Ports (1)
    vmk1: 172.10.10.2

VMKerneladapters:
vmk1:

  • TCP/IP stack: storage (This stack has a gateway of 172.10.10.1)
  • IPv4 setting: 172.10.10.2
    Subnet: 255.255.255.0

Storage Adapter:
Name vmhba66
Model iSCSI Software Adapter
iSCSI Name iqn.1998-01.com.vmware:esxi2.lenape.home:1541370251:68
iSCSI Alias iscsi_vmk
Target Discovery Send Targets, Static Targets

  • Dynamic Discovery:
  • 172.10.10.100:3260

-Static Discovery:

  • 172.10.10.100:3260, Target = iqn.2005-10.org.freenas.ctl

  • Network Port Binding:

  • Unable to add this as the selection is not select-able (I was able to select this when the vSwitch PortGroup used the default tcp/ip stack)

ESXI2: Standard Switch (vSwitch1)
VLAN ID: –

  • VMKernel Ports (1)
    vmk1: 172.10.20.2

VMKerneladapters:
vmk1:

  • TCP/IP stack: storage (This stack has a gateway of 172.10.20.1)
  • IPv4 setting: 172.10.20.2
    Subnet: 255.255.255.0

Storage Adapter:
Name vmhba68
Model iSCSI Software Adapter
iSCSI Name iqn.1998-01.com.vmware:esxi2.lenape.home:1541370251:68
iSCSI Alias iscsi_vmk
Target Discovery Send Targets, Static Targets

  • Dynamic Discovery:
  • 172.10.10.200:3260

-Static Discovery:

  • 172.10.10.200:3260, Target = iqn.2005-10.org.freenas.ctl

  • Network Port Binding:

  • Unable to add this as the selection is not select-able (I was able to select this when the vSwitch PortGroup used the default tcp/ip stack)

If you can not get the esxi server to ping back to the TrueNAS server then you have some networking issues that need to be sorted out. Double check the switches are configured correctly, check the cables, test the networks settings on both servers.