From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Wartak Date: Thu, 16 Mar 2006 17:10:29 +0000 Subject: Re: [LARTC] load balancing: per route or per interface? Message-Id: <200603161810.29984.vnulllists@pcnet.com.pl> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Dnia =B6roda, 15 marca 2006 16:42, Eduardo Fern=E1ndez napisa=B3: > Hi! > > I'm doing load balancing for 5 dsl lines, each one with a dsl router > attached to a linux machine ethernet plug. The problem is that I'm > adding 15 more dsl lines, and I don't have enough PCI slots in the > linux machine to sum up 20 ethernet plugs (I already have 2 quad > ethernet cards). > > So I'm considering connecting all dsl routers and the linux machine to > a switch and doing load balancing per route, instead of per interface. > What are the problems? AFAIK I won't be able to do traffic shaping, > anything else? > Get a switch thats supports VLANs ( eg cisco 2950 ), make a vlan trunk to p= c=20 with 2 ethernet PCIs ( 1 to net , 1 to lan ). Connect each ADSL modem to=20 switch, put each modem on some individual VLAN. Now configure VLANs on=20 network interface on that PC connected to that switch ( i guess it will be = eth0 ) - you will get as many as you wish virtual interfaces ( like eth0.1,= =20 eth0.2 and so on ), you can traffic shape on them, use iptables like on any= =20 other interface... --=20 Jakub Wartak -vnull FreeBSD/OpenBSD/Linux/Solaris/Network Administrator http://vnull.pcnet.com.pl/ _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc