All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew <depaan@bibleinfo.com>
To: lartc@vger.kernel.org
Subject: [LARTC] CBQ.init/tc - sharing bandwidth "nicely"
Date: Wed, 26 Sep 2001 18:51:26 +0000	[thread overview]
Message-ID: <marc-lartc-100153029208037@msgid-missing> (raw)




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/

                 reply	other threads:[~2001-09-26 18:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-100153029208037@msgid-missing \
    --to=depaan@bibleinfo.com \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.