controlling source IP addresses ?

From: Pascal Grostabussiat (pascal@azoria.com)
Date: Mon Nov 13 2006 - 04:45:14 EST


Hi all,

I have already starting searching the net for that "issue" but since I
am a bit short of time to investigate it I would appreciate if some of
you already have solutions, ideas or pointers I could follow to speed up
my investigation.

I have a server with several NIC on Solaris 9. This NIC has several IPs,
a primary IP set for example on ce0 and a few other IPs set on ce0:1,
ce0:2 etc ... Those IPs except for the primary one are set dynamically
when applications are brought up on the machine (I am using Veritas
Cluster Server).

The issue I have is that, from an external point of view, connections
seem to be coming from one of those IPs, but not necessarily the same.
To be more specific, when a given application establishes connection to
another service on another server, from that other server's perspective,
requests seem to be coming for one of the IPs set on the remote NIC
(ce0, ce0:1, ce0:2, ...) but that IP is not always the same from one
connection to another over time.

Question: is there anyway in Solaris (i.e. other than in the source
application) to control that behavior and somehow make sure that
connections always come from only one source IP (always the same) like
for example from the primary IP set on a given NIC and not from the
secondary IPs ? (ndd parameter ? ifconfig feature ? other ?)

Many thanks in advance.
/Pascal
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:10 EDT