[ovs-discuss] Rate limiting on patch ports

Janis Hamme janis.hamme at student.kit.edu
Thu Feb 16 02:53:40 UTC 2012

Thanks Aaron, thats working!

Might be helpful for some:

ip link add type veth
tc qdisk add dev veth0 root tbf rate 10mbit buffer 10kb latency 50ms
tc qdisk add dev veth1 root tbf rate 10mbit buffer 10kb latency 50ms
ip link set veth0 up
ip link set veth1 up
ovs-vsctl add-port br0 veth0
ovs-vsctl add-port br1 veth1

This will provide you a link between br0 and br1 limited at 10mbit.

Am 16.02.2012 02:59, schrieb Aaron Rosen:
> Hi Janis,
> I don't think you can do this with patch ports, but I've been able to
> do this in OVS using veth.
> Aaron
> On Wed, Feb 15, 2012 at 8:29 PM, Janis Hamme
> <janis.hamme at student.kit.edu> wrote:
>> Hi,
>> I connected br0 and br1 using a patch port. I tried to limit the rate on
>> the link between br0 and br1 using this guide:
>> http://openvswitch.org/support/config-cookbooks/qos-rate-limiting/
>> While its working well with normal ports it doesn't seem to have any
>> impact on patch ports. Is that a bug or is it not possible to limit the
>> rate of patch ports?
>> I'd like to implement an experimental load balancer using openflow that
>> uses multiple paths in a switched network. If i can't make any
>> constraints on the link rate between switches that would be quite
>> pointless ...
>> Any suggestions how to achieve that?
>> _______________________________________________
>> discuss mailing list
>> discuss at openvswitch.org
>> http://openvswitch.org/mailman/listinfo/discuss

More information about the discuss mailing list