[Linux-HA] IP alias as source address

Jan Kalcic jandot at googlemail.com
Mon Jun 25 14:23:34 MDT 2007


Horms wrote:
> On Thu, May 31, 2007 at 10:41:07AM +0200, Jan Kalcic wrote:
>   
>> Hi,
>>
>> I configured a basic apache web server managed by heartbeat with an
>> IPaddr resource and I need this to be the source address for outgoing
>> packets. I know this is possible simply configuring the route table. The
>> problem is that when failover occurs the IP alias goes away and server
>> is not longer reachable cause a new routing table is needed. I thought I
>> can get over this adding two lines into the IPaddr script but how?
>>     
>
> Does the IPsrcaddr resource do what you are after?
>
>   
Yes, it does. I'm slowly finding out all the possibility hearbeat
provides. It's amazing.

Thanks,
Jan


More information about the Linux-HA mailing list