Re: [LARTC] cbq scrpit

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux