From: "Khaled Eshah" <khaleds@LTTNET.NET>
To: lartc@vger.kernel.org
Subject: [LARTC] CBQ
Date: Sat, 07 Jul 2001 12:00:09 +0000 [thread overview]
Message-ID: <marc-lartc-99450741232341@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98765487403669@msgid-missing>
Hi
Here is our problem :
______________
eth1 | | eth0
INTERNET--------| LINUX router |---------- LAN
|______________|
we want to allow our LAN users to use only 128Kbit (16KB/s) of our total bandwidth.
I'm using these rules to do that :
tc qdisc add dev eth0 root handle 10: cbq bandwidth 10Mbit avpkt 1000
tc class add dev eth0 parent 10:0 classid 10:200 cbq bandwidth 10Mbit rate 128Kbit allot 1514 weight 12Kbit prio 5 maxburst 20 avpkt 1000 bounded
tc qdisc add dev eth0 parent 10:200 sfq quantum 1514b perturb 15
tc filter add dev eth0 parent 10:0 rotocol ip prio 3 u32 match ip dst 192.168.1.0/24 flowid 10:200
but when I'm teting these rules by downloading some files to our LAN, The traffic always begins with a high traffic ~100KB/s for several seconds then the traffic dropped to the desired level 16KB/s
I also notice when I'm doing several ftp's the traffic exceeded the desired level by a liitle KB/s
How can resolve this ?
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
next prev parent reply other threads:[~2001-07-07 12:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-19 4:32 [LARTC] CBQ Tzeh Yeu Leang
2001-06-29 12:41 ` Luiz C. Spies
2001-06-29 13:51 ` Wingtung.Leung
2001-06-30 11:46 ` Wingtung.Leung
2001-07-07 12:00 ` Khaled Eshah [this message]
2001-12-06 14:36 ` Alexandre M. Mello
2001-12-06 14:46 ` bert hubert
2003-01-17 9:11 ` Netrepreneurs
2003-01-18 14:04 ` Stef Coene
2003-09-21 11:08 ` [LARTC] cbq Paras pradhan
2003-09-22 18:22 ` Stef Coene
2004-10-01 12:35 ` James Lista
2004-10-01 12:54 ` Marcin Sura
2004-10-01 23:15 ` zytek
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-99450741232341@msgid-missing \
--to=khaleds@lttnet.net \
--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.