Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: George Alexandru Dragoi <waruiinu@gmail.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] shaping marked packets
Date: Wed, 28 Jul 2004 03:15:54 +0000	[thread overview]
Message-ID: <3063e5040727201531753d00@mail.gmail.com> (raw)
In-Reply-To: <marc-lartc-103558480315330@msgid-missing>

tc qdisc del dev ethx root
tc qdisc add dev ethx root handle 1: htb
tc class add dev ethx parent 1: classid 1:1 htb rate 30kbps
tc filter add dev ethx parent 1:  prio 0 protocol ip handle 1 fw flowid 1:1

On Tue, 27 Jul 2004 20:07:37 -0400, nix4me <nix4me@cfl.rr.com> wrote:
> Hi,
> 
> I am trying to figure out how to shape the following marked packets and
> limit them to a speed on 30KBytes.  I have read the documentation but I
> am unsue of what to do.
> 
> iptables -t mangle -A FTP-OUT -p tcp --dport 50000:51000 -j MARK
> --set-mark 1
> 
> Mark
> 
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      parent reply	other threads:[~2004-07-28  3:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-25 22:25 [LARTC] shaping marked packets Axel Loewe
2002-10-26  8:19 ` Stef Coene
2004-07-28  0:07 ` nix4me
2004-07-28  3:15 ` George Alexandru Dragoi [this message]

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=3063e5040727201531753d00@mail.gmail.com \
    --to=waruiinu@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox