All of lore.kernel.org
 help / color / mirror / Atom feed
From: Borut Mrak borut.mrak@ijs.si
To: lartc@vger.kernel.org
Subject: [LARTC] cbq ip range?
Date: Tue, 06 Feb 2001 15:41:25 +0000	[thread overview]
Message-ID: <marc-lartc-98373940416982@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98373940416981@msgid-missing>

<PRE>On Wed, Feb 07, 2001 at 12:10:53PM -0300, billy wrote:
&gt;<i> What do you meen for &quot;same flowid&quot;?
</I>&gt;<i> and is there a cbq-howto? if it is, where can I find it?
</I>
That's my setup:

tc qdisc add dev eth0 root handle 10: cbq bandwidth 100Mbit avpkt 1000

tc class add dev eth0 parent 10:0 classid 10:10 cbq bandwidth 100Mbit \
  rate 512kbit allot 1514 weight 100kbit prio 5 maxburst 1 avpkt 1000 bounded
tc qdisc add dev eth0 parent 10:10 sfq quantum 1514b perturb 15
tc filter add dev eth0 parent 10:0 protocol ip prio 100 u32 match \
  ip src xxx.xxx.2.0/28 flowid 10:10
tc filter add dev eth0 parent 10:0 protocol ip prio 100 u32 match \
  ip src xxx.xxx.1.3 flowid 10:10

here xxx.xxx.1.3 is customers linux router/squid proxy, which also
generates traffic, as do their other addresses (.2.0/28).

flowid = classid, AFAIK.

This works for me. I don't know the correct wording for all this stuff, so
please bare with me ;-]

bye,

-- 
Borut
<A HREF="mailto:borut.mrak@ijs.si">borut.mrak@ijs.si</A>
-----------------
Booze is the answer.  I don't remember the question.


</PRE>

  reply	other threads:[~2001-02-06 15:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-06 15:19 [LARTC] cbq ip range? Daniel
2001-02-06 15:41 ` Borut [this message]
2001-02-07 14:47 ` billy
2001-02-07 15:10 ` billy

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-98373940416982@msgid-missing \
    --to=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.