From owner-freebsd-questions@FreeBSD.ORG Fri Jan 13 22:14:13 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA4E916A41F for ; Fri, 13 Jan 2006 22:14:13 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EB7243D46 for ; Fri, 13 Jan 2006 22:14:13 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id k0DMECGm049855; Fri, 13 Jan 2006 16:14:12 -0600 (CST) (envelope-from dan) Date: Fri, 13 Jan 2006 16:14:12 -0600 From: Dan Nelson To: Ian Lord Message-ID: <20060113221411.GA10326@dan.emsphone.com> References: <43C80BF0.9050609@jim-liesl.org> <41B6048D-0F43-452A-8135-F2BF71B2DEF2@submonkey.net> <7.0.0.16.2.20060113165547.054915c8@Msdi.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7.0.0.16.2.20060113165547.054915c8@Msdi.ca> X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.11 Cc: freebsd-questions@freebsd.org Subject: Re: NIC bonding/teaming X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2006 22:14:13 -0000 In the last episode (Jan 13), Ian Lord said: > At 16:47 2006-01-13, Ceri Davies wrote: > >On 13 Jan 2006, at 20:22, jim feldman wrote: > >>Does 6.x have a nic bonding/teaming/failover feature like the linux > >>bond (rnd robin, failover, ld bal, trunking)? I'm thinking > >>multiple nics, one server, same lan/vlan. I've read up on CARP and > >>one2many, but they don't seem to do what bond does. > > > >I think you want ng_one2many(4). > > I did a lot of tests with carp (was not appropriate at all), and > ng_one2many > > I was able to make two nics appears at one with ng_one2many, but > after severals days of tests and research, dropped it because it > caused bad side effects and when I was pulling one nic out, it was > stopping to transmit/receive for some moment. Also on the switch, > both nics were registering the same mac address so my cisco was > sending me warning about it every minute. That's because you forgot to configure your cisco and tell it those two ports were trunked together :) Another alternative to ng_one2many is ng_fec, which despite its name does not actually negotiate the FEC protocol with the remote end (you have to hardcode it on the switch), but does do mac/ip port hashing. That prevents packet reordering within flows. Patches to add LACP negotiation (FEC is obsolete) are welcome though :) -- Dan Nelson dnelson@allantgroup.com