From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabian Gervan Date: Thu, 04 Oct 2001 09:17:48 +0000 Subject: [LARTC] bounded doesn't work Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hello i have this setup, and the class of 80kbit (bounded) doesn't work: tc class add dev eth0 parent 10:1 classid 10:100 cbq bandwidth 100Mbit rate 80kbit allot 1514 weight 8Kbit prio 5 maxburst 12 avpkt 1000 bounded tc class add dev eth0 parent 10:100 classid 10:101 cbq bandwidth 100Mbit \ rate 40kbit allot 1514 weight 4Kbit prio 4 maxburst 6 avpkt 1000 borrow bounded tc class add dev eth0 parent 10:100 classid 10:102 cbq bandwidth 100Mbit \ rate 40kbit allot 1514 weight 4Kbit prio 5 maxburst 6 avpkt 1000 borrow bounded tc class add dev eth0 parent 10:100 classid 10:103 cbq bandwidth 100Mbit \ rate 40kbit allot 1514 weight 4Kbit prio 5 maxburst 6 avpkt 1000 borrow bounded tc qdisc add dev eth0 parent 10:100 sfq quantum 1514b perturb 15 tc qdisc add dev eth0 parent 10:101 sfq quantum 1514b perturb 15 tc qdisc add dev eth0 parent 10:102 sfq quantum 1514b perturb 15 tc qdisc add dev eth0 parent 10:103 sfq quantum 1514b perturb 15 tc filter add dev eth0 parent 10:0 protocol ip prio 25 u32 match ip dst 192.168.1.2/32 flowid 10:101 tc filter add dev eth0 parent 10:0 protocol ip prio 25 u32 match ip dst 192.168.1.3/32 flowid 10:102 tc filter add dev eth0 parent 10:0 protocol ip prio 25 u32 match ip dst 192.168.1.4/32 flowid 10:103 what is the problem? I want to limit the class 10:100 to only 80kbit but when all curstomers (3) download at the same time (40 kbit) it the 10:100 class exceed 80kbit. In this example i put only 3 customer but i think to put 10, each customer bounded at 40 kbit. Regards Fabian -- Saludos, Fabian Gervan _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/