Re: even bandwith for users on 2 newtworks

Linux Advanced Routing and Traffic Control

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

 



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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux