All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jose Celestino <japc@co.sapo.pt>
To: lartc@vger.kernel.org
Subject: [LARTC] Shapping
Date: Tue, 26 Aug 2003 10:24:50 +0000	[thread overview]
Message-ID: <marc-lartc-106189398828896@msgid-missing> (raw)

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/

             reply	other threads:[~2003-08-26 10:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-26 10:24 Jose Celestino [this message]
2003-08-26 17:17 ` [LARTC] Shapping Stef Coene

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-106189398828896@msgid-missing \
    --to=japc@co.sapo.pt \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.