Should I define 4K classes if I want to give 4K user each a fix bandwidth of 70kbps

Linux Advanced Routing and Traffic Control

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

 



I am having around 4K users. I have to limit each user to 70kbps
bandwidth. For this, I define 4K filters and 4K classes. Each filter
is matched to each ip of an user, and each class is configured for a
rate of 70kbps. Then I define 4K sfq qdisc mapped to each class.
It works fine. No issues.

But just that creating 4K exactly similar classes with just a
difference in classid, is a kind of time consuming. The same holds for
filters and sfq too.

Is there a simpler way of doing it?

I can't use iptables marking as I am using it for some other purpose.

Please help.

I am quite puzzled.
--
To unsubscribe from this list: send the line "unsubscribe lartc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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