Re: tncg and bandwidth limiting

Linux Advanced Routing and Traffic Control

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

 




On Tue, 27 Jan 2004, Scott Baker wrote:

> I'm curious if some of the other experts out there wouldn't have a "better"
> way to do what I'm doing. I'd like to do HTB ingress as well, but it
> complains that the the ingress qdisc doesn't allow inside classes or
> something like that. I think this will work for me, I just want to make
> sure this is the best way to do things.

You don't need classes if you just want to shape traffic to a specific
rate. Use a classless qdisc like tbf:

tbf (mtu 1.5kB,limit 10kB,rate 1kBps,burst 2kB) {
    fifo;
}


Rubens


_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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