From owner-freebsd-net@FreeBSD.ORG Tue Mar 15 16:20:46 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 7046E16A4CE for ; Tue, 15 Mar 2005 16:20:46 +0000 (GMT) Received: from f30.mail.ru (f30.mail.ru [194.67.57.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CF1F43D1D for ; Tue, 15 Mar 2005 16:20:46 +0000 (GMT) (envelope-from _pppp@mail.ru) Received: from mail by f30.mail.ru with local id 1DBEmi-000O2W-00; Tue, 15 Mar 2005 19:20:44 +0300 Received: from [81.200.13.122] by win.mail.ru with HTTP; Tue, 15 Mar 2005 19:20:44 +0300 From: dima <_pppp@mail.ru> To: Marc G.Fournier Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: [81.200.13.122] Date: Tue, 15 Mar 2005 19:20:44 +0300 In-Reply-To: <20050315120119.I92893@ganymede.hub.org> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: cc: net@freebsd.org Subject: Re[2]: High ping latency using two ethernet under FreeBSD 4.11 ... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dima <_pppp@mail.ru> List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Mar 2005 16:20:46 -0000 > On Tue, 15 Mar 2005, dima wrote: > >>> I'm plugging everything into a Cisco 2924 ... is there some way, either on >>> the FreeBSD side, or Cisco, of 'cleaning this up'? >> >> Try ng_fec. It works ok with 2950, not sure about 2924 though. > > man page is a bit short ... what exactly is ng_fec, and how does it affect > things? ng_fec is the NetGraph module which implements Cisco FastEtherChannel technology. This actually means you have 1 virtual interface fec0 representing 2 or more physical interfaces. The load balancing scheme can be assigned by a Catalyst, but low-end models like 2950 and 3550 can only balance traffic based on the least significant bit(s) of MAC-address. > > For instance, do I start configuring an 'ifconfig fec0' device instead of > my usual fxp0? or, does everything pretty much stay the same except > running that extra daemon/command? Here comes the basic setup employed at my site: $ cat /etc/rc.local /sbin/ifconfig bge0 media 100BaseTX mediaopt full-duplex up /sbin/ifconfig bge1 media 100BaseTX mediaopt full-duplex up /usr/sbin/ngctl -f /var/fec0.conf /sbin/ifconfig fec0 inet x.x.x.x netmask 255.255.255.224 up /sbin/route add default x.x.x.x $ cat /var/fec0.conf mkpeer fec dummy fec msg fec0: add_iface "bge0" msg fec0: add_iface "bge1" msg fec0: set_mode_inet > > any docs other then the man pages that I should read through?