From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] help, a children can not borrow from a parent?
Date: Mon, 21 Oct 2002 13:26:12 +0000 [thread overview]
Message-ID: <marc-lartc-103520685503768@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103517211909423@msgid-missing>
On Monday 21 October 2002 05:44, lihpc@Legend.com wrote:
> Hi ;
>
> MY script:
>
> tc-htb3 qdisc del dev eth2 root
> ipchains -F
>
> tc-htb3 qdisc add dev eth2 root handle 10: htb default 20 r2q 40
>
> tc-htb3 class add dev eth2 parent 10: classid 10:1 htb rate 50Mbit burst
> 2000
>
> tc-htb3 class add dev eth2 parent 10:1 classid 10:100 htb rate 12mbit ceil
> 50mbit prio 1
> tc-htb3 class add dev eth2 parent 10:1 classid 10:20 htb rate 38mbit ceil
> 50Mbit prio 8
>
> ipchains -A fw -s 10.1.1.1 -m 100
> ipchains -A fw -s 0.0.0.0 -d 0.0.0.0 -j ACCEPT
>
> tc-htb3 filter add dev eth2 protocol ip parent 10:0 prio 1 handle 100 fw
> classid 10:100
>
> WHEN i send packets at 20mbit from 10.1.1.1 ,
> #tc -s -d qdisc show dev eth2
> qdisc htb 10:
> Sent 246602122 bytes 487287 pkts (dropped 323938, overlimits 1850710)
>
> #tc -s -d class show dev eth2
> class htb 10:1 root prio 0 rate 50Mbit ceil 50Mbit burst 1985b/8 mpu 0b
> cburst 67121b/8 mpu 0b quantum 0 level 7
> Sent 246602122 bytes 487287 pkts (dropped 0, overlimits 0)
> rate 8bps
>
> class htb 10:100 parent 10:1 prio 1 rate 12Mbit ceil 50Mbit burst 17325b/8
> mpu 0b cburst 67121b/8 mpu 0b quantum 39321 level 0
> Sent 246552164 bytes 486503 pkts (dropped 323938, overlimits 0)
>
> class htb 10:20 parent 10:1 prio 1 rate 38Mbit ceil 50Mbit burst 51396b/8
> mpu 0b cburst 67121b/8 mpu 0b quantum 124518 level 0
> Sent 49958 bytes 784 pkts (dropped 0, overlimits 0)
> rate 8bps
>
>
> a class 10:100 can not borrow from a parent 10:0 ,WHY?
How do you come to that conclustion ?????
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/
prev parent reply other threads:[~2002-10-21 13:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-21 3:44 [LARTC] help, a children can not borrow from a parent? lihpc
2002-10-21 13:26 ` 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-103520685503768@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox