From owner-freebsd-hackers Thu Jan 23 00:35:36 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA07418 for hackers-outgoing; Thu, 23 Jan 1997 00:35:36 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA07411 for ; Thu, 23 Jan 1997 00:35:35 -0800 (PST) Received: from me.bla.com (ctdnet.acns.nwu.edu [129.105.178.200]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id AAA15706 for ; Thu, 23 Jan 1997 00:35:32 -0800 (PST) Received: from me.bla.com (localhost.bla.com [127.0.0.1]) by me.bla.com (8.8.4/8.8.4) with ESMTP id CAA28531; Thu, 23 Jan 1997 02:33:28 -0600 (CST) Message-Id: <199701230833.CAA28531@me.bla.com> X-Mailer: exmh version 1.6.9 8/22/96 To: John Polstra cc: freebsd-hackers@freebsd.org Subject: Re: Fault-tolerant network with 2 ethernets In-reply-to: Your message of Wed, 22 Jan 1997 15:51:30 -0800. <199701222351.PAA04715@austin.polstra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 23 Jan 1997 02:33:27 -0600 From: Chris Csanady Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >This is probably a routing 101 question. But I've never had to do much >with routing, so I could use some advice. > >A client wants a fault-tolerant LAN setup like this: > > ethernet A (100BaseT) > ---+------+------+------+------+------+--- > | | | | | | > host host host host host host > | | | | | | > ---+------+------+------+------+------+--- > ethernet B (100BaseT) > >The goal is that either ethernet could go down, yet all the hosts could >still talk to each other. Or, one of the ethernet cards on a host could >go down, and it could still talk to all the other hosts. In either >case, it has to happen automatically, without manual intervention. Load >balancing isn't a goal, just fault-tolerance. > >At first I was hoping that routed could do this for me, without >the applications even being aware of it. But now I'm not so sure. >Each ethernet will have to have its own IP network number (right?), >and so each host will have to have 2 IP addresses. A given packet >will be addressed to only a single IP address, and that implies >it's headed for a particular ethernet. If that ethernet is down, >all addresses on it are down, and the packet won't be delivered >no matter what routed does. > >Is this analysis correct? Is there a simple way to get what I want? >How about a non-simple way? I have been thinking about this for a bit, but all I could come up with is a really sick solution. I'm sure its not worth much, and may not even work, but I'll share it anyway. :) To start with, the different interfaces will be on different networks as you describe. But then you delete the 2 network routes, and add 2 default routes to each interface on the router(s). The router would have to have to know about the network topology, and the machines themselves would have to be configured to forward packets. Then everything would (hopefully) be taken care of via ICMP redirects... Anyway, not a very efficient or scalable solution. Or one I would try.. ;) Chris >-- > John Polstra jdp@polstra.com > John D. Polstra & Co., Inc. Seattle, Washington USA > "Self-knowledge is always bad news." -- John Barth >