I would say that target is on same host, since the other connection is 127.0.0.1.
You could specify an interface for iSCSI. #iscsiadm –m iface –I eth1 –o new New interface eth1 added Now update the interface name #iscsiadm –m iface –I eth1 - -op=update –n iface.net_ifacename –v eth1 eth1 updated Do a rediscovery, now only ETH1 will be used for iSCSI. (Assuming that's the NIC you want to use) On Fri, Jun 27, 2014 at 3:06 AM, Anish Bhatt <[email protected]> wrote: > If you're running iscsi-target then discovery will return a portal for > every single IP configured on the machine. Are you running both on the same > machine ? > -Anish > ________________________________ > From: [email protected] [[email protected]] on behalf > of [email protected] [[email protected]] > Sent: Wednesday, June 18, 2014 1:40 PM > To: [email protected] > Subject: iscsi initiator connecting to 2 address > > Hi, I am connecting to the iscsi-target with open-iscsi. I don't know why > my iscsi-initiator connect to 2 IP address on the same target name. Maybe > is some wrong configuration on /etc/hosts. > > Does anyone have any idea? Thanks in advance! > > root@dell-felipe:~# iscsiadm -m node --login 10.0.1.37 > Logging in to [iface: default, target: iqn.2014-06.ustore-test:disk1, > portal: 127.0.0.1,3260] (multiple) > Logging in to [iface: default, target: iqn.2014-06.ustore-test:disk1, > portal: 10.0.1.37,3260] (multiple) > Login to [iface: default, target: iqn.2014-06.ustore-test:disk1, portal: > 127.0.0.1,3260] successful. > Login to [iface: default, target: iqn.2014-06.ustore-test:disk1, portal: > 10.0.1.37,3260] successful. > > > > > -- > You received this message because you are subscribed to the Google Groups > "open-iscsi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]<mailto: > [email protected]>. > To post to this group, send email to [email protected]<mailto: > [email protected]>. > Visit this group at http://groups.google.com/group/open-iscsi. > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "open-iscsi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/open-iscsi. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/d/optout.
