Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2011 07:38:05 -0700
From:      Freddie Cash <fjwcash@gmail.com>
To:        Denny Schierz <linuxmail@4lin.net>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: SAS HBA LSI 9200-8e supported under 8.2?
Message-ID:  <AANLkTikxOiq_H9M_EU6dLAQ3jt=8ynaD_dyCs2t5-7rL@mail.gmail.com>
In-Reply-To: <1301056115.21588.103.camel@pcdenny>
References:  <1300618959.2191.5.camel@netti> <AANLkTi=8%2BrM9CJUd2ACB8U1QA9LzBwcwBLg0LjAwOTpH@mail.gmail.com> <1300887484.5930.72.camel@pcdenny> <AANLkTinGw0Lbnhu%2Bbo01RiRgPN1TpBouG1XdxM4T9ZOz@mail.gmail.com> <8CDBE9B8-4834-4F2C-84B9-2DA371D5B2C3@4lin.net> <AANLkTik8NmvRdH_SfXzcvTxVvhy8n77Q80hbaXniLFBQ@mail.gmail.com> <1301056115.21588.103.camel@pcdenny>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 25, 2011 at 5:28 AM, Denny Schierz <linuxmail@4lin.net> wrote:
> So, how complicated is load balancing with two Gb Network cards? :-) Ok,
> that should be a new thread;-)

Simple as pie.  Read through lagg(4) to see how it's done from the
command-line using ifconfig(8).

Then you put the settings into /etc/rc.conf like so:

cloned_interfaces="lagg0"
ifconfig_em0="up"
ifconfig_em1="up"
ifconfig_lagg0="laggproto round-robin laggport em0 laggport em1 inet
192.168.0.1/24"

Change laggproto to suit your needs.
-- 
Freddie Cash
fjwcash@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikxOiq_H9M_EU6dLAQ3jt=8ynaD_dyCs2t5-7rL>