All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] CBQ.init/tc - sharing bandwidth "nicely"
@ 2001-09-26 18:51 Andrew
  0 siblings, 0 replies; only message in thread
From: Andrew @ 2001-09-26 18:51 UTC (permalink / raw)
  To: lartc




Hello,

I'm starting to toy with CBQ.init and was wondering if someone would take the 
time to answer a few of my questions.

First my setup:

      LAN
       |

  [FW/router]----ISDN to NET
       |

      DMZ

I'm experimenting with shaping the trafic between the NET and the LAN. I've 
got two classes defined as follows:

cbq-10.net-lan---------------
DEVICE=eth0,10Mbit,1Mbit
RATEÅKbit
WEIGHT=8Kbit
PRIO=5
BOUNDED=yes
RULE\x172.17.1.0/24

and

cbq-20.net-lan---------------
DEVICE=aps0,128Kbit,12Kbit
RATEÅKbit
WEIGHT=8Kbit
PRIO=5
BOUNDED=yes
RULE\x172.17.1.0/24,

The shaping seems to be working as advertized, but I'm not entirely satisfied 
with the behavior. And it's not clear to me what to do to get what I 
want. (which is the reason for the post) Let me explain.

With the above in place, traffic from the internet to the 172.x.x.x network 
is limited to somewhere around 10Kbytes/s. But say I start downloading a big 
file off the net from a client on the lan. This fills up the available 
bandwidth, and everything else comes to a grinding halt (very very slow), 
including any shell connections to the Firewall/router.

What I'd like is for all clients on the lan to share (nicely) a given amount 
of bandwidth, devided equally among all using it. Also, I'd rather not 
penalize connections directly to/from the Firewall/router, although I suspect 
that fixing this is simply a matter of putting some better rules in place.

Comments/suggestions are very much appreciated.

-Andrew
-- 
Computer Systems Admin.
Bibleinfo.com
PO Box 19039
Spokane, WA  99219

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

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

only message in thread, other threads:[~2001-09-26 18:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-26 18:51 [LARTC] CBQ.init/tc - sharing bandwidth "nicely" Andrew

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.