[Linux-cluster] IP address for replies

Eduar Arley eduar47 at gmail.com
Fri Mar 28 12:40:16 UTC 2014


2014-03-28 2:24 GMT-05:00 Masopust, Christian <christian.masopust at siemens.com>:
> Hi Eduar,
>
> I have both configurations running on my systems, some with IPsrcaddr and
> one with iptables.
> I did the first with iptables only because it was my first cluster and was
> not aware about IPsrcaddr and was in a hurry to get the cluster up and running :)
>
> Anyway, both solutions work fine on my CentOS 6.x systems. But I don't use any
> Web interface for configuration.
>
> br,
> christian
>
> -----Ursprüngliche Nachricht-----
> Von: linux-cluster-bounces at redhat.com [mailto:linux-cluster-bounces at redhat.com] Im Auftrag von Eduar Arley
> Gesendet: Freitag, 28. März 2014 07:07
> An: linux-cluster at redhat.com
> Betreff: [Linux-cluster] IP address for replies
>
> Hello everyone.
>
> I have an HA Cluster in CentOS 6, using CMAN + RGManager (the supported and 'official' stack in CentOS 6.5). Everything works OK; however, there is a thing that could give me problems in the future, so I would like thinking right now how to solve it.
>
> When an incoming packet comes to my cluster (through a floating IP address), mi active node receives it OK; however, it replies from his 'real' IP address, not from the floating IP. As i'm deploying SIP in this cluster, maybe some provider in the future could dislike this IP and reject my calls.
>
> I've read heartbeat have some functionality to fix this, called IPSrcAddr; however I don't see a similar resource in Conga Web Interface or in Red Hat documentation. In other websites, I've read about a workaround involving IP routing rules tables, but I don't think this is an optimal solution.
>
> Anybody knows a way to fix this in my scenario?
>
> Thanks!
>
>
> Eduar Cardona
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster


Hello Christian, thanks for your advice.

Could you please share here the relevant sections of your cluster.conf
file for IPSrcAddr? I currently use Conga web interface, but I can
directly modify the config file if needed.

Thanks!


Eduar Cardona




More information about the Linux-cluster mailing list