All of lore.kernel.org
 help / color / mirror / Atom feed
From: Corey Hickey <bugfood-ml@fatooh.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] question about correct way of shapping
Date: Thu, 07 Apr 2005 17:22:11 +0000	[thread overview]
Message-ID: <42556C43.8090208@fatooh.org> (raw)
In-Reply-To: <1112886400.21408.66.camel@pauloric.intranet>

Paulo Ricardo Bruck wrote:

> 
> 		   <--- up 128K      
> internet ----- dsl ---------------------eth1 -Linux Qos- eth0 ------ LAN
> 		   ---> down 450k	
> 
> 
> If I want "shape" traffic to my LAN ( sharing equally download for all
> users) I have to insert a rule like this
> 
> tc qdisc add dev eth0 root handle 1:0 htb
> tc class add dev eth0 parent 1:0 classid 1:1 htb rate 400kbit
> and ....other rules
> 
> and If I want "shape" traffic to Internet ( not allowing a single user
> to destroy upload) I have to insert a rule like this:
> 
> tc qdisc add dev eth1 root handle 1:0 htb
> tc class add dev eth1 parent 1:0 classid 1:1 htb rate 100kbit
> and ...other rules
> 
> 
> Is it correct??

Yes. That's the way to do it. Don't forget to add some filters (tc
filter add ...) to send traffic into those queues.

-Corey
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  reply	other threads:[~2005-04-07 17:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-07 15:06 [LARTC] question about correct way of shapping Paulo Ricardo Bruck
2005-04-07 17:22 ` Corey Hickey [this message]
2005-04-07 18:45 ` Paulo Ricardo Bruck
2005-04-07 22:35 ` Corey Hickey
2005-04-08 12:14 ` Paulo Ricardo Bruck
2005-04-10 21:36 ` Corey Hickey

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=42556C43.8090208@fatooh.org \
    --to=bugfood-ml@fatooh.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.