[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use lagg(4) or Use Layer-4 Load Balancing?



Martes G Wigglesworth wrote:
I was attempting to find good information on how to achieve a type of
bonding using advanced routing on FreeBSD, such as with layer-4 routers,
that can bond multiple sources into a single overall larger source for
logical backbone creation for networks.


You could have a look at ng_one2many(4) I've never used it but it sounds like it could be what you are after according to the manpage.


Vince


On Wed, 2008-06-18 at 13:22 -0400, Andrew Thompson wrote:
On Tue, Jun 17, 2008 at 04:32:03AM -0400, Martes G Wigglesworth wrote:
Greetings all.

I have been attempting to research what  I have been informed is
actually accomplished with layer-4 load balancing.  I have seen many
articles and reviews that indicate that lagg(4) will accomplish the
teaming of multiple internet access sorces into a single logical pipe,
however, I have tried this using a dumb switch two nic interfaces and
this simply is not the case.
I am new and may not have enough cool equipment around, however, aside
from using the fail-over mode for redundancy, and lacp on a supported
switch, then if lagg(4) could really combine multiple sources into one
for use as a larger overall backbone, then I should be able to get
doulbed bandwidth using two separate ports on an unmanaged switch using
some option on the lagg(4) driver, which is not the cast.(if this is
wrong I would be happy to get the correct information, however I have a
few network engineer references that say that you cannot do anything
more than layer-2 lacp with appropriate equipment to create an
isp-supported trunk)  Even in the on-lamp interview the 7.0 developer
implies that you can do what I am attempting to research however, it is
not possible at layer 2 without an end-point.
How are you testing this? You need to have multiple IP flows in order to
fully utilise the multiple links. See this snippet from the handbook
(i'll put it in the man page too).

"Since frame ordering is mandatory on Ethernet links then any traffic
between two stations always flows over the same physical link limiting
the maximum speed to that of one interface. The transmit algorithm
attempts to use as much information as it can to distinguish different
traffic flows and balance across the available interfaces."


Does that answer your question, you will not get more speed on a single
download.


Andrew
_______________________________________________
freebsd-net_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe_(_at_)_freebsd_(_dot_)_org"


_______________________________________________
freebsd-net_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe_(_at_)_freebsd_(_dot_)_org"

_______________________________________________
freebsd-net_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe_(_at_)_freebsd_(_dot_)_org"