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.



-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: [EMAIL PROTECTED]
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
_______________________________________________
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