All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Shapping
@ 2003-08-26 10:24 Jose Celestino
  2003-08-26 17:17 ` Stef Coene
  0 siblings, 1 reply; 2+ messages in thread
From: Jose Celestino @ 2003-08-26 10:24 UTC (permalink / raw)
  To: lartc

Hi.

Is it possible to do shapping with on demand VCs with HTB? I mean, is it
possible to create a pair, without human intervention, for every
connection IP 1.2.3.4:

tc class add dev eth0 parent 1:1 classid 1:11 htb rate 5kbps ceil 10kbps
tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip dtp 1.2.3.4 flowid 1:11

What I'm trying to achieve is to limit the download to a determined rate
on every connection, the application doesn't support it so I need to it
this way (without spending tons of $$$ on a comercial shapper).

-- 
Jose Celestino | http://xpto.org/~japc/files/japc-pgpkey.asc
----------------------------------------------------------------
"Lately, the only thing keeping me from becoming a serial killer is
my distaste for manual labor."        -- Dilbert
_______________________________________________
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-08-26 17:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-26 10:24 [LARTC] Shapping Jose Celestino
2003-08-26 17: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.