Re: Structuring my shaping

Linux Advanced Routing and Traffic Control

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

 



On Friday 18 October 2002 01:14, Hayden Myers wrote:
> The shaping for my project needs to limit individual users while giving
> each user equal priority.  My thoughts are to create a root prio qdisc and
> then place a qdisc underneath that for each user.  Inside each of those
> qdiscs will be the classes to subdivide traffic based on port.  Is this
> the best way to accomplish what I want?
You can use the efsq (enhanced SFQ).  This qdisc is based on the sfq qdisc, 
but you can create the hash keys based on ip addresses and/or ports (both src 
and dst).  Attach that qdisc as the root qdisc and you are done.

If you want more control, you have to add a cbq or htb qdisc as the root qdisc 
and  create a class and filter for each user.

Stef

-- 

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

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


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