-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thank you for your answer!
I will try to create a IPaddr3 which will take into account gateway parameter...

Have a nice day

Michael Schwartzkopff a écrit :
> Am Dienstag, 29. April 2008 11:50 schrieb Marc LEURENT:
>> Good morning,
>> I would be very grateful if you had any idea how to add a default gw on my
>> eth0 interface. I'm connecting to the servers using private IP on eth1. If
>> I configure a static public IP on eth0 with a default route, I can add a
>> public IP with heartbeat, but I don't want to loose a public IP per server.
>> I want to have only public IP for services!
>>
>> Is it possible to add default gw with HA?
>>
>> Thanks
>> Marc Leurent
> 
> Hi,
> 
> sorry, this is not possible at the moment since the IPaddr2 resource does not 
> take a "gateway" attribute.
> 
> Quick and dirty hint: Edit the file /usr/lib/ocf/resource.d/heartbeat/IPaddr2
> look for the function ip_start() and add your default gateway there.
> 
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIFwnUrxOjjFYWQtoRAolAAKCBoTm5Rgmujw0ryPPR4DkRMwGo4QCeLA5U
bVYsxV7ND/mxdCrBtjYOoqA=
=iil5
-----END 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