From: Vitor Carlos Flausino <vflausino@pga.pt>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] BandWidth
Date: Tue, 03 Apr 2001 15:53:59 +0000 [thread overview]
Message-ID: <marc-lartc-98631335629969@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98630021716685@msgid-missing>
[-- Attachment #1: Type: text/plain, Size: 1963 bytes --]
Stef Coene wrote:
> Try this :
> tc qdisc add dev eth0 root handle 10: cbq bandwidth 10mbit avpkt 1000>
> ~~~~~~
> tc class add dev eth0 parent 10:0 classid 10:1 cbq bandwidth 10mbit rate
> ~~~~~~
> rate 4kbit allot bounded isolated
> ~~~~~~~
>
> Staf
>
> Vitor Carlos Flausino wrote:
> >
> > Hi!
> > I'm using class based queueing for testing how same applications work
> > with low bandwidth. So what I did was give this commands:
> >
> > tc qdisc add dev eth0 root handle 10: cbq bandwidth 4kbit avpkt 1000
> > tc qdisc add dev eth1 root handle 20: cbq bandwidth 4kbit avpkt 1000
> >
> > tc class add dev eth0 parent 10:0 classid 10:1 cbq bandwidth 4kbit
> > rate 4kbit allot isolated
> > tc class add dev eth1 parent 20:0 classid 20:1 cbq bandwidth 4kbit
> > rate 4kbit allot isolated
> >
> > tc qdisc add dev eth0 parent 10:0 sfq quantum 1514b
> > tc qdisc add dev eth1 parent 20:0 sfq quantum 1514b
> >
> > tc filter add dev eth0 parent 10:0 protocol ip u32 match ip dst
> > 192.0.0.0/8 flowid 10:1
> > tc filter add dev eth1 parent 20:0 protocol ip u32 match ip dst
> > 57.0.0.0/8 flowid 20:1
> >
Thanks but it did not solve.... It still works 100mbit
tc qdisc add dev eth0 root handle 10: cbq bandwidth 100mbit avpkt 1000
tc qdisc add dev eth1 root handle 20: cbq bandwidth 100mbit avpkt 1000
tc class add dev eth0 parent 10:0 classid 10:1 cbq bandwidth 100mbit rate
4kbit allot 1514 bounded isolated
tc class add dev eth1 parent 20:0 classid 20:1 cbq bandwidth 100mbit rate
4kbit allot 1514 bounded isolated
tc qdisc add dev eth0 parent 10:0 sfq quantum 1514b perturb 15
tc qdisc add dev eth1 parent 20:0 sfq quantum 1514b perturb 15
tc filter add dev eth0 parent 10:0 protocol ip u32 match ip dst
192.0.0.0/8 flowid 10:1
tc filter add dev eth1 parent 20:0 protocol ip u32 match ip dst 57.0.0.0/8
flowid 20:1
-vcf
[-- Attachment #2: Card for Vitor Carlos Flausino --]
[-- Type: text/x-vcard, Size: 361 bytes --]
begin:vcard
n:Flausino;Vitor
tel;cell:+351.96 691 6079
tel;fax:+351.21 842 5534
tel;work:+351.21 842 5688
x-mozilla-html:FALSE
org:PGA-Portugalia Airlines;IT
version:2.1
email;internet:vflausino@pga.pt
title:Eng
adr;quoted-printable:;;Aeroporto de Lisboa=0D=0ARua C=3BEdf 70;Lisbon;;1749-078 Lisbon;Portugal
x-mozilla-cpt:;0
fn:Vitor Carlos Flausino
end:vcard
next prev parent reply other threads:[~2001-04-03 15:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-03 12:14 [LARTC] BandWidth Vitor Carlos Flausino
2001-04-03 15:53 ` Vitor Carlos Flausino [this message]
2001-05-18 10:20 ` [LARTC] bandwidth me here
2002-12-09 20:23 ` [LARTC] Bandwidth lartc
2002-12-09 20:46 ` David Boreham
2002-12-09 20:58 ` Morten Isaksen
2002-12-09 21:16 ` Steen Suder, privat
2002-12-09 21:47 ` Morten Isaksen
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-98631335629969@msgid-missing \
--to=vflausino@pga.pt \
--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