* [LARTC] bandwidth control question.
@ 2003-03-10 14:48 Jon Lawrence
2003-03-10 14:52 ` Martin A. Brown
2003-03-10 17:36 ` Stef Coene
0 siblings, 2 replies; 3+ messages in thread
From: Jon Lawrence @ 2003-03-10 14:48 UTC (permalink / raw)
To: lartc
Hi,
I'm looking for a way to limit bandwidth to/from clients using a
contended 2Mb link. What I'm looking for is to allow a client machine to
use the full 2Mb but only if there is no traffic to/from other clients.
I've been looking at htb.init and cbq.init, and believe that the BURST
used in htb.init will allow what I need.
I'm looking to put in place something like:
------------------
| Router |
------------------
|
------------------
| Bridge |
------------------
|
------------------
| Switch |
------------------
|
Various servers
Am I right in thinking that I'll be able to use tc within the bridge ?
Regards,
Jon
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] bandwidth control question.
2003-03-10 14:48 [LARTC] bandwidth control question Jon Lawrence
@ 2003-03-10 14:52 ` Martin A. Brown
2003-03-10 17:36 ` Stef Coene
1 sibling, 0 replies; 3+ messages in thread
From: Martin A. Brown @ 2003-03-10 14:52 UTC (permalink / raw)
To: lartc
Yes,
You can use tc on a bridge. See also this thread:
http://mailman.ds9a.nl/pipermail/lartc/2003q1/007378.html
If you are just going to perform traffic control, and you don't need to
use iptables, you don't need the bridge+nf functionality.
Add your filters to the "real" devices, not br0.
-Martin
: I'm looking for a way to limit bandwidth to/from clients using a
: contended 2Mb link. What I'm looking for is to allow a client machine to
: use the full 2Mb but only if there is no traffic to/from other clients.
: I've been looking at htb.init and cbq.init, and believe that the BURST
: used in htb.init will allow what I need.
:
: I'm looking to put in place something like:
: ------------------
: | Router |
: ------------------
: |
: ------------------
: | Bridge |
: ------------------
: |
: ------------------
: | Switch |
: ------------------
: |
: Various servers
:
: Am I right in thinking that I'll be able to use tc within the bridge ?
:
: Regards,
: Jon
:
: _______________________________________________
: LARTC mailing list / LARTC@mailman.ds9a.nl
: http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
:
--
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] bandwidth control question.
2003-03-10 14:48 [LARTC] bandwidth control question Jon Lawrence
2003-03-10 14:52 ` Martin A. Brown
@ 2003-03-10 17:36 ` Stef Coene
1 sibling, 0 replies; 3+ messages in thread
From: Stef Coene @ 2003-03-10 17:36 UTC (permalink / raw)
To: lartc
On Monday 10 March 2003 15:48, Jon Lawrence wrote:
> Hi,
> I'm looking for a way to limit bandwidth to/from clients using a
> contended 2Mb link. What I'm looking for is to allow a client machine to
> use the full 2Mb but only if there is no traffic to/from other clients.
> I've been looking at htb.init and cbq.init, and believe that the BURST
> used in htb.init will allow what I need.
The burst is not what you need.
You have to create 2 htb classes. One for your limited client and one for the
other clients. You can give the limit client 10% and the other clients 90%
bandwidth. They both can use up to 100% if there is bandwidth left. So the
other clients are always sure they can use 90% of your link.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-03-10 17:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-10 14:48 [LARTC] bandwidth control question Jon Lawrence
2003-03-10 14:52 ` Martin A. Brown
2003-03-10 17:36 ` Stef Coene
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.