does anyone know a way to shape outgoing/upload
traffic per ip?
I have a network and i want to limit the
upload with 100kbit per user. Ex:
192.168.1.20 ----> 1024kbit-DOWN /
100kbit-UP
192.168.1.21 ----> 1024kbit-DOWN /
100kbit-UP
and so on.......
Ive tried CBQ and HTB, but couldnt get is right.
the only thing that I did in upload bases was:
"tc qdisc add dev ppp0 root tbf rate 220kbit latency 50ms
burst 1540"
witch is for the whole interface. not for a simple
IP.
Thanks a lot.
Cristiano Soares
|