Date: Thu, 23 Jan 1997 01:47:16 -0800 From: Julian Elischer <julian@whistle.com> To: Andrew McRae <amcrae@cisco.com> Cc: jdp@polstra.com, hackers@freebsd.org Subject: Re: Fault-tolerant network with 2 ethernets Message-ID: <32E733A4.41C67EA6@whistle.com> References: <199701230714.SAA16460@metaplex-ss10.cisco.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Andrew McRae wrote: > > jdp@polstra.com (John Polstra): > > 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 c Using the 'netgraph' 'streams-like' framework I've been writing for BSD, you could impliment a node that multiplexed between two ethernet interfaces and exported a single virtual interface. you'd have to hack a 'netgraph' interface onto the ethernet driver, but I write the interface specifically to make that easy to do. it would effectively be a carbuncle on the side of the driver that would divert incoming packets into the 'graph' of nodes that has been attached.. hmm maybe it could be done in if_ethersubr.c and would be independent of card type! .. that would be cool. we could loadshare between several nets with different adapters :) (and dynamically switch virtual nets over different physical transports. :) if you hadn't attached a node it would act as normal and use it's own interface. The only bit I'm not sure about would be arp, but I'm sure it can't be that hard.. I'm just chasing down some last silly bugs and hopefully will have documentation and a user-level control program by next week.. the "rfc1490" node works fine, as does "echo", "socket", "blackhole" and a proprietary card specific frame relay node. There is a ppp node under construction by our resident PPP guru.. sorry to get so carried away but when you've got a big new hammer, you keep looking out for nails! the (very) preliminary doc is at: ftp://ftp.freebsd.org/pub/FreeBSD/incoming/Netgraph.txt it's evolved and got a bit simpler and more useable as I've been implimenting it.. code available soon. anxious types can ask for copies tomorrow but will need to UTSL as they can't RTFM yet :) julian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32E733A4.41C67EA6>