From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kristiadi Himawan" Date: Sat, 11 Oct 2003 14:28:10 +0000 Subject: [LARTC] >10Mbit on HTB MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00C5_01C3903E.920ACFA0" Message-Id: List-Id: References: In-Reply-To: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_00C5_01C3903E.920ACFA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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. ------=_NextPart_000_00C5_01C3903E.920ACFA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Below is the script:
 
tc qdisc del dev eth2 root
tc qdisc = add dev eth2=20 root handle 1 htb default 10 r2q 100
 
tc class add dev eth2 parent 1: classid = 1:2 htb=20 rate 100Mbit
 
tc class add dev eth2 parent 1:2 = classid 1:10 htb=20 rate 20Mbit ceil 20Mbit
tc filter add dev eth2 parent 1:0 protocol ip = prio=20 100 u32 match ip dst 202.xx.xxx.xx/26 classid 1:10
 
When i try to shape 20Mbit, there's = dropped packet=20 but i see the bandwidth not shaped to 20Mbit.
But when shape to 10Mbit, i see the = bandwidth down=20 to 13Mbit.
 
Any comment with this?
 
Thanks.
 
 
------=_NextPart_000_00C5_01C3903E.920ACFA0-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/