traffic shapping on centos/redhat
Dear all linux guru,
need your guys help really bad.
this i my first post.
and i need help regarding traffic shapping to my web server.
so basicly i can't do this straight to my production server(redhat)
so i build my staging server on my vmware(centos)
what i want to achieve is:
ip range A (which may more than 1 range) limit max bandwidth to 1M
ip range B (which may more than 1 range) limit max bandwidth to 2M
i manage to limit the whole network interface for ip range A to max 1M using tc, but when it accessed by more than 1 user, the speed will be divided, which is wrong.
do you guys have any pointer with iptables?
i tried with mod_bandwidth -> no luck
please please please help me
thanks a lot!!!!
|