public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Anders Peter Fugmann <afu@fugmann.dhs.org>
To: DervishD <raul@pleyades.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Bandwidth 'depredation' revisited
Date: Tue, 11 Jun 2002 20:25:55 +0200	[thread overview]
Message-ID: <3D0640B3.8090308@fugmann.dhs.org> (raw)
In-Reply-To: <3D05EEAF.mailZE11URHZ@viadomus.com> <3D060FF6.5000409@fugmann.dhs.org> <3D0630D1.mail1QU4CMT6K@viadomus.com>

DervishD wrote:
>     Hi Anders :)
> 
>>tc qdisc add dev eth0 handle ffff: ingress
>>tc filter add dev etc0 parent ffff: protocol ip prio 50 u32 \
>>        match ip src 0.0.0.0/0 police \
>>        rate 232kbit burst 10k drop flowid :1
 >
> OK. Maybe a stupid question: will I need to mark the packages
> with iptables in order to get them thru de ingress scheduler :?
>
No. You can, but dont need to. The above lines match anything comming from eth0, and
shapes it to 232kbit. Tweak the value to suit your needs.

Anders Fugmann






  reply	other threads:[~2002-06-11 18:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-11 12:35 Bandwidth 'depredation' revisited DervishD
2002-06-11 14:57 ` Anders Fugmann
2002-06-11 17:18   ` DervishD
2002-06-11 18:25     ` Anders Peter Fugmann [this message]
2002-06-11 20:20   ` Marius Gedminas
2002-06-11 20:59   ` Allan Sandfeld Jensen
2002-06-14  3:35   ` Albert D. Cahalan
2002-06-14  9:16     ` Anders Peter Fugmann
2002-06-14  9:17   ` lkml

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=3D0640B3.8090308@fugmann.dhs.org \
    --to=afu@fugmann.dhs.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=raul@pleyades.net \
    /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