Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Timo Benk <timo.benk@gmx.de>
To: lartc@vger.kernel.org
Subject: [LARTC] ingress qdisc problem
Date: Sat, 03 Feb 2007 15:07:27 +0000	[thread overview]
Message-ID: <45C4A52F.5070208@gmx.de> (raw)

Hello,

i try to limit the incoming traffic rate using the ingress qdisc, but
it does not work for me.

Here is what i have done:

# sudo tc qdisc add dev eth1 ingress
# tc filter add dev eth1 parent ffff:0  protocol ip prio 1 u32 match ip dst 172.17.0.101/32 police rate 10kbit buffer 10k drop

The ingress qdisc is there:

# tc -s qdisc show dev eth1
qdisc pfifo_fast 0: bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
 Sent 165366 bytes 2142 pkt (dropped 0, overlimits 0 requeues 0)
 rate 0bit 0pps backlog 0b 0p requeues 0
qdisc ingress ffff: ----------------
 Sent 5125378 bytes 3554 pkt (dropped 0, overlimits 0 requeues 0)
 rate 0bit 0pps backlog 0b 0p requeues 0

But i cannot see any filter:

# tc -s filter show dev eth1

The traffic is not limit.

Anyone here who can point me in the right direction what i have done?

Greetings,
-timo
-- 
Timo Benk - Jabber ID: fry@downtempo.de - ICQ ID: #414944731
PGP Public Key: http://m28s01.vlinux.de/timo_benk_gpg_key.asc

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

                 reply	other threads:[~2007-02-03 15:07 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=45C4A52F.5070208@gmx.de \
    --to=timo.benk@gmx.de \
    --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