[Netkit.users] Bandwidth limiting

ZioPRoTo (Saverio Proto) zioproto at gmail.com
Thu Nov 4 16:28:51 CET 2010

Let's say you want to limit 1Mbit, use this:

tc qdisc add dev eth0 root handle 1: htb default 1
tc class add dev eth0 parent 1: classid 1:1 htb rate 1Mbit ceil 1Mbit
tc qdisc add dev eth0 parent 1:1 handle 2: pfifo limit 10

make sure you use "orig-tc" and not "tc"


2010/11/4 Emanuele Colombo <lele.colombo86 a gmail.com>:
> Hi, I'm trying to limit bandwidth of links between virtual machines in
> netkit. I tried wondershape but gives me an error with cbq. Did anybody try
> something similar? Thank you for your help.
> Regards,
> emanuele
> _______________________________________________
> Netkit.users mailing list
> Netkit.users a list.dia.uniroma3.it
> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users

More information about the Netkit.users mailing list