All of lore.kernel.org
 help / color / mirror / Atom feed
From: raz@zazone.net
To: lartc@vger.kernel.org
Subject: [LARTC] problem with tc filter
Date: Sun, 23 Nov 2003 02:38:57 +0000	[thread overview]
Message-ID: <marc-lartc-106955532609306@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105215831420329@msgid-missing>

Hi,

It seems I can't sort this thing out:

the same tc filter rule works ok when using u32 classifier with ip src
x.x.x.x   but it doesn't work when substituting src with dst... the same
exact rule....

and for patient people here is the proof:

-----------------------------
tc filter add dev eth1 parent 1: protocol ip prio 3 u32 match ip src
80.97.88.16/28 flowid 1:11

tc -s -d class show dev eth1

class htb 1:11 parent 1:1 prio 0 quantum 1000 rate 64Kbit ceil 512Kbit
burst 1680b/8 mpu 0b cburst 2254b/8 mpu 0b level 0
 Sent 1003576 bytes 5017 pkts (dropped 0, overlimits 0)
 rate 2937bps 21pps
 lended: 5012 borrowed: 5 giants: 0
 tokens: 163300 ctokens: 27588

-------------------------------------
tc filter add dev eth1 parent 1: protocol ip prio 3 u32 match ip dst
80.97.88.16/28 flowid 1:11

tc -s -d class show dev eth1

class htb 1:11 parent 1:1 prio 0 quantum 1000 rate 64Kbit ceil 512Kbit
burst 1680b/8 mpu 0b cburst 2254b/8 mpu 0b level 0
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
 lended: 0 borrowed: 0 giants: 0
 tokens: 168099 ctokens: 28187

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

  parent reply	other threads:[~2003-11-23  2:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-05 18:10 [LARTC] problem with tc filter miller69
2003-05-05 18:39 ` Stef Coene
2003-05-05 19:15 ` miller69
2003-05-05 19:20 ` Stef Coene
2003-05-05 21:04 ` miller69
2003-05-06 18:35 ` Stef Coene
2003-05-07  9:39 ` miller69
2003-05-07 16:58 ` Stef Coene
2003-11-23  2:38 ` raz [this message]
2003-11-23 10:19 ` 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-106955532609306@msgid-missing \
    --to=raz@zazone.net \
    --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.