Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have Linux server for internet sharing . i have 6 Mbps bandwidth, Now i want set 30Kbit to 40Kbit per user bandwidth. I want configure without proxy. It is possible that tc configration will help me for set the limit for per user?

Regards

Nandan

share|improve this question
    
No - because tc doesn't know what a "user" is - but you can limit bandwidth to/from designated IP addresses. –  symcbean Aug 23 '13 at 10:32
    
to symcbean: maybe you can limit per user with the uid matching and marking pcakets based on uids. TC can then shape traffic based on the mark. –  Endre Szabo Aug 23 '13 at 10:35
    
to Endre Szabo:- If i have eth0 :172.71.23.1( internet) and eth1: 192.168.2.1 ( local) internet users, i have 254 different ip address for users. Then how can i set uid for per ip or users. –  nandan Aug 23 '13 at 11:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.