From owner-freebsd-questions@freebsd.org Sat Jan 16 15:39:56 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C501E4E31A1 for ; Sat, 16 Jan 2021 15:39:56 +0000 (UTC) (envelope-from freebsd-lists-5@thismonkey.com) Received: from mail-01.thismonkey.com (mail-01.thismonkey.com [IPv6:2406:3400:35e:6602::a01:232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thismonkey.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DJ2L20fnBz4S7L for ; Sat, 16 Jan 2021 15:39:53 +0000 (UTC) (envelope-from freebsd-lists-5@thismonkey.com) Received: from mailhub-01.thismonkey.com (mailhub-01.thismonkey.com [IPv6:2406:3400:35e:6601:0:0:a01:11e]) by mail-01.thismonkey.com (8.15.2/8.15.2) with ESMTP id 10GFdkF1072328; Sun, 17 Jan 2021 02:39:46 +1100 (EST) (envelope-from freebsd-lists-5@thismonkey.com) X-TM-Via-MX: mailhub-01.thismonkey.com Received: from utility-01.thismonkey.com (utility-01.thismonkey.com [IPv6:2406:3400:35e:6601:0:0:a01:120]) by mailhub-01.thismonkey.com (8.15.2/8.15.2) with ESMTPS id 10GFdkcl079827 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Sun, 17 Jan 2021 02:39:46 +1100 (AEDT) (envelope-from freebsd-lists-5@thismonkey.com) Received: from utility-01.thismonkey.com (localhost [127.0.0.1]) by utility-01.thismonkey.com (8.16.1/8.16.1) with ESMTP id 10GFdkX2039083; Sun, 17 Jan 2021 02:39:46 +1100 (EST) (envelope-from freebsd-lists-5@thismonkey.com) Received: (from root@localhost) by utility-01.thismonkey.com (8.16.1/8.16.1/Submit) id 10GFdktw039074; Sun, 17 Jan 2021 02:39:46 +1100 (EST) (envelope-from freebsd-lists-5@thismonkey.com) Date: Sun, 17 Jan 2021 02:39:46 +1100 From: Scott To: Ekkehard Gehm Cc: freebsd-questions@freebsd.org Subject: Re: iSCSI initiator to target with multiple IPs Message-ID: Mail-Followup-To: Ekkehard Gehm , freebsd-questions@freebsd.org References: <0365d82d-88f2-6ce8-b730-edd7982ba083@sudoers.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: clamav-milter 0.102.2 at mail-01.thismonkey.com X-Virus-Status: Clean X-Rspamd-Queue-Id: 4DJ2L20fnBz4S7L X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=thismonkey.com; spf=pass (mx1.freebsd.org: domain of freebsd-lists-5@thismonkey.com designates 2406:3400:35e:6602::a01:232 as permitted sender) smtp.mailfrom=freebsd-lists-5@thismonkey.com X-Spamd-Result: default: False [-3.80 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2406:3400:35e:6602::a01:232:from]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[2406:3400:35e:6602::a01:232:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[thismonkey.com,none]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:10143, ipnet:2406:3400:340::/42, country:AU]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2021 15:39:56 -0000 On Sat, Jan 16, 2021 at 11:01:24AM +0100, Ekkehard Gehm wrote: > 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 Target > >> 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 moved > >> 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 > > initial connection to the pool-ip results in a connection to an interface > > address - is this an iSCSI redirection or is there a proxy of sorts (that > > would obscure the real target address)? > > > > Put another way, if configured to connect to IP 1.1.1.1, after the connection > > would netstat show the initiator connected to 1.1.1.1 or another address? > > > > 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 Ok, I was wondering if it is a network issue but it sounds further up the stack. I do use iSCSI with both FreeBSD and ESXi but with a far simpler configuration. Good luck! Scott