Ingress rate limit for openflow switch

 

[Test Environment]

  This may not work in older version of mininet and openvswitch enviroment. The following test was undertaken under SDNhub VM. The version of Open vSwitch is 2.3.0 with support for Openflow 1.2, 1.3 and 1.4.

 

[Test]

1. create a simple test environment. H1----S1---H2.  (Without rate limit)

 

 

2. open two xterm windows for h1 and h2.

 

3. Run iperf server on H2 and iperf client on H1.

 

4. Set the rate limit on S1-eth1 interface. Rate Limit is set to 1Mbps.

 

5. Run iperf again.

From above figure, we can see that the rate is limited to 1Mbps.

 

Reference:

http://openvswitch.org/support/config-cookbooks/qos-rate-limiting/

 

Dr. Chih-Heng Ke

Department of Computer Science and Information Engineering, National Quemoy University, Kinmen, Taiwan

Email: smallko@gmail.com