TBF algorithm/usage

Linux Advanced Routing and Traffic Control

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

 



Hello everyone,
I have a (mini) Linux router, which goes "out" through eth0; eth0 is
capable of almost 2Mbit of bandwith (well, actually it's like 10Mbit,
but you wouldn't care less). Now, say I want to limit _everything_, like
in every connection. So naturally, after carefully reading the man pages
and that excellent HOWTO, I resort to TBF. I fiddle a lit with this, but
after a couple of hours of intense experimentation, I find that it
doesn't do what I really want it to.
Specifically, I want _every_ connection to use _at most_ (say) 16kbps, never 
more, even if there is some bandwidth to borrow from. But TBF doesn't
seem to do just that (or I don't understand its inner working, which I
kinda don't). And what does burst mean/do? tc-tbf(8) says that I would
never need to modify this, but tc qdisc add ... root tbf always requires
it.
Thanks in advance.

-- 
Radu-Mihail Obada

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
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