All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Limiting incoming and outgoing traffic
@ 2003-11-04 14:02 Luciano Lima
  2003-11-04 18:17 ` Stef Coene
  0 siblings, 1 reply; 2+ messages in thread
From: Luciano Lima @ 2003-11-04 14:02 UTC (permalink / raw)
  To: lartc

Hi,

I've read the wondershaper.htb script and realise that it only uses one 
device: ppp.

I have no experience with htb, but I thought that we could only shape 
outgoing traffic for an interface.
How could the script be written to limit incoming and outgoing traffic 
for the same interface ?

Thanks.

Luciano Lima


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] Limiting incoming and outgoing traffic
  2003-11-04 14:02 [LARTC] Limiting incoming and outgoing traffic Luciano Lima
@ 2003-11-04 18:17 ` Stef Coene
  0 siblings, 0 replies; 2+ messages in thread
From: Stef Coene @ 2003-11-04 18:17 UTC (permalink / raw)
  To: lartc

On Tuesday 04 November 2003 15:02, Luciano Lima wrote:
> Hi,
>
> I've read the wondershaper.htb script and realise that it only uses one
> device: ppp.
>
> I have no experience with htb, but I thought that we could only shape
> outgoing traffic for an interface.
> How could the script be written to limit incoming and outgoing traffic
> for the same interface ?
You said it right.  You can only shape outgoing traffic, but you can limit 
incoming and outgoing traffic.  So limiting is not shaping.

For instance, you can limit the incoming traffic from 1 hosts.  Only limiting.  
You can not say (at least not easy), "if there is other bandwidth left, the 
host can use all of it, but it has throttle down to 40% if there is other 
traffc.".  The latter is shaping and can only be done on outgoing traffic.

Stef

-- 
stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-04 18:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-04 14:02 [LARTC] Limiting incoming and outgoing traffic Luciano Lima
2003-11-04 18:17 ` 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.