From mboxrd@z Thu Jan 1 00:00:00 1970 From: Flemming Frandsen Date: Sun, 15 Jan 2006 21:42:45 +0000 Subject: Re: [LARTC] even bandwith for users on 2 newtworks Message-Id: <43CAC1D5.9010600@nrvissing.net> List-Id: References: <43cab7ca69c72@wp.pl> In-Reply-To: <43cab7ca69c72@wp.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hariett Jones wrote: > I want server to share bandwith from eth0 evenly for users on eth1 > and wlan0. How can i make it ? Is it possible ? As far as i know htb > splits outgoing bandwith on one device only. This is the most braindead defect of Linux (IMHO): You can't, because you can only shape outgoing traffic on an interface. However, some people have found that it works just fine if only Linux would allow it, but due to the rule that "You can only shape outgoing traffic on an interface" you have to make an intermediate fake device where the traffic shaping can take place. The Intermediate Message Queue (IMQ) is a patch for 2.4 and 2.6 and will allow you to take all the traffic coming in from eth0 and pipe it via imq0 before routing so you can traffic shape IMQ0. For kernel 2.6.16 there is a new feature called IFB which does the same thing (in this context anyway) as IMQ, so if you can upgrade your kernel, then this might be the best choice. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc