[nycbug-talk] Anyone using lagg?

Christopher Olsen cwolsen at ubixos.com
Mon Jan 10 06:17:59 EST 2011


Francisco,

Just to follow up on your questions..

You don't need an additional interface to reach the box... Unless you only
had two interfaces in the server and you need external and internal facing
interfaces. Example lagg0 - em0,em1 public facing, then you would need em2
for internal addressing.

Also you should not assign any IP addresses to the interfaces which are
members of the lagg, all IP addressing should be done on the lagg
interfaces.

As far as what you're trying to do... load balance your timer warner and
t1... lagg will not do that, lagg is designed to aggregate or control data
flow for your Ethernet intfaces..  Load balancing there would have to be
some trickery done with PF and NAT...

If you have any more questions please let me know.



-Christopher


Christopher Olsen
cwolsen at domainatlantic.com
Domain Atlantic
88-B Toledo St
Farmingdale, NY 11735
C: 516-903-2889
T: 347-987-3600

-----Original Message-----
From: talk-bounces at lists.nycbug.org [mailto:talk-bounces at lists.nycbug.org]
On Behalf Of Francisco Reyes
Sent: Sunday, January 09, 2011 9:51 PM
To: NYCBUG Talk
Subject: [nycbug-talk] Anyone using lagg?

Anyone using lagg to load balance/round robin multiple connections?


Found a couple of good lagg tutorials
http://www.cyberciti.biz/faq/freebsd-network-link-aggregation-trunking/
http://wisekuma.net/linux-bsd/freebsd-lagg/

But there are a few things that I can't find so far...

Does one need a third card to reach the machine where one runs lagg?
Say I have em0 and em1, do I assign actual IPs to the cards before adding
them to lagg or they can't have IPs of their own? Will the lagg ip allow
connections to the machine itself (ie ssh).


At my new job there is a T1 which is not enough bandwith so we are getting a

connection from Time warner to hold us off until a move (we will order 
proper amount of bandwith in new location)

I had this setup in mind.

T1
|
Switch
|
----\
     FreeBSD 
----/ 
|
|
Time warner cable connection.

I will be getting a machine to do the lagg setup and so far ordered 2 NICs.

Also based on this thread, 
http://forums.freebsd.org/archive/index.php/t-2608.html, it seems lagg can 
cause havoc in some switches, but I am wondering if that is if both cards 
are in the same switch. In my planned scenario only one card will be 
connected to a switch (the T1 connection).
_______________________________________________
talk mailing list
talk at lists.nycbug.org
http://lists.nycbug.org/mailman/listinfo/talk





More information about the talk mailing list