On Monday 07 April 2003 14:26, Paras pradhan wrote:> hi all
>
> i have a script but i guess it is not limiting the bandwidth. why is this
> plz let me know.
>
> i want this to limit my uplink to 64kbps...
Remove the isolated parameter and "bandwidth 10Mbit".
Corrected commands :
-----------
tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 10mbit
tc class add dev eth0 parent 1: classid 1:1 cbq rate 64kbit bandwidth 10mbit
allot 1514 prio 3 bounded
tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip dst
x.x.x.0/24 flowid 1:1
----------
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/