From: Omer suat <omersuat2002@yahoo.com>
To: lartc@vger.kernel.org
Subject: [LARTC] A filtering problem
Date: Tue, 23 Jul 2002 17:47:39 +0000 [thread overview]
Message-ID: <marc-lartc-102744651624920@msgid-missing> (raw)
[-- Attachment #1: Type: text/plain, Size: 1150 bytes --]
Hi,
I have the following problem.
I have followed iproute2 manual, and try to fillter incoming traffic by using u32. But it seems the filtering is not working properly, all the packets are still going default class.
# tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 cell 8
# tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 100Mbit rate 5Mbit prio 3 allot 1514 cell 8 maxburst 20 avpkt 1000 bounded
# tc class add dev eth0 parent 1:0 classid 1:2 cbq bandwidth 100Mbit rate 3Mbit prio 5 allot 1514 cell 8 maxburst 20 avpkt 1000 bounded
# tc qdisc add dev eth0 parent 1:1 tbf rate 1Mbit buffer 10Kb/8 limit 15Kb mtu 1500
# tc qdisc add dev eth0 parent 1:1 tbf rate 1Mbit buffer 10Kb/8 limit 15Kb mtu 1500
# tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip src 192.20.21.14/32 flowid 1:1
# tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip src 192.20.21.13/32 flowid 1:2
Both class 1 & 2 (1:1, 1:2) are not getting any traffic
Is there any thing am I missing.
Thanks in advance
---------------------------------
Do You Yahoo!?
Yahoo! Health - Feel better, live better
[-- Attachment #2: Type: text/html, Size: 1331 bytes --]
reply other threads:[~2002-07-23 17:47 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=marc-lartc-102744651624920@msgid-missing \
--to=omersuat2002@yahoo.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 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.