* [LARTC] bounded doesn't work
@ 2001-10-04 9:17 Fabian Gervan
0 siblings, 0 replies; only message in thread
From: Fabian Gervan @ 2001-10-04 9:17 UTC (permalink / raw)
To: lartc
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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-10-04 9:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-04 9:17 [LARTC] bounded doesn't work Fabian Gervan
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.