Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Apr 2002 03:02:00 +0000
From:      Olafur Osvaldsson <oli@isnic.is>
To:        Baldur Gislason <baldur@foo.is>
Cc:        Terry Lambert <tlambert2@mindspring.com>, 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>
In-Reply-To: <20020427161558.CC4CF2744@tesla.foo.is>
References:  <5.1.1.2.2.20020426234504.029f7c30@208.141.46.3> <3CCA4004.B9A8D57A@mindspring.com> <20020427161558.CC4CF2744@tesla.foo.is>

next in thread | previous in thread | raw e-mail | index | archive | help
The FEC works for me doing the following on 4.5-STABLE:

# cd /usr/src/sys
# tar -zxvf <path-to-download>/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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020428030200.GA51568>