All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luciano Lima <luciano@elo.com.br>
To: lartc@vger.kernel.org
Subject: [LARTC] Multiple police rates
Date: Mon, 28 Jun 2004 12:05:51 +0000	[thread overview]
Message-ID: <40E0099F.3090006@elo.com.br> (raw)

Hi all,

I'd like to have multiple polices in an interface with different src 
address, like that:

tc qdisc add dev eth4 handle ffff: ingress

tc filter add dev eth4 parent ffff: protocol ip prio 5 u32 match ip src \
    192.168.18.0/24 police rate 128kbit burst 10k drop flowid :1

tc filter add dev eth4 parent ffff: protocol ip prio 5 u32 match ip src \
    192.168.36.0/24 police rate 128kbit burst 10k drop flowid :1

In this case, only the last police filter is taking effect. Why ? Isn't 
it possible ?

Thanks a lot,

Luciano Lima.

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

                 reply	other threads:[~2004-06-28 12:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=40E0099F.3090006@elo.com.br \
    --to=luciano@elo.com.br \
    --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.