Re: OT: iscsi target bind to two addresses?

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



On Nov 30, 2009, at 11:07 PM, Gordon McLellan <gordonthree@xxxxxxxxx>  
wrote:

> Does anyone know off hand how to bind iscsi enterprise target to two
> distinct addresses.  Lets say I have a machine that has a bunch of
> interfaces on it, with different subnets.  Rather than have ietd
> broadcast itself on all interfaces (the default), I would like to
> limit it to only two interfaces.  I have edited the init.d startup
> script with --address x.x.x.x  which works, but I tried using the
> --address argument twice, and the second time is ignored.  I also
> tried x.x.x.x,y.y.y.y which also failed, second address was ignored.
>
> I'm thinking I could use ip tables to block ietd's ports on the
> unwanted interfaces but that seems like overkill.

If you are using the latest version use targets.allow to restrict  
which ip addresses a target is discovered on.

-Ross

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux