All of lore.kernel.org
 help / color / mirror / Atom feed
From: Abhijit Menon-Sen <ams@toroid.org>
To: lartc@vger.kernel.org
Subject: [LARTC] Re: failover with conntrackd
Date: Tue, 23 Oct 2007 06:20:00 +0000	[thread overview]
Message-ID: <20071023060800.GA16481@toroid.org> (raw)

(Sorry for the delayed response. I've been on vacation. I'm quoting
extensively to provide context.)

At 2007-10-10 09:55:57 -0500, gtaylor@riverviewtech.net wrote:
>
> > Is anyone using conntrack-tools to implement gateway failover on a
> > network with windows clients? [...]

To recap: I have two gateway machines that share two virtual addresses
(one on eth0, connected to the internal network and the other on eth1,
connected to the outside world).

> Um, why are you not using the same MAC address for the gateway and
> having the systems decide who is actively using the MAC at any given
> time?

Mostly because neither ucarp nor keepalived seem to support changing the
MAC address... and besides, everything I read seems to suggest that just
gratuitous ARP should be sufficient.

> There is a very simple VRRP daemon (vrrpd) for Linux / Unix that will
> achieve this. To my knowledge it works by creating a new MAC address
> that is used for the VRRP router.

I did not realise that vrrpd supports it.

My problem with ucarp (which, like vrrpd, also uses a single daemon per
interface/shared IP) is that the pair of daemons on eth0 were not always
perfectly synchronised with the pair on eth1. As a result, failover time
was unpredictable. That's why I switched to keepalived, so as to manage
both interfaces with a single process.

But I'll try vrrpd anyway, thanks.

> The two or more VRRP routers will heart beat each other (I think by
> multicast (?)) 

Yes, through multicast; and if the primary goes down, the remaining
nodes elect a new primary.

I'll try it and report.

-- ams
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

             reply	other threads:[~2007-10-23  6:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-23  6:20 Abhijit Menon-Sen [this message]
2007-10-24 18:16 ` [LARTC] Re: failover with conntrackd Abhijit Menon-Sen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071023060800.GA16481@toroid.org \
    --to=ams@toroid.org \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.