[LARTC] Simple example of bandwidth management

Linux Advanced Routing and Traffic Control

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

 



> tc qdisc del dev eth0 root handle 1:0 cbq bandwidth 33600bps avpkt 1000
tc qdisc del dev eth0 root will also work

> tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 33600bps avpkt 1000
>
> tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 33600bps rat=
e
> 10000bps allot 1514 maxburst 20 avpkt 1000 prio 3
>
> tc filter add dev eth0 protocol ip parent 1:0 prio 1 handle 1 fw classi=
d
> 1:1 ********************************************************
>
> My problem is that I cannot see any bandwidth reduction, I download fro=
m
> 10.0.0.33 to 10.0.0.34 with same speed as before (normal ethernet speed=
).
> Maybe there exists some file under /proc fs to modify?
Bandwidth in each command =3D ethernet bandwidth.
And make the class bounded if you want to bound it :)

Stef

--=20

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net


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