All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] T-1  bandwith
Date: Thu, 03 Apr 2003 21:04:08 +0000	[thread overview]
Message-ID: <marc-lartc-104940393715437@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104940282213802@msgid-missing>

On Thursday 03 April 2003 22:44, Bernard wrote:
> I hope somebody can point me in the right direction. Ive seen a lot of
> documentation on how to get htb and cbq to work with different types of
> modems, but is there any documentation about t-1's? This is what my
> situation is: I have a 24 channel t-1 fractionalized down to 16 because
> of the 8 voice channels. That leaves me with a total 1024kb for up and
> downloads. I have 5 customers with full t-1's that will be downloading
> from me at the same time I am downloading something. Of course my users
> and I get 90% of the bandwidth and they get the other 10%. I would like
> the situation to be: limit myself and my users to 10% and give the
> customers the other 90% when they are downloading from me, evenly shared
> between whichever customers that are downloading at that time. Any help
> would be most appreciated.
Configuring htb or cbq for a modem, T1 or ethernet is the same.  Only the 
parameters are different.  The idea behind the shaping is the same.

There are no examples you can use right away because each setup is different.  
We can only give you some advice and point you to some examples.  I have 
docs/examples/scripts on www.docum.org.  You can also dig the lartc archive 
for examples about traffic shaping.

You want a basic shaping setup so it's not so difficult to create a tc script.  
But you have to do it yourself :)

Some steps you have to do if you use htb :
- add root htb qdisc to nic
- add class with rate = ceil = 1024kb
- add 2 class, 1 for you with rate = 10%*1024kb, ceil = 1024kb and an other 
with rate = 90%*1024kb, ceil = 1024kb
- add 2 filters to the root qdisc to redirect the traffic to the classes

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/

      reply	other threads:[~2003-04-03 21:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-03 20:44 [LARTC] T-1 bandwith Bernard
2003-04-03 21:04 ` Stef Coene [this message]

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-104940393715437@msgid-missing \
    --to=stef.coene@docum.org \
    --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.