Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Skip to main content

My Subscriptions

Loading

Knowledge Base

Cannot reach iSCSI target after enabling iSCSI port binding on ESX/ESXi 4.x, ESXi 5.x & ESXi 6.x (1009524)

Last Updated: 2/13/2020Categories: TroubleshootingTotal Views: 79854Language:
Chinese (Simplified)JapaneseEnglish

3 like this article

Subscribe to get an email
newsletter with new updates

3 people found this helpful Please provide article feedback:

Details

After enabling iSCSI port binding on ESX/ESXi 4.x and ESXi 5.0, 5.1,5.5, 6.5 and 6,7 you can no longer reach your iSCSI target from your software iSCSI initiator.

The vmkernel log file contains entries similar to:

vmkernel: 0:00:03:20.859 cpu5:7932)Tcpip_Vmk: 165: cannot honor socket binding with vmk1 (src_subnet=0xa154400, dst_subnet=0xa154800)
iscsid: cannot make connection to 10.21.74.242:3260 (101)
vmkernel: 0:00:03:20.859 cpu5:7932)Tcpip_Vmk: 165: cannot honor socket binding with vmk2 (src_subnet=0xa154400, dst_subnet=0xa154800)
iscsid: connection to discovery address 10.21.74.242 failed
iscsid: connection login retries (reopen_max) 5 exceeded iscsid: cannot make connection to 10.21.74.242:3260 (101)
iscsid: connection to discovery address 10.21.74.242 failed iscsid: connection login retries (reopen_max) 5 exceeded

In the vCenter Server Events, you see this message when you restart the host or rescan the HBA adapter:

Login to iSCSI target iqn.1992-04.com.emc:cx.apm00114400059.a6 on vmhba37 @ vmk2 failed. The iSCSI initiator could not establish a network connection to the target.

Solution

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).

For related information, see Considerations for using software iSCSI port binding in ESX/ESXi (2038869)

Additional Information

For translated versions of this article, see:

日本語: ESX/ESXi 4.x および ESXi 5.x で iSCSI ポートのバインドを有効化後 iSCSI ターゲットにアクセスできない (2083521)

简体中文: 在 ESX/ESXi 4.x 和 ESXi 5.x 上启用 iSCSI 端口绑定后无法访问 iSCSI 目标 (2087753)

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-2 of 2

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

VMware vSphere

VMware ESX Server

Related Versions:

VMware vSphere ESXi 5.5

VMware vSphere ESXi 5.1

VMware vSphere ESXi 5.0

VMware vSphere 6.7.x

VMware vSphere 6.5.x

VMware ESXi 4.1.x Installable

VMware ESXi 4.1.x Embedded

VMware ESXi 4.0.x Installable

VMware ESXi 4.0.x Embedded

VMware ESX 4.1.x

VMware ESX 4.0.x

view all

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant