All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] CBQ/SFQ Setup example please?
@ 2002-07-07 19:05 Creative Internet Techniques
  0 siblings, 0 replies; only message in thread
From: Creative Internet Techniques @ 2002-07-07 19:05 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 1870 bytes --]

I am trying to set up something similar to the following..
 
#1. I want to use either iptables or tc filter to assign
subnets/protocols/etc to a
class and have it traffic shape it using sfq.  This is really just
generic traffic shaping like
using CBWFQ on cisco.  When I shape something to say 2000kbit I want it
at 2000kbit, period.
I'm having problems getting it to stay at what I shape it at without
borrowing from other classes.
All I'm trying to do is just basic traffic shaping on what I select with
tc filter or iptables.
 
#2.  I want to have say 5 subnets, each subnet I want to guarantee a CIR
of 512kbps.  
All the subnets combined will have 5mbps available to share between them
but still 
Get minimum CIR of 512kbps no matter what.  They can borrow the
bandwidth
From other classes to use for burst but still needs to maintain the CIR.
If possible
I would also like to add something like 512kbps cir with burst 1mbit and
then share the rest.
That way if no one is using the 5 mbit in the class one subnet could use
the full 5mbit until
Someone else tries to use it then it would give them each 2.5 and so
on.. This should use
SFQ to give more fairness and improve latency.. I don't want 4000ms
latency when the
5mbit is in use.. Also some way in here to deprioritize certain types of
packets like icmp
and other non essential packets, while prioritizing smaller packets to
improve latency in telnet/ssh
and other real time applications.
 
If I can figure out how to do that and make it work I will have a lot
more questions :> :>
I know what I need and I know how to do it with a cisco but I want to
use linux because it's much
More configurable and scalable, especially without spending a fortune.
 
P.S. If anyone needs help on cisco stuff or network design let me know
:> (as long as I can figure out
How to replicate it in linux) hehehe
 
THANKS!

Paul

[-- Attachment #2: Type: text/html, Size: 9773 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-07 19:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-07 19:05 [LARTC] CBQ/SFQ Setup example please? Creative Internet Techniques

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.