shape outgoing/upload traffic PER-IP.

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
 

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux