Hi,
I am using vcmp and running v11.5.0 and going to use an iRule to limit the bandwidth per IP. I want to limit 1Mbps for each IP. When I test it by downloading a file from “192.168.10.24” and “192.168.10.100” simultaneously from the HTTP server in LAN, it seems that it does not work as expected because I find the total download speed is around 1Mbps. I have already configured to use Source Address in CMP hash. My iRule and BWC policy are below:
when CLIENT_ACCEPTED {
set ClientIP [IP::client_addr]
if {$ClientIP equals “192.168.10.24” or $ClientIP equals “192.168.10.100”} { BWC::policy attach BWC_user1_per_IP } }
root@(test)(cfg-sync Standalone)(/S1-green-P:ModuleNotLicensed:Active)(/Common)(tmos) list net bwc-policy BWC_user1_per_IP net bwc-policy BWC_user1_per_IP { max-rate 1mbps }
Is there anything wrong with my setting or the iRule? Thanks in advance.