On Tue, Mar 10, 2015 at 11:05:12AM +0530, Navneet Singh wrote:
> I am trying to control upload speed using openvswitch on eth1 port using
> commands like
> 
> 
> > =>ovs-vsctl set port eth1 qos=@newqos -- --id=@newqos create qos
> > type=linux-htb queues=0=@q0,1=@q1 -- --id=@q0 create queue
> > other-config:min-rate=2000000 other-config:max-rate=2000000 -- --id=@q1
> > create queue other-config:min-rate=3000000 other-config:max-rate=3000000
> 
> 
> WAN is provided to eth0 port and forwarded to br0 through iptables and NAT.
> I am able to achieve rate limiting on downloading but not on uploading.

qdiscs only control the rate of data transmission, not reception.  You
might want to use policing, please see ovs-vswitchd.conf.db(5) for
configuration details.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to