From owner-freebsd-net@FreeBSD.ORG Thu Feb 10 15:01:24 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4786116A4CE for ; Thu, 10 Feb 2005 15:01:24 +0000 (GMT) Received: from ns.lucabert.de (ns.lucabert.de [62.75.208.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64B5343D31 for ; Thu, 10 Feb 2005 15:01:23 +0000 (GMT) (envelope-from lucabert@lucabert.de) Received: from localhost.localdomain (ns.lucabert.de [62.75.208.62]) by ns.lucabert.de (Postfix) with SMTP id CF0C43B8471A; Thu, 10 Feb 2005 16:01:21 +0100 (CET) Cc: Content-type: multipart/mixed; boundary="Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD" X-mailer: WebMail 1.0 by Luca Bertoncello 2001-2002 (lucabert@lucabert.com) Date: Thu, 10 Feb 2005 16:01 +0100 Mime-version: 1.0 To: freebsd-net@freebsd.org From: Luca Bertoncello Message-Id: <20050210150121.CF0C43B8471A@ns.lucabert.de> X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Bonding module for FailOver X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Feb 2005 15:01:24 -0000 --Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi! I wrote to Archie Cobbs, because I tought he developed ng_fec. He told me to send my source to you too... Here is it, with the E-Mail I wrote to Archie. Greetings Luca Bertoncello (lucabert@lucabert.de) ------------------------------------------- Hi! I had the problem to create an interface bonding as FailOver system for the servers in my firm. I tried your ng_fec module, and it works very good, but unfortunately is not for a FailOver scenario, but for a EtherChannel. The problem is that, if we use this module, we will have problem with the switches (every network card is connected to a separate switch), because they will one at a time both consider themselves responsible for the MAC-Adress of the FEC-Device, as the FEC module always uses all attached network devices to send and receive packets (using a hash algorithm), so the route that packets take through our ethernet switching network constantly changes. This is not acceptable for us. We need just a FailOver scenario, aka: all traffic over one network card and, if it fails, over the other(s). I searched for a module that already does that, but I didn't find anything. I just replaced your cicles to find the used card for this packet so that I always use the first card and, if it fails, the others. It works very good and it solves our problem. I send you my source code (OK, OK! It's YOUR source code, with my patches), maybe you can modify your module to have a parameter to switch to a FailOver scenario. Or you can use this source... I think, it's a useful module for an Internet Provider... --Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD--