Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Stef Coene <stafke@iname.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] How to use tc to limit bandwidth of a special IP in LAN
Date: Fri, 15 Jun 2001 05:57:12 +0000	[thread overview]
Message-ID: <marc-lartc-99442810304245@msgid-missing> (raw)
In-Reply-To: <marc-lartc-99233276410622@msgid-missing>


> tc class add dev eth1 parent 1:1 classid 1:2 cbq bandwidth 10Mbit rate 1Mbit \
> allot 1514 cell 8 weight 100Kbit prio 3 maxburst 20 avpkt 1000 split 1:0 \
> defmap c0
- tc : command
- class : 'owns' a part of the traffic that flows through his parent
- add : add a new class
- dev eth0 : we are working onf device eth0
- parent 1:1 : parent of this class (see also option class)
	number : first part is the major number (equal for all classes and
parent who belongs to each other)
                 second part is the minor number : uniq number
- classid 1:2 : number of the class (first number = first number of
parent)
- cbq : type of class
- bandwidth 10Mbit : bandwidth of parent (should be the same for all
elements with same major number)
- rate 1Mbit : bandwidth of this class
- allot 1514 cell 8 maxburst 10 avpkt 1000 : forget these options for
now, just set them
- weight 100Kbit : Used to divide the traffic in the class.  When you
takes it 10 time less then bandwidth, everything will be fine
- split 1:0 defmap c0 :  ? ? ? ? Maybe to split the traffic?  I never
needed this options, so I don't know what this mean.  Just forget this
option for now.

> 
> A small note on all these options would have saved me a lot of guess-work.
Better? ;-)

> 
> But anyway, don't take me wrong. I think that iproute2 is one of the coolest
> networking tools I've ever seen.
Me to, you can do great things with CBQ but it really sucks and is not
accurate enough.

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

-- 

Stef

More QOS info : http://users.belgacom.net/staf/


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

  parent reply	other threads:[~2001-06-15  5:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-12  7:59 [LARTC] How to use tc to limit bandwidth of a special IP in LAN Chuanbo Xu
2001-06-12  9:39 ` Manfred Bartz
2001-06-14  3:13 ` Bob Puff@NLE
2001-06-15  5:57 ` Stef Coene [this message]
2001-06-15  5:57 ` Stef Coene
2001-06-15 14:27 ` Ramin Alidousti
2001-06-18  5:40 ` Stef Coene
2001-06-18  5:40 ` Stef Coene

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-99442810304245@msgid-missing \
    --to=stafke@iname.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox