iSCSI initiator fails to connect to target when multiple interfaces exist on the same subnet in RHEL

Solution Verified - Updated -

Issue

  • Linux sends tcp reset (RST) packets to open iscsi connections
  • Connections to iscsi devices fail
  • Discovering or logging into a target via one of the interfaces on the same subnet as others results in failures:

    # iscsiadm -m discovery -t st -p 192.168.2.2 -I ieth0 
    iscsiadm: connect to 192.168.2.2 timed out
    iscsiadm: connect to 192.168.2.2 timed out
    iscsiadm: connect to 192.168.2.2 timed out
    iscsiadm: connect to 192.168.2.2 timed out
    iscsiadm: connect to 192.168.2.2 timed out
    iscsiadm: connect to 192.168.2.2 timed out
    iscsiadm: connection login retries (reopen_max) 5 exceeded
    iscsiadm: Could not perform SendTargets discovery: encountered connection failure
    

Environment

  • Red Hat Enterprise Linux (RHEL) 5, 6, 7
  • iscsi-initiator-utils
  • Multiple network adapters on same subnet
  • iscsid configured to bind connections to specific network adapters

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In