From owner-freebsd-net Sat Apr 27 20: 2:23 2002 Delivered-To: freebsd-net@freebsd.org Received: from amun.isnic.is (amun.isnic.is [193.4.58.10]) by hub.freebsd.org (Postfix) with ESMTP id E212737B41B; Sat, 27 Apr 2002 20:02:16 -0700 (PDT) Received: from amun.isnic.is (oli@localhost [127.0.0.1]) by amun.isnic.is (8.12.3/8.12.3/isnic) with ESMTP id g3S322P2053428; Sun, 28 Apr 2002 03:02:02 GMT (envelope-from oli@amun.isnic.is) Received: (from oli@localhost) by amun.isnic.is (8.12.3/8.12.3/Submit) id g3S320Au053426; Sun, 28 Apr 2002 03:02:00 GMT (envelope-from oli) Date: Sun, 28 Apr 2002 03:02:00 +0000 From: Olafur Osvaldsson To: Baldur Gislason Cc: Terry Lambert , freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG, wpaul@FreeBSD.ORG Subject: Re: load balancing with 2 nic cards possible? Message-ID: <20020428030200.GA51568@isnic.is> References: <5.1.1.2.2.20020426234504.029f7c30@208.141.46.3> <3CCA4004.B9A8D57A@mindspring.com> <20020427161558.CC4CF2744@tesla.foo.is> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20020427161558.CC4CF2744@tesla.foo.is> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The FEC works for me doing the following on 4.5-STABLE: # cd /usr/src/sys # tar -zxvf /fec.tar.gz # cd modules/netgrah/fec && make install # kldload ng_fec.ko # ngctl mkpeer fec dummy fec # ngctl msg fec0: add_iface '"fxp0"' # ngctl msg fec0: add_iface '"fxp1"' # ngctl msg fec0: set_mode_inet then it usually needs a "ifconfig fec0 up" to start moving packets. Uplink is to a Cisco 3534 with the two ports setup with "port group 1 distribution source", using "distribution destination" gives me countless duplicates obviously because the same mac-address is on both interfaces. I also added the mac-address to forward to both interfaces using "mac-address-table static" With this setup the max throughput from one remote machine is the capacity of one interface, but that is enaugh for me. /Oli Þann 27. April 2002, ritaði Baldur Gislason eitthvað á þessa leið: > I have tried that fec driver, no luck. I get the interface up, but when I try > to transmit packets over it I get "invalid argument" or something like that, > I had the network cards hooked to a Cisco catalyst and I had grouped the > ports, and I've tried two types of network cards, 3com 905C and Intel > EtherExpress 100 > > Baldur Gislason > > On Saturday 27 April 2002 06:07, you wrote: > > Gary Stanley wrote: > > > Is it possible to split the load of IP traffic with 2 ethernet cards on a > > > 4.x machine? I'm new to "load balancing" in a sense, however, I'd like to > > > try something that seems more "robust" > > > > http://people.freebsd.org/~wpaul/FEC/4.x/ > > > > -- Terry > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- Ólafur Osvaldsson Kerfisstjóri Internet á Íslandi hf. Sími: 525-5291 Email: oli@isnic.is To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message