For locally originated connections that do not bind to an interface you
can use the SNAT target of iptables.

    iptables -A POSTROUTING -o eth0 -j SNAT --to-source 192.168.1.3

Unfortunately there is a side effect with kernels in the 2.6.18
area that make this difficult with some protocols because the SNAT will
change the source port number :-/

I use the above mostly on 2.4.37 kernels without any issues.

On Wed, Feb 04, 2009 at 10:54:35AM -0900, [email protected] wrote:
> Second try... Sorry
>
> Can someone point in the right direction.
>
> Everything on/in the cluster seems to be working, however I have noticed  
> that when an outgoing connection is made it is using the the IP of the  
> current active node and not the float IP. I would like the system to  
> source connections from the float IP and not the address of what ever  
> node is currently active.
>
> I am not a HA expert I do not know if this is normal behavior or not.
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems

-- 
James R. Leu
[email protected]

Attachment: pgp0hwka6nUCc.pgp
Description: PGP signature

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to