Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jan 2021 11:01:24 +0100
From:      Ekkehard Gehm <freebsd@sudoers.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: iSCSI initiator to target with multiple IPs
Message-ID:  <a5f97050-1302-8735-413b-43557a112a02@sudoers.net>
In-Reply-To: <YAKF6sJ38AZ5umlY@thismonkey.com>
References:  <0365d82d-88f2-6ce8-b730-edd7982ba083@sudoers.net> <YAKF6sJ38AZ5umlY@thismonkey.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--5GAKg0T89yjWKeNPJZkQWtG27k6MmW5MJ
Content-Type: multipart/mixed; boundary="OSreicVWPwlo6UGJo6cECjPENGi14gISA";
 protected-headers="v1"
From: Ekkehard Gehm <freebsd@sudoers.net>
To: freebsd-questions@freebsd.org
Message-ID: <a5f97050-1302-8735-413b-43557a112a02@sudoers.net>
Subject: Re: iSCSI initiator to target with multiple IPs
References: <0365d82d-88f2-6ce8-b730-edd7982ba083@sudoers.net>
 <YAKF6sJ38AZ5umlY@thismonkey.com>
In-Reply-To: <YAKF6sJ38AZ5umlY@thismonkey.com>

--OSreicVWPwlo6UGJo6cECjPENGi14gISA
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Language: en-GB

Ahoy Scott,

Am 16.01.2021 um 07:21 schrieb Scott:
> On Fri, Jan 15, 2021 at 12:30:52PM +0100, Ekkehard Gehm wrote:
>> Ahoy!
>>
>> I hope someone can give me a hint on an issue I have with iSCSI.
>>
>> I have a FreeBSD Server (the iSCSI initiator) which connects to a Dell=

>> Equilogic RAID (the iSCSI target). So far no big deal. But... The Targ=
et
>> has one IP to connect to but in reality it has 8 interfaces with
>> different IPs for traffic shaping.
>>
>> So. The initial connect to the pool-ip will result in a connection to
>> one of those 8 ips. Every now and then, the RAID (target) shifts the
>> interfaces. That will result in a message that the the target has move=
d
>> to another ip... And that is where shit happens - My FreeBSD initiator=

>> drops the target completely (With a warning " target requests logout;
>> removing session")... Bad thing :-)
>>
>> I don't know where to look. Is it multipath? MPIO?
>>
>> Any hint is highly appreciated :-)
>>
>> Cheers!
>>
>> Ekki
>>
>>
> Hi,
> more from a networking perspective than an iSCSI one: when you say that=
 the=20
> initial connection to the pool-ip results in a connection to an interfa=
ce=20
> address - is this an iSCSI redirection or is there a proxy of sorts (th=
at=20
> would obscure the real target address)?
>
> Put another way, if configured to connect to IP 1.1.1.1, after the conn=
ection=20
> would netstat show the initiator connected to 1.1.1.1 or another addres=
s?
>
> Scott
> _______________________________________________


Fair question. The "icscictl -L" and also netstat lists one of the pool
addresses not the initial and configured address.

So my client with, lets say, address 1.1.1.101 has the address e.g.
1.1.1.1 in his iscsi.conf but will than connect to one of the pool IPs
1.1.1.2 - 1.1.1.9 on port 3260

It works just fine with the VMware vSphere hosts... :/

Ekki



--OSreicVWPwlo6UGJo6cECjPENGi14gISA--

--5GAKg0T89yjWKeNPJZkQWtG27k6MmW5MJ
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wmMEABEIACMWIQSyS/1dgH7dA1TlJQLcAzNBjqfO5gUCYAK5dAUDAAAAAAAKCRDcAzNBjqfO5sBE
AKCckbAVfnPs1Q48V+bQxm2VBag61gCgtZoyalkV/3LAvWtliViU7mYqLd0=
=cLeG
-----END PGP SIGNATURE-----

--5GAKg0T89yjWKeNPJZkQWtG27k6MmW5MJ--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?a5f97050-1302-8735-413b-43557a112a02>