Re: tgt-admin and a -C, --control-port argument

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 05 Apr 2010 19:15:47 -0700
Chandra Seetharaman <sekharan@xxxxxxxxxx> wrote:

> 
> On Sun, 2010-04-04 at 16:49 +0900, FUJITA Tomonori wrote:
> > On Sat, 3 Apr 2010 08:16:29 +1100
> > ronnie sahlberg <ronniesahlberg@xxxxxxxxx> wrote:
> > 
> > > What I think Chandra is asking about is if we plan to or want to make
> > > tgtd listen on several addresses at once.
> > > Right now tgtd can listen on one address, or on all addresses.
> > > 
> > > Listening on several addresses I guess would look something like this
> > > for iscsi :
> > >  --iscsi portal=192.0.2.1:3260,198.51.100.1:3260
> > >
> > > Making tgtd listen on two addresses.
> > 
> > I'm still not sure what he is asking but the above is fine by me.
> > When we discussed 'portal' option, I think that we agreed the above
> > option.
> 
> Consider the scenario where I have 8 ip addresses that are in different
> subnets with 4 ip address in both subnets, and I want to export 4
> targets in one subnet and another 4 targets in the other subnet.
> 
> The feature about is required to provide that kind of service.

Can you live in most of situations if you run tgtd on all addresses
then you configure ACL on each targets?

For example, with the following command, only initiators on
198.51.100.0/24 can discover and connect to #1 target.

host:~/tgt# ./usr/tgtadm --lld iscsi --op bind --mode target --tid 1 -I 198.51.100.0/24
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux