All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Kristiadi Himawan" <kristiadi_himawan@dtp.net.id>
To: lartc@vger.kernel.org
Subject: [LARTC] >10Mbit on HTB
Date: Sat, 11 Oct 2003 14:28:10 +0000	[thread overview]
Message-ID: <marc-lartc-106588181608631@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106587640905279@msgid-missing>

[-- Attachment #1: Type: text/plain, Size: 560 bytes --]

Below is the script:

tc qdisc del dev eth2 root
tc qdisc add dev eth2 root handle 1 htb default 10 r2q 100

tc class add dev eth2 parent 1: classid 1:2 htb rate 100Mbit

tc class add dev eth2 parent 1:2 classid 1:10 htb rate 20Mbit ceil 20Mbit
tc filter add dev eth2 parent 1:0 protocol ip prio 100 u32 match ip dst 202.xx.xxx.xx/26 classid 1:10

When i try to shape 20Mbit, there's dropped packet but i see the bandwidth not shaped to 20Mbit.
But when shape to 10Mbit, i see the bandwidth down to 13Mbit.

Any comment with this?

Thanks.



[-- Attachment #2: Type: text/html, Size: 1384 bytes --]

  reply	other threads:[~2003-10-11 14:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-11 12:46 [LARTC] >10Mbit on HTB Kristiadi Himawan
2003-10-11 14:28 ` Kristiadi Himawan [this message]
2003-10-11 15:51 ` Jose Luis Domingo Lopez
2003-10-11 15:57 ` Jose Luis Domingo Lopez
2003-10-13  5:16 ` Catalin BOIE
2003-10-13  6:07 ` Rio Martin
2003-10-13 14:17 ` Kristiadi Himawan
2003-10-13 18:51 ` Stef Coene
2003-10-14  3:59 ` Rio Martin
2003-10-14 18:25 ` Stef Coene
2003-10-15  3:42 ` Rio Martin
2003-10-15 18:44 ` 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-106588181608631@msgid-missing \
    --to=kristiadi_himawan@dtp.net.id \
    --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.