Bonding module for FailOver

Luca Bertoncello lucabert at lucabert.de
Thu Feb 10 07:01:24 PST 2005


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 at 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...


More information about the freebsd-net mailing list