From: choros <jorge@inway.cz>
To: lartc@vger.kernel.org
Subject: [LARTC] htb + tc filter
Date: Wed, 28 Sep 2005 13:30:12 +0000 [thread overview]
Message-ID: <433A9AE4.6000706@inway.cz> (raw)
Hi everybody,
i am new to this list so dont blame me if i will talk about nothing..
At this moment i am experimenting with htb + tc u32 filters , the
problem is that
i want some traffic to be unshaped so i did this..
tc qdisc add dev eth0 root handle 10: htb default 20
tc class add dev eth0 parent 10: classid 10:2 htb rate 256Kbit
THIS IS TRAFFIC I WANT NOT TO BE SHAPED
tc filter add dev eth0 parent 10: protocol ip prio 1 u32 \
match ip sport 8764 0xffff match ip dst 213.151.70.42 match ip src
213.151.64.80 flowid 10:1
tc filter add dev eth0 parent 10: protocol ip prio 1 u32 \
match ip sport 123 0xffff match ip dst 212.24.132.2 match ip src
213.151.64.80 flowid 10:1
EVERYTHING ELSE TO CLASS 10:2
tc filter add dev eth0 parent 10: protocol ip prio 1 u32 match ip dst
0.0.0.0/0 flowid 10:2
the last filter should pass all traffic whitch dont pass the filters to
class 10:2 but this is not the case.
If i do some network bandwidth testing with netperf to other host then
stated the traffic is still unshaped.
Have some idea what i have wrong?
thanks
Jorge Sanchez
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next reply other threads:[~2005-09-28 13:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-28 13:30 choros [this message]
2005-09-28 14:01 ` [LARTC] htb + tc filter Andreas Klauer
2005-09-28 14:20 ` choros
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=433A9AE4.6000706@inway.cz \
--to=jorge@inway.cz \
--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.