OT: iscsi target bind to two addresses?
On Nov 30, 2009, at 11:07 PM, Gordon McLellan <firstname.lastname@example.org>
> 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.
CentOS mailing list