From: "Martin A. Brown" <mabrown-lartc@securepipe.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Configuring a redundant ethernet connection
Date: Wed, 22 Jan 2003 16:07:32 +0000 [thread overview]
Message-ID: <marc-lartc-104325172907518@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104324662830977@msgid-missing>
Doug,
: I am interested in setting up a host with dual ethernet connections to
: the same IP subnet (but different switches) for redundancy. We need
: reasonably transparent failover if an interface fails.
Linux supports channel bonding which should do what you want. There is
little documentation outside the kernel for this, but what documentation
exists is very good. This can be found in a linux source tree in the
following file:
Documentation/networking/bonding.txt
: In studying the existing HOWTO documents and other stuff produced by
: Google.... it looks like the configuration in section 4.2 of the HOWTO
: (Routing for multiple uplinks/providers) comes close to setting up what
: we need, but there are some issues:
I really don't think this is what you wish to do.
: 1. As implemented, traffic is segrated by destination and transparent
: failover is not possible. If an interface fails, connections would
: need to be re-established.
- not true if you are using a multipath [default] route on the router;
true otherwise
: 2. Traffic is sourced with an interface specific address.
- true; this is probably a show stopper for you if your host runs
services or masquerades. If neither, then you don't need to care.
: 3. Incoming traffic would be bound to one or the other and at best
: would need to rely on something like DNS round robin at connection
: setup time - not ideal.
- distinctly the opposite of ideal; a pain in the proverb
: Though I have not tried this yet, it looks like one might be able to
: setup a dummy interface with a third IP address on the same subnet, and
: then proxy arp for that address from either of the real interfaces.
: This virtual address is the one you would advertise via DNS as the
: machine's "primary" address, and this address would be used as the
: Source address on all outgoing packets.
You could do that, but you are getting dangerously to reinventing the
wheel known as VRRP. I'd suggest checking out both the reference
implementation of vrrpd (under linux) [1] and keepalived [2]. Although
probably less applicable to your situation, you may also want to visit the
linux high availability site [3] and the linux virtual server site [4].
: Has anyone attempted to set up a redundant interface in this manner or
: something similar? How would I arrange for the proxy arping that would
: be necessary to get traffic for the virtual interface delivered to the
: real one? Is there a better way?
Given your description, I'm inclined to suggest bonding as your first
alternative choice.
Good luck,
-Martin
[1] http://w3.arobas.net/~jetienne/vrrpd/
[2] http://www.keepalived.org/
[3] http://linux-ha.org/
[4] http://www.linuxvirtualserver.org/
--
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2003-01-22 16:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-22 14:42 [LARTC] Configuring a redundant ethernet connection Doug Kingston
2003-01-22 16:07 ` Martin A. Brown [this message]
2003-01-22 20:22 ` Jose Luis Domingo Lopez
2003-01-23 9:13 ` Doug Kingston
2003-01-24 1:31 ` Jose Luis Domingo Lopez
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=marc-lartc-104325172907518@msgid-missing \
--to=mabrown-lartc@securepipe.com \
--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.