[LARTC] cbq scrpit

Linux Advanced Routing and Traffic Control

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

 



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...



-----------

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 allot 1514
prio 3 bounded isolated

tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip dst
x.x.x.0/24 flowid 1:1

----------


Thanks
Paras pradhan
Systems Dept.
Bajranet PVT LTD
Kathmandu
Nepal.




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