iSCSI port binding in ESX/ESXi 4.x and ESXi 5.0, 5.1 and 5.5 does not support routing.
To resolve this issue and still use iSCSI port binding, you must place the iSCSI initiator and the iSCSI target on the same subnet.
Alternatively, this can be resolved by disabling iSCSI port binding.
Disabling iSCSI port binding in ESX/ESXi 4.x
To disable iSCSI port binding in ESX/ESXi 4.x, run this command:
esxcli swiscsi nic remove -n vmk_interface -d vmhbaX
Where X is the vmhba device number.
For example:
esxcli swiscsi nic remove -n vmk2 -d vmhba33
Disabling iSCSI port binding in ESXi 5.0, 5.1 and 5.5
To disable iSCSI port binding in ESXi 5.x, you can either use the vSphere Client or the ESXi shell.
To disable iSCSI port binding using vSphere Client:
- Click Configuration > Storage Adapters > iSCSI Software Initiator > Properties.
- Select the Network Configuration tab.
- Select the vmk that is iSCSI compliant and then click Remove.
- Click Close.
To disable iSCSI port binding using the vSphere Web Client 5.1 or 5.5
- Log in to vSphere Web Client.
- Click to select the host from the Hosts and Clusters inventory.
- Click the Manage tab, then click Storage.
- Click Storage Adapters and click the software iSCSI adapter in the list
- Under Adapter Details, click the Network Port Binding tab.
- Click a VMkernel adapter to remove with the iSCSI adapter and click OK.
To disable iSCSI port binding using the using the ESXi Shell, run this command:
esxcli iscsi networkportal remove -n vmk_interface -A vmhba_device
Where:
vmk_interface is the vmk interface to be removed.
vmhba_device is the VMHBA device name.
For example:
esxcli iscsi networkportal remove -n vmk2 -A vmhba33
For more information, see the
iSCSI SAN Configuration Guide (for ESX/ESXi 4.x) or the
vSphere Networking Guide (for ESXi 5.x).
Additional Information
For translated versions of this article, see: