[Linux-HA] Add an default gw on an interface
Edward Capriolo
edlinuxguru at gmail.com
Tue Apr 29 06:49:57 MDT 2008
This should work.
On 4/29/08, Andrew Beekhof <beekhof at gmail.com> wrote:
> On Tue, Apr 29, 2008 at 1:43 PM, Marc LEURENT <lftsy at leurent.eu> wrote:
> > -----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...
>
> or sumbit a patch for IPaddr2 so that it takes an extra 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
> > Linux-HA at lists.linux-ha.org
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
> >
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
More information about the Linux-HA
mailing list