[ale] tcp bandwidth throttling
James Sumners
james.sumners at gmail.com
Wed Aug 1 21:23:36 EDT 2007
See my previous reply. You can mark the packets you want limited with
iptables and reference those marks in your tc script.
On 8/1/07, Jim Popovitch <yahoo at jimpop.com> wrote:
> On Wed, 2007-08-01 at 18:49 -0400, Daniel Kahn Gillmor wrote:
> > On Wed 2007-08-01 18:21:23 -0400, Jim Popovitch wrote:
> >
> > > I've got some things that I want to restrict bandwidth for.
> > > Specifically, by port or IP, I want to limit bandwidth to a certain rate
> > > (i.e. 1Mb/s). What are my options for doing this?
> >
> > The canonical source for this stuff on a low level in Linux is the
> > Linux Advanced Routing and Traffic Control (the LARTC).
> >
> > You're probably interested in the Queueing Disciplines for Bandwidth
> > Management:
> >
> > http://lartc.org/howto/lartc.qdisc.html
>
> Thanks Daniel,
>
> Correct me if I am wrong but isn't tc based on physical interfaces as
> opposed to IP based? I have a host with several IP addrs (using
> virtual interfaces) and want to limit a handful of IPs to a certain
> volume of traffic. Can tc achieve this?
>
> -Jim P.
--
James Sumners
http://james.roomfullofmirrors.com/
"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."
Missionaria Protectiva, Text QIV (decto)
CH:D 59
More information about the Ale
mailing list