Re: [LARTC] Limit bandwidth per client

Linux Advanced Routing and Traffic Control

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

 



On Tuesday 13 May 2003 16:32, David Reoch wrote:
> That is the best, detailed, straight-forward howto on tc I've ever seen!
> (There are probablly others out there, and no offense to authors of any
> that I just haven't seen).  Thanks!
>
> I have been off and on trying to get my squid transparent proxy/cache
> server to do tc for me, but it just doesn't seem to work, and I wonder
> if you can offer any advice.
The problem is that squid is a local running app.  And tc does not know if 
sqiud is using it's cache to server the objects.  Ideally, you should be able 
to mark the packets within squid like you can with iptables.

> My network looks just like you've described below, except that your
> 'router1' is my 'transparent cache', running as a bridge, where eth0 and
> eth1 are bridge interfaces (br0).
>
> I am beginning to draw the conclusion that I cannot do tc with a bridge,
> and that I must route.  Do you have any suggestions?
Shaping on a bridge is possible.  If you use the u32 filter, you can get in 
some trouble that can be solve with a kernel patch :
http://www.docum.org/stef.coene/qos/faq/cache/41.html

Stef

-- 

stef.coene@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net



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