Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?



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 : internet) and eth1: ( 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


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

Browse other questions tagged or ask your own question.